We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6f0290 commit 5780b99Copy full SHA for 5780b99
astroquery/mast/tests/test_mast_remote.py
@@ -691,6 +691,17 @@ def test_catalogs_query_criteria(self):
691
assert isinstance(result, Table)
692
assert 'PSO J254.2861-04.1091' in result['objName']
693
694
+ result = mast.Catalogs.query_criteria(coordinates="158.47924 -7.30962",
695
+ radius=0.01,
696
+ catalog="PANSTARRS",
697
+ table="mean",
698
+ data_release="dr2",
699
+ nStackDetections=[("gte", "1")],
700
+ columns=["objName", "distance"],
701
+ sort_by=[("asc", "distance")])
702
+ assert isinstance(result, Table)
703
+ assert result['distance'][0] <= result['distance'][1]
704
+
705
def test_catalogs_query_hsc_matchid_async(self):
706
catalogData = mast.Catalogs.query_object("M10",
707
radius=.001,
0 commit comments