@@ -41,6 +41,7 @@ The most simple query to obtain information for a specific Solar
41
41
System small-body works as follows:
42
42
43
43
.. code-block :: python
44
+ .. doctest-remote-data ::
44
45
45
46
>>> from astroquery.jplsbdb import SBDB
46
47
>>> sbdb = SBDB .query(' 3552' )
@@ -56,6 +57,7 @@ schematic. Please consult the `Data Output section
56
57
documentation to learn more about the meaning of the different output fields:
57
58
58
59
.. code-block :: python
60
+ .. doctest-remote-data ::
59
61
60
62
>>> print (SBDB .schematic(sbdb))
61
63
+-+ object:
@@ -146,7 +148,7 @@ item:
146
148
147
149
.. code-block :: python
148
150
149
- >> > sbdb[' orbit' ][' moid_jup' ]
151
+ >> > sbdb[' orbit' ][' moid_jup' ] # doctest: +REMOTE_DATA
150
152
0.441 AU
151
153
152
154
Note that many of the items in the output dictionary are associated
@@ -157,7 +159,7 @@ orbit intersection distance of the target with respect to Jupiter
157
159
158
160
.. code-block :: python
159
161
160
- >> > print (sbdb[' orbit' ][' moid_jup' ].to(' km' ))
162
+ >> > print (sbdb[' orbit' ][' moid_jup' ].to(' km' )) # doctest: +REMOTE_DATA
161
163
65972660.9787
162
164
163
165
The vast majority of parameter names are identical to those used in
@@ -185,14 +187,14 @@ the following query:
185
187
186
188
.. code-block :: python
187
189
188
- >> > sbdb = SBDB .query(' 2018 AA*' , neo_only = True )
190
+ >> > sbdb = SBDB .query(' 2018 AA*' , neo_only = True ) # doctest: +REMOTE_DATA
189
191
190
192
Note that in case of a name search not the entire output is queries
191
193
per target, but only a list of objects matching this pattern:
192
194
193
195
.. code-block :: python
194
196
195
- >> > sbdb[' list' ]
197
+ >> > sbdb[' list' ] # doctest: +REMOTE_DATA
196
198
OrderedDict([(' pdes' , [' 2018 AA4' , ' 2018 AA12' ]), (' name' , [' (2018 AA4)' , ' (2018 AA12)' ])])
197
199
198
200
Customizing your Query
0 commit comments