Skip to content

Commit e6a1c1f

Browse files
authored
Merge pull request #3058 from bsipocz/MAINT_remote_fixes_Jun24
MAINT: remote fixes June 2024
2 parents c597da6 + c2f843c commit e6a1c1f

File tree

5 files changed

+76
-77
lines changed

5 files changed

+76
-77
lines changed

astroquery/eso/tests/test_eso.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def test_download(monkeypatch, tmp_path):
143143
assert downloaded_files[0] == filename
144144

145145

146-
@pytest.mark.skipif(sys.platform == "win32", reason="gunzip not available on Windows")
146+
@pytest.mark.skipif(sys.platform.startswith("win"), reason="gunzip not available on Windows")
147147
def test_unzip(tmp_path):
148148
eso = Eso()
149149
filename = os.path.join(DATA_DIR, 'testfile.fits.Z')

docs/index.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,9 @@ All query tools allow coordinate-based queries:
161161
--------------------- ----------------- ... -------------- -------------------
162162
COUP J053515.3-052225 83.81426666666665 ... O 1999AJ....117.1375S
163163
... ... ... ... ...
164-
[OW94] 135-356 83.80624999999998 ... O 2007AJ....133.2192H
164+
* tet01 Ori H 83.81580416666667 ... I 2003yCat.2246....0C
165165
[H97b] 9009 83.79990004111 ... O 2020yCat.1350....0G
166-
Length = 3271 rows
166+
Length = 3270 rows
167167

168168
For additional guidance and examples, read the documentation for the individual services below.
169169

docs/jplhorizons/jplhorizons.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,10 @@ asteroid (433) Eros for a given date relative to the Sun:
274274
... epochs=2458133.33546)
275275
>>> el = obj.elements()
276276
>>> print(el)
277-
targetname datetime_jd ... Q P
278-
--- d ... AU d
279-
------------------ ------------- ... ---------------- -----------------
280-
433 Eros (A898 PA) 2458133.33546 ... 1.78244269692907 642.9387351308188
277+
targetname datetime_jd ... Q P
278+
--- d ... AU d
279+
------------------ ------------- ... ---------------- ----------------
280+
433 Eros (A898 PA) 2458133.33546 ... 1.78244269692907 642.938735130819
281281

282282

283283
The following fields are queried:
@@ -461,7 +461,7 @@ in quadrature:
461461
>>> print(np.sqrt(eph['RA_rate']**2 + eph['DEC_rate']**2))
462462
dRA*cosD
463463
------------------
464-
86.18728612153883
464+
86.18728068796985
465465
26.337249029653798
466466
21.520859656742434
467467
17.679843758686584
@@ -645,7 +645,7 @@ If you are repeatedly getting failed queries, or bad/out-of-date results, try cl
645645
>>> from astroquery.jplhorizons import Horizons
646646
>>> Horizons.clear_cache()
647647
648-
If this function is unavailable, upgrade your version of astroquery.
648+
If this function is unavailable, upgrade your version of astroquery.
649649
The ``clear_cache`` function was introduced in version 0.4.7.dev8479.
650650

651651

docs/jplsbdb/jplsbdb.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ item:
156156
.. code-block:: python
157157
158158
>>> sbdb['orbit']['moid_jup'] # doctest: +REMOTE_DATA
159-
<Quantity 0.43 AU>
159+
<Quantity 0.429 AU>
160160
161161
Note that many of the items in the output dictionary are associated
162162
with `~astropy.units` which can be readily used for
@@ -167,7 +167,7 @@ orbit intersection distance of the target with respect to Jupiter
167167
.. code-block:: python
168168
169169
>>> print(sbdb['orbit']['moid_jup'].to('km')) # doctest: +REMOTE_DATA
170-
64327084.40099999 km
170+
64177486.53029999 km
171171
172172
The vast majority of parameter names are identical to those used in
173173
the `SBDB API documentation
@@ -202,7 +202,7 @@ per target, but only a list of objects matching this pattern:
202202
.. code-block:: python
203203
204204
>>> sbdb['list'] # doctest: +REMOTE_DATA
205-
OrderedDict([('name', ['(2018 AA4)', '(2018 AA12)', '(2018 AA74)']), ('pdes', ['2018 AA4', '2018 AA12', '2018 AA74'])])
205+
OrderedDict({'pdes': ['2018 AA4', '2018 AA12', '2018 AA74'], 'name': ['(2018 AA4)', '(2018 AA12)', '(2018 AA74)']})
206206
207207
Customizing your Query
208208
======================

0 commit comments

Comments
 (0)