@@ -692,18 +692,6 @@ If no catalog is specified, the Hubble Source Catalog will be queried.
692
692
1.7524423152919317 6382034098672634846 AIS ... -- 0
693
693
694
694
695
- The `~astroquery.mast.CatalogsClass.query_object ` method for positional queries
696
- requires a sky position with a right ascension (RA) between 0 and 360 degrees and
697
- a declination between -90 and 90 degrees. Any values outside of this range will
698
- result in an error.
699
-
700
- .. doctest-remote-data ::
701
-
702
- >>> catalog_data = Catalogs.query_object(" -158.47924 -7.30962" , catalog = " Galex" )
703
- ...
704
- ResolverError: Could not resolve -158.47924 -7.30962 to a sky position.
705
-
706
-
707
695
Some catalogs have a maximum number of results they will return.
708
696
If a query results in this maximum number of results a warning will be displayed to alert
709
697
the user that they might be getting a subset of the true result set.
@@ -857,6 +845,21 @@ The TESS Input Catalog (TIC), Disk Detective Catalog, and PanSTARRS Catalog can
857
845
J170314.11-035210.4 ... https://talk.diskdetective.org/#/subjects/AWI0005ckv
858
846
859
847
848
+ The `~astroquery.mast.CatalogsClass.query_criteria ` function requires at least one non-positional parameter.
849
+ These parameters are the column names listed in the `field descriptions <https://mast.stsci.edu/api/v0/pages.html >`__
850
+ of the catalog being queried. They do not include objectname, coordinates, or radius. Running a query with only positional
851
+ parameters will result in an error.
852
+
853
+ .. doctest-remote-data ::
854
+
855
+ >>> from astroquery.mast import Catalogs
856
+ ...
857
+ >>> catalog_data = Catalogs.query_criteria(catalog = " Ctl" ,
858
+ ... objectname= ' M101' , radius= 1 )
859
+ ...
860
+ InvalidQueryError: At least one non-positional criterion must be supplied.
861
+
862
+
860
863
The PanSTARRS catalog also accepts additional parameters to allow for query refinement. These options include column selection,
861
864
sorting, column criteria, page size and page number. Additional information on PanSTARRS queries may be found
862
865
`here <https://catalogs.mast.stsci.edu/docs/panstarrs.html >`__.
@@ -1032,13 +1035,6 @@ not explicitly called for TICA.
1032
1035
1 PIXELS 1 BinTableHDU 280 1196R x 12C [D, E, J, 25J, 25E, 25E, 25E, 25E, J, E, E, 38A]
1033
1036
2 APERTURE 1 ImageHDU 81 (5, 5) int32
1034
1037
1035
- The SkyCoord constructor requires the 'unit' parameter. Unspecified units will result in an error.
1036
-
1037
- .. doctest-remote-data ::
1038
-
1039
- >>> cutout_coord = SkyCoord(107.18696 , - 70.50919 )
1040
- ...
1041
- UnitTypeError: Longitude instances require units equivalent to 'rad', but no unit was given.
1042
1038
1043
1039
For users with time-sensitive targets who would like cutouts from the latest observations,
1044
1040
we recommend requesting for the TICA product. Using the same target from the example above,
0 commit comments