@@ -34,6 +34,8 @@ interpretation reflected in the ``xtype`` field.
3434 >>> from astroquery.eso import Eso
3535 >>> eso = Eso()
3636
37+ .. doctest-remote-data ::
38+
3739 >>> eso.query_main(help = True ) # doctest: +IGNORE_OUTPUT
3840 INFO:
3941 Columns present in the table dbo.raw:
@@ -64,11 +66,15 @@ time constraint specified down to the second.
6466 >>> from astropy.coordinates import SkyCoord
6567 >>> import astropy.units as u
6668
67- >>> coords = SkyCoord.from_name(" SN2013am" ) # The Prawn Nebula
69+ .. doctest-remote-data ::
70+
71+ >>> coords = SkyCoord.from_name(" SN2013am" ) # doctest: +SKIP
6872 >>> ra = coords.ra.value
6973 >>> dec = coords.dec.value
7074 >>> r = (30 * u.arcsec).to(u.deg).value
7175
76+ .. doctest-remote-data ::
77+
7278 >>> table = eso.query_main(
7379 ... cone_ra= ra,
7480 ... cone_dec= dec,
@@ -77,8 +83,8 @@ time constraint specified down to the second.
7783 ... " exp_start" : " between '2013-04-12' and '2013-04-12T04:52:06'"
7884 ... },
7985 ... columns= [" object" , " ra" , " dec" , " date_obs" , " instrument" , " prog_id" ],
80- ... )
81- >>> table # doctest: +IGNORE_OUTPUT
86+ ... ) # doctest: +SKIP
87+ >>> table # doctest: +SKIP
8288 <Table length=13>
8389 object ra dec date_obs prog_id instrument
8490 deg deg
@@ -177,22 +183,24 @@ from the interferometric instruments ``MIDI``, ``GRAVITY``, and ``PIONIER`` with
177183
178184.. doctest-remote-data ::
179185
180- >>> coords = SkyCoord.from_name(" ETA CAR" ) # Eta Carinae
186+ >>> coords = SkyCoord.from_name(" ETA CAR" ) # doctest: +SKIP
181187 >>> ra = coords.ra.value
182188 >>> dec = coords.dec.value
183189 >>> r = (10 * u.arcsec).to(u.deg).value
184190
191+ .. doctest-remote-data ::
192+
185193 >>> table = eso.query_main(
186194 ... cone_ra= ra,
187195 ... cone_dec= dec,
188196 ... cone_radius= r,
189197 ... instruments= [" midi" , " gravity" , " pionier" ],
190198 ... column_filters= {
191199 ... columns= [" instrument" , " object" , " ra" , " dec" , " date_obs" , " prog_id" ]
192- ... )
193- >>> print (len (table)) # doctest: +IGNORE_OUTPUT
200+ ... ) # doctest: +SKIP
201+ >>> print (len (table)) # doctest: +SKIP
194202 622
195- >>> table[[" object" , " ra" , " dec" , " date_obs" , " prog_id" ]] # doctest: +IGNORE_OUTPUT
203+ >>> table[[" object" , " ra" , " dec" , " date_obs" , " prog_id" ]] # doctest: +SKIP
196204 <Table length=622>
197205 object ra dec date_obs prog_id instrument
198206 deg deg
@@ -224,9 +232,8 @@ from the interferometric instruments ``MIDI``, ``GRAVITY``, and ``PIONIER`` with
224232 ... " ins_opt1_name" : " HIGH_SENS" , # High sensitivity mode
225233 ... " night_flag" : " night" , # Nighttime observations only
226234 ... " moon_illu" : " < 0" , # No moon (below horizon)
227- ... " lst" : " between 0 and 6" # Local sidereal time early in the night
228- ... }
229- >>> table = eso.query_instrument(" midi" , column_filters = column_filters)
235+ ... " lst" : " between 0 and 6" } # Local sidereal time early in the night
236+ >>> table = eso.query_instrument(" midi" , column_filters = column_filters) # doctest: +SKIP
230237
231238Download Data
232239=============
0 commit comments