Skip to content

Commit 4e3a93f

Browse files
mstcyr2bsipocz
authored andcommitted
Cutout error example
1 parent eb166f5 commit 4e3a93f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/mast/mast.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,16 +1093,15 @@ simply with either the objectname or coordinates.
10931093
2 APERTURE 1 ImageHDU 97 (2136, 2078) int32
10941094

10951095
Note that the moving targets functionality does not currently support TICA, so the product
1096-
parameter will always default to SPOC.
1096+
parameter will result in an error when set to 'TICA'.
10971097

10981098
.. doctest-remote-data::
10991099

11001100
>>> from astroquery.mast import Tesscut
11011101
...
11021102
>>> hdulist = Tesscut.get_cutouts(objectname="Eleonora", product='tica', moving_target=True, size=5, sector=6)
1103-
WARNING: InputWarning: Only SPOC is available for moving targets queries. Defaulting to SPOC. [astroquery.mast.cutouts]
1104-
>>> hdulist[0][0].header['FFI_TYPE'] # doctest: +IGNORE_OUTPUT
1105-
'SPOC'
1103+
...
1104+
InvalidQueryError: Only SPOC is available for moving targets queries.
11061105

11071106
The `~astroquery.mast.TesscutClass.download_cutouts` function takes a product type ("TICA" or "SPOC", but defaults to "SPOC"),
11081107
coordinate, cutout size (in pixels or an angular quantity), or object name (e.g. "M104" or "TIC 32449963") and moving target

0 commit comments

Comments
 (0)