Skip to content

Commit 8acdc09

Browse files
committed
Edit examples, mostly to tag remote_data
1 parent 6298163 commit 8acdc09

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

astroquery/jplhorizons/core.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@ def __init__(self, id=None, location=None, epochs=None,
9191
9292
>>> from astroquery.jplhorizons import Horizons
9393
>>> eros = Horizons(id='433', location='568',
94-
... epochs={'start':'2017-01-01',
95-
... 'stop':'2017-02-01',
96-
... 'step':'1d'})
97-
>>> print(eros) # doctest: +SKIP
98-
JPLHorizons instance "433"; location=568, epochs={'start': '2017-01-01', 'step': '1d', 'stop': '2017-02-01'}, id_type=None
94+
... epochs={'start': '2017-01-01',
95+
... 'stop': '2017-02-01',
96+
... 'step': '1d'})
97+
>>> print(eros)
98+
JPLHorizons instance "433"; location=568, epochs={'start': '2017-01-01', 'stop': '2017-02-01', 'step': '1d'}, id_type=None
9999
100100
"""
101101

@@ -150,8 +150,8 @@ def __str__(self):
150150
... epochs={'start':'2017-01-01',
151151
... 'stop':'2017-02-01',
152152
... 'step':'1d'})
153-
>>> print(eros) # doctest: +SKIP
154-
JPLHorizons instance "433"; location=568, epochs={'start': '2017-01-01', 'step': '1d', 'stop': '2017-02-01'}, id_type=None
153+
>>> print(eros)
154+
JPLHorizons instance "433"; location=568, epochs={'start': '2017-01-01', 'stop': '2017-02-01', 'step': '1d'}, id_type=None
155155
156156
"""
157157

@@ -500,7 +500,7 @@ def ephemerides_async(self, airmass_lessthan=99,
500500
... epochs={'start':'2010-01-01',
501501
... 'stop':'2010-03-01',
502502
... 'step':'10d'})
503-
>>> eph = obj.ephemerides() # doctest: +SKIP
503+
>>> eph = obj.ephemerides() # doctest: +REMOTE_DATA
504504
>>> print(eph) # doctest: +SKIP
505505
targetname datetime_str datetime_jd ... PABLon PABLat
506506
--- --- d ... deg deg
@@ -745,10 +745,10 @@ def elements_async(self, get_query_payload=False,
745745
>>> from astroquery.jplhorizons import Horizons
746746
>>> obj = Horizons(id='433', location='500@10',
747747
... epochs=2458133.33546)
748-
>>> el = obj.elements() # doctest: +SKIP
748+
>>> el = obj.elements() # doctest: +REMOTE_DATA
749749
>>> print(el) # doctest: +SKIP
750750
targetname datetime_jd ... Q P
751-
--- d ... AU d
751+
--- d ... AU d
752752
------------------ ------------- ... ------------- ------------
753753
433 Eros (1898 DQ) 2458133.33546 ... 1.78244263804 642.93873484
754754
@@ -968,21 +968,21 @@ def vectors_async(self, get_query_payload=False,
968968
969969
>>> from astroquery.jplhorizons import Horizons
970970
>>> obj = Horizons(id='2012 TC4', location='257',
971-
... epochs={'start':'2017-10-01',
972-
... 'stop':'2017-10-02',
973-
... 'step':'10m'})
974-
>>> vec = obj.vectors() # doctest: +SKIP
971+
... epochs={'start': '2017-10-01',
972+
... 'stop': '2017-10-02',
973+
... 'step': '10m'})
974+
>>> vec = obj.vectors() # doctest: +REMOTE_DATA
975975
>>> print(vec) # doctest: +SKIP
976976
targetname datetime_jd ... range range_rate
977-
--- d ... AU AU / d
977+
--- d ... AU AU / d
978978
---------- ------------- ... --------------- -----------------
979979
(2012 TC4) 2458027.5 ... 0.0429332099306 -0.00408018711862
980980
(2012 TC4) 2458027.50694 ... 0.0429048742906 -0.00408040726527
981981
(2012 TC4) 2458027.51389 ... 0.0428765385796 -0.00408020747595
982982
(2012 TC4) 2458027.52083 ... 0.0428482057142 -0.0040795878561
983983
(2012 TC4) 2458027.52778 ... 0.042819878607 -0.00407854931543
984984
(2012 TC4) 2458027.53472 ... 0.0427915601617 -0.0040770935665
985-
... ... ... ... ...
985+
... ... ... ... ...
986986
(2012 TC4) 2458028.45833 ... 0.0392489462501 -0.00405496595173
987987
(2012 TC4) 2458028.46528 ... 0.03922077771 -0.00405750632914
988988
(2012 TC4) 2458028.47222 ... 0.039192592935 -0.00405964084539

0 commit comments

Comments
 (0)