@@ -63,9 +63,9 @@ def query_list(list_name):
63
63
the list of all NEAs currently considered in the NEOCC system.
64
64
65
65
>>> from astroquery.esa.neocc import neocc
66
- >>> list_data = neocc.query_list(list_name='nea_list')
67
- >>> print(list_data) # doctest: +IGNORE_OUTPUT
68
- NEA
66
+ >>> list_data = neocc.query_list(list_name='nea_list') # doctest: +REMOTE_DATA
67
+ >>> print(list_data) # doctest: +IGNORE_OUTPUT +REMOTE_DATA
68
+ NEA
69
69
---------------
70
70
433 Eros
71
71
719 Albert
@@ -84,8 +84,8 @@ def query_list(list_name):
84
84
contains object with upcoming close approaches.
85
85
86
86
>>> from astroquery.esa.neocc import neocc
87
- >>> list_data = neocc.query_list(list_name='close_approaches_upcoming')
88
- >>> print(list_data) # doctest: +IGNORE_OUTPUT
87
+ >>> list_data = neocc.query_list(list_name='close_approaches_upcoming') # doctest: +REMOTE_DATA
88
+ >>> print(list_data) # doctest: +IGNORE_OUTPUT +REMOTE_DATA
89
89
Object Name Date ... Rel. vel in km/s CAI index
90
90
----------- ----------------------- ... ---------------- ---------
91
91
2021JA5 2023-09-07 00:00:00.000 ... 11.0 3.496
@@ -175,25 +175,25 @@ def query_object(name, tab, **kwargs):
175
175
*query_list* search:
176
176
177
177
>>> from astroquery.esa.neocc import neocc
178
- >>> ast_impacts = neocc.query_object(name='1979XB', tab='impacts')
178
+ >>> ast_impacts = neocc.query_object(name='1979XB', tab='impacts') # doctest: +REMOTE_DATA
179
179
180
180
or
181
181
182
- >>> nea_list = neocc.query_list(list_name='nea_list')
183
- >>> print(nea_list["NEA"][3163])
182
+ >>> nea_list = neocc.query_list(list_name='nea_list') # doctest: +REMOTE_DATA
183
+ >>> print(nea_list["NEA"][3163]) # doctest: +REMOTE_DATA
184
184
1979XB
185
- >>> ast_impacts = neocc.query_object(name=nea_list["NEA"][3163], tab='impacts')
185
+ >>> ast_impacts = neocc.query_object(name=nea_list["NEA"][3163], tab='impacts') # doctest: +REMOTE_DATA
186
186
187
187
or
188
188
189
- >>> risk_list = neocc.query_list(list_name='risk_list')
190
- >>> print(risk_list['Object Name'][1])
189
+ >>> risk_list = neocc.query_list(list_name='risk_list') # doctest: +REMOTE_DATA
190
+ >>> print(risk_list['Object Name'][1]) # doctest: +REMOTE_DATA
191
191
1979XB
192
- >>> ast_impacts = neocc.query_object(name=risk_list['Object Name'][1], tab='impacts')
192
+ >>> ast_impacts = neocc.query_object(name=risk_list['Object Name'][1], tab='impacts') # doctest: +REMOTE_DATA
193
193
194
194
This query returns a list containing a single table:
195
195
196
- >>> print(ast_impacts[0]) # doctest: +IGNORE_OUTPUT
196
+ >>> print(ast_impacts[0]) # doctest: +IGNORE_OUTPUT +REMOTE_DATA
197
197
date MJD sigma sigimp ... Exp. Energy in MT PS TS
198
198
----------------------- --------- ------ ------ ... ----------------- ----- ---
199
199
2056-12-12 21:38:52.800 72344.902 0.255 0.0 ... 0.013 -2.86 0
@@ -207,19 +207,19 @@ def query_object(name, tab, **kwargs):
207
207
Most of the tables returned by this tye of query contain additional information
208
208
in the 'meta' property, including information about the table columns.
209
209
210
- >>> print(ast_impacts[0].meta.keys()) # doctest: +IGNORE_OUTPUT
210
+ >>> print(ast_impacts[0].meta.keys()) # doctest: +IGNORE_OUTPUT +REMOTE_DATA
211
211
odict_keys(['Column Info', 'observation_accepted', 'observation_rejected',
212
212
'arc_start', 'arc_end', 'info', 'computation'])
213
213
214
214
215
215
**Physical Properties:** This example shows how to obtain the physical properties table.
216
216
217
217
>>> from astroquery.esa.neocc import neocc
218
- >>> properties = neocc.query_object(name='433', tab='physical_properties')
218
+ >>> properties = neocc.query_object(name='433', tab='physical_properties') # doctest: +REMOTE_DATA
219
219
220
220
Again, the output is a list containing a single table.
221
221
222
- >>> print(properties[0]) # doctest: +IGNORE_OUTPUT
222
+ >>> print(properties[0]) # doctest: +IGNORE_OUTPUT +REMOTE_DATA
223
223
Property ...
224
224
----------------------- ...
225
225
Absolute Magnitude (H) ...
@@ -247,15 +247,15 @@ def query_object(name, tab, **kwargs):
247
247
returns a list containing 3-5 `astropy.table.Table`s depending if there are
248
248
"Roving observer" or satellite observations.
249
249
250
- >>> ast_observations = neocc.query_object(name='99942', tab='observations')
251
- >>> for tab in ast_observations:
250
+ >>> ast_observations = neocc.query_object(name='99942', tab='observations') # doctest: +REMOTE_DATA
251
+ >>> for tab in ast_observations: # doctest: +REMOTE_DATA
252
252
... print(tab.meta["Title"])
253
253
Observation metadata
254
254
Optical Observations
255
255
Satellite Observations
256
256
Radar Observations
257
- >>> sat_obs = ast_observations[2]
258
- >>> print(sat_obs) # doctest: +IGNORE_OUTPUT
257
+ >>> sat_obs = ast_observations[2] # doctest: +REMOTE_DATA
258
+ >>> print(sat_obs) # doctest: +IGNORE_OUTPUT +REMOTE_DATA
259
259
Design. K T N ... X Y Z Obs Code
260
260
------- --- --- --- ... ---------- ----------------- ------------------ --------
261
261
99942 S s -- ... -5634.1734 -2466.2657 -3038.3924 C51
@@ -273,8 +273,8 @@ def query_object(name, tab, **kwargs):
273
273
**Close Approaches**: This example queris for close approaches, another query
274
274
which results in a single data table.
275
275
276
- >>> close_appr = neocc.query_object(name='99942', tab='close_approaches')
277
- >>> print(close_appr[0]) # doctest: +IGNORE_OUTPUT
276
+ >>> close_appr = neocc.query_object(name='99942', tab='close_approaches') # doctest: +REMOTE_DATA
277
+ >>> print(close_appr[0]) # doctest: +IGNORE_OUTPUT +REMOTE_DATA
278
278
BODY CALENDAR-TIME MJD-TIME ... STRETCH WIDTH PROBABILITY
279
279
----- ----------------------- --------------- ... --------- --------- -----------
280
280
EARTH 1957-04-01T03:19:44.544 35929.138710654 ... 2.871e-05 5.533e-09 1.0
@@ -297,15 +297,15 @@ def query_object(name, tab, **kwargs):
297
297
This query returns a list of three tables, the orbital properties, and the covariance
298
298
and corotation matrices.
299
299
300
- >>> ast_orbit_prop = neocc.query_object(name='99942', tab='orbit_properties',
301
- ... orbital_elements='keplerian', orbit_epoch='present')
302
- >>> for tab in ast_orbit_prop:
300
+ >>> ast_orbit_prop = neocc.query_object(name='99942', tab='orbit_properties', orbital_elements='keplerian',
301
+ ... orbit_epoch='present') # doctest: +REMOTE_DATA
302
+ >>> for tab in ast_orbit_prop: # doctest: +REMOTE_DATA
303
303
... print(tab.meta["Title"])
304
304
Orbital Elements
305
305
COV
306
306
COR
307
- >>> print(ast_orbit_prop[0][:5]) # doctest: +IGNORE_OUTPUT
308
- Section Property Value
307
+ >>> print(ast_orbit_prop[0][:5]) # doctest: +IGNORE_OUTPUT +REMOTE_DATA
308
+ Section Property Value
309
309
-------- -------- -----------------------
310
310
ANODE ANODE -8.6707715058413322E-04
311
311
APHELION APHELION 1.0993687643243035E+00
@@ -318,13 +318,14 @@ def query_object(name, tab, **kwargs):
318
318
is necessary to provide five additional inputs to *query_object*
319
319
method: `observatory`, `start`, `stop`, `step` and `step_unit`.
320
320
321
- >>> ast_ephemerides = neocc.query_object(name='99942', tab='ephemerides',
322
- ... observatory='500', start='2019-05-08 01:30',
323
- ... stop='2019-05-23 01:30', step='1', step_unit='days')
324
- >>> ast_ephemerides = ast_ephemerides[0]
325
- >>> print(ast_ephemerides.meta.keys())
326
- odict_keys(['Ephemerides generation for', 'Observatory', 'Initial Date', 'Final Date', 'Time step', 'Column Info'])
327
- >>> print(ast_ephemerides) # doctest: +IGNORE_OUTPUT
321
+ >>> ast_ephemerides = neocc.query_object(name='99942', tab='ephemerides', observatory='500',
322
+ ... start='2019-05-08 01:30', stop='2019-05-23 01:30',
323
+ ... step='1', step_unit='days') # doctest: +REMOTE_DATA
324
+ >>> ast_ephemerides = ast_ephemerides[0] # doctest: +REMOTE_DATA
325
+ >>> print(ast_ephemerides.meta.keys()) # doctest: +REMOTE_DATA
326
+ odict_keys(['Ephemerides generation for', 'Observatory', 'Initial Date',
327
+ 'Final Date', 'Time step', 'Column Info'])
328
+ >>> print(ast_ephemerides) # doctest: +IGNORE_OUTPUT +REMOTE_DATA
328
329
Date MJD (UTC) RA (h m s) ... Err1 (") Err2 (") AngAx (deg)
329
330
----------------------- ---------- ------------ ... -------- -------- -----------
330
331
2019-05-08T01:30:00.000 58611.0625 6 43 40.510 ... 0.001 0.0 115.8
0 commit comments