Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ gaia
- New method cross_match_basic that simplifies the positional x-match method [#3320]
- new DR4 datalink retrieve type MEAN_SPECTRUM_RVS [#3342]

jplhorizons
^^^^^^^^^^^

- Fixed incorrect ``refplane`` parameter value: the API did not accept ``BODY EQUATOR`` but required ``BODY``. [#3370]

linelists.cdms
^^^^^^^^^^^^^^

Expand Down
4 changes: 2 additions & 2 deletions astroquery/jplhorizons/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ def elements_async(self, *, get_query_payload=False,
('OBJ_DATA', 'YES'),
('REF_SYSTEM', refsystem),
('REF_PLANE', {'ecliptic': 'ECLIPTIC', 'earth': 'FRAME',
'body': "'BODY EQUATOR'"}[refplane]),
'body': 'BODY'}[refplane]),
('TP_TYPE', {'absolute': 'ABSOLUTE',
'relative': 'RELATIVE'}[tp_type])])

Expand Down Expand Up @@ -1149,7 +1149,7 @@ def vectors_async(self, *, get_query_payload=False,
('REF_PLANE', {'ecliptic': 'ECLIPTIC',
'earth': 'FRAME',
'frame': 'FRAME',
'body': "'BODY EQUATOR'"}[refplane]),
'body': 'BODY'}[refplane]),
('REF_SYSTEM', 'ICRF'),
('TP_TYPE', 'ABSOLUTE'),
('VEC_LABELS', 'YES'),
Expand Down
Loading