@@ -84,9 +84,10 @@ Radius is an optional parameter and the default is 0.2 degrees.
84
84
Optional parameters must be labeled. For example the query above will produce
85
85
an error if the "radius" field is not specified.
86
86
87
- .. doctest-skip ::
87
+ .. doctest-remote-data ::
88
88
89
89
>>> obs_table = Observations.query_object(" M8" ," .02 deg" )
90
+ ...
90
91
TypeError: query_object_async() takes 2 positional arguments but 3 were given
91
92
92
93
@@ -222,9 +223,10 @@ The `~astroquery.mast.ObservationsClass.get_metadata` function only accepts the
222
223
"observations" or "products" as a parameter. Any other string or spelling will result
223
224
in an error.
224
225
225
- .. doctest-skip ::
226
+ .. doctest-remote-data ::
226
227
227
228
>>> meta_table = Observations.get_metadata(" observation" )
229
+ ...
228
230
InvalidQueryError: Unknown query type.
229
231
230
232
@@ -412,14 +414,16 @@ The `~astroquery.mast.ObservationsClass.download_file` and `~astroquery.mast.Obs
412
414
methods are not interchangeable. Using the incorrect method for either single files or product lists will result
413
415
in an error.
414
416
415
- .. doctest-skip ::
417
+ .. doctest-remote-data ::
416
418
417
419
>>> result = Observations.download_products(product) # doctest: +IGNORE_OUTPUT
420
+ ...
418
421
RemoteServiceError: Error converting data type varchar to bigint.
419
422
420
- .. doctest-skip ::
423
+ .. doctest-remote-data ::
421
424
422
425
>>> result = Observations.download_file(data_products)
426
+ ...
423
427
TypeError: can only concatenate str (not "Table") to str
424
428
425
429
@@ -693,9 +697,10 @@ requires a sky position with a right ascension (RA) between 0 and 360 degrees an
693
697
a declination between -90 and 90 degrees. Any values outside of this range will
694
698
result in an error.
695
699
696
- .. doctest-skip ::
700
+ .. doctest-remote-data ::
697
701
698
702
>>> catalog_data = Catalogs.query_object(" -158.47924 -7.30962" , catalog = " Galex" )
703
+ ...
699
704
ResolverError: Could not resolve -158.47924 -7.30962 to a sky position.
700
705
701
706
@@ -917,9 +922,10 @@ Given an HSC Match ID, return all catalog results.
917
922
"MatchID" is case sensitive in this case, and will produce an error with different
918
923
capitalization.
919
924
920
- .. doctest-skip ::
925
+ .. doctest-remote-data ::
921
926
922
927
>>> matchid = catalog_data[0 ][" matchid" ]
928
+ ...
923
929
KeyError: 'matchid'
924
930
925
931
HSC spectra accessed through this class as well. `~astroquery.mast.CatalogsClass.get_hsc_spectra `
@@ -1028,9 +1034,10 @@ not explicitly called for TICA.
1028
1034
1029
1035
The SkyCoord constructor requires the 'unit' parameter. Unspecified units will result in an error.
1030
1036
1031
- .. doctest-skip ::
1037
+ .. doctest-remote-data ::
1032
1038
1033
1039
>>> cutout_coord = SkyCoord(107.18696 , - 70.50919 )
1040
+ ...
1034
1041
UnitTypeError: Longitude instances require units equivalent to 'rad', but no unit was given.
1035
1042
1036
1043
For users with time-sensitive targets who would like cutouts from the latest observations,
0 commit comments