Skip to content

Commit cc640dd

Browse files
mstcyr2bsipocz
authored andcommitted
Small fixes
1 parent 1cd8097 commit cc640dd

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

docs/mast/mast.rst

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ parameters will result in an error.
854854

855855
>>> from astroquery.mast import Catalogs
856856
...
857-
>>> catalog_data = Catalogs.query_criteria(catalog="Ctl",
857+
>>> catalog_data = Catalogs.query_criteria(catalog="Tic",
858858
... objectname='M101', radius=1)
859859
...
860860
InvalidQueryError: At least one non-positional criterion must be supplied.
@@ -922,14 +922,6 @@ Given an HSC Match ID, return all catalog results.
922922
410574498 63980492 ... -1.10056e-005 1.56577e-009 1.56577e-009 1.10056e-005
923923
410574497 63980492 ... -1.10056e-005 1.56577e-009 1.56577e-009 1.10056e-005
924924

925-
"MatchID" is case sensitive in this case, and will produce an error with different
926-
capitalization.
927-
928-
.. doctest-remote-data::
929-
930-
>>> matchid = catalog_data[0]["matchid"]
931-
...
932-
KeyError: 'matchid'
933925

934926
HSC spectra accessed through this class as well. `~astroquery.mast.CatalogsClass.get_hsc_spectra`
935927
does not take any arguments, and simply loads all HSC spectra.
@@ -1450,9 +1442,9 @@ The basic MAST query function returns query results as an `~astropy.table.Table`
14501442
Length = 77 rows
14511443

14521444

1453-
Many mast services, specifically JWST and Catalog services, require the two principal keywords, columns and filters,
1445+
Many mast services, specifically JWST and Catalog services, require the two principal keywords, 'columns' and 'filters',
14541446
to list parameters. Positional services will also require right ascension and declination parameters, either in
1455-
addition to columns and filters or on their own. For example, the Cone search service only requires the 'ra' and
1447+
addition to columns and filters or on their own. For example, the cone search service only requires the 'ra' and
14561448
'dec' parameters. Using the wrong service parameters will result in an error. Read the
14571449
`MAST API services documentation <https://mast.stsci.edu/api/v0/_services.html>`__ for more information on valid
14581450
service parameters.

0 commit comments

Comments
 (0)