Skip to content

Commit 872d469

Browse files
committed
More changelog details and minor formatting changes.
1 parent 79e3b42 commit 872d469

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

CHANGES.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ splatalogue
2424
jplhorizons
2525
^^^^^^^^^^^
2626

27-
- Updated to use new JPL Horizons API. [#2154]
27+
- Updated to use v1.0 of the new JPL Horizons API released 2021-09-15.
28+
Included in this update, the default reference system is changed from
29+
J2000 to ICRF, following API documentation. [#2154]
2830

2931
Infrastructure, Utility and Other Changes and Additions
3032
-------------------------------------------------------

astroquery/jplhorizons/core.py

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -979,20 +979,16 @@ def vectors_async(self, get_query_payload=False,
979979
('COMMAND', '"' + commandline + '"'),
980980
('CENTER', ("'" + str(self.location) + "'")),
981981
('CSV_FORMAT', ('"YES"')),
982-
('REF_PLANE', {
983-
'ecliptic': 'ECLIPTIC',
984-
'earth': 'FRAME',
985-
'frame': 'FRAME',
986-
'body': "'BODY EQUATOR'"
987-
}[refplane]),
982+
('REF_PLANE', {'ecliptic': 'ECLIPTIC',
983+
'earth': 'FRAME',
984+
'frame': 'FRAME',
985+
'body': "'BODY EQUATOR'"}[refplane]),
988986
('REF_SYSTEM', 'ICRF'),
989987
('TP_TYPE', 'ABSOLUTE'),
990988
('VEC_LABELS', 'YES'),
991-
('VEC_CORR', {
992-
'geometric': '"NONE"',
993-
'astrometric': '"LT"',
994-
'apparent': '"LT+S"'
995-
}[aberrations]),
989+
('VEC_CORR', {'geometric': '"NONE"',
990+
'astrometric': '"LT"',
991+
'apparent': '"LT+S"'}[aberrations]),
996992
('VEC_DELTA_T', {True: 'YES', False: 'NO'}[delta_T]),
997993
('OBJ_DATA', 'YES')]
998994
)

0 commit comments

Comments
 (0)