HorizonsEphemeris.jl

Solar system ephemeris data for free!

Installation

Choose one of the following!

pkg> add HorizonsEphemeris
import Pkg
Pkg.add("HorizonsEphemeris")

Overview

While HorizonsAPI.jl provides a precise interface which matches the JPL Horizons API, HorizonsEphemeris.jl provides a more user-friendly way to request solar system ephemeris data. At this time, only Cartesian state vector ephemeris data is available through the HorizonsEphemeris.jl interface.

Warning

This project is not affiliated with or endorsed by NASA, JPL, Caltech, or any other organization!

For more information, read on to the Examples page, or the package Reference.

NAIF IDs

Internally, HorizonsEphemeris converts provided names to NAIF IDs. All compatible bodies are shown below.

using SPICE, DataFrames

names = (; ID=Int[], Name=String[])

for id in range(-100000, 100000)
    name = bodc2n(id)
    isnothing(name) && continue
    push!(names.ID, id)
    push!(names.Name, name)
end

DataFrame(names)
311×2 DataFrame
RowIDName
Int64String
1-750SPRINT-A
2-652BEPICOLOMBO MTM
3-550MARS96
4-502Vstar
5-500Rstar
6-363RBSP_B
7-362RBSP_A
8-302HELIOS 2
9-301HELIOS 1
10-255PSYC
11-254MER-2
12-253MER-1
13-248VENUS EXPRESS
14-243VIPER
15-242LUNAR TRAILBLAZER
16-240SLIM
17-239MMX
18-238SMART-1
19-236MESSENGER
20-235STEREO BEHIND
21-234STEREO AHEAD
22-228GALILEO PROBE
23-227KEPLER
24-226ROSETTA
25-214STV53
26-213STV52
27-212STV51
28-210LICIACUBE
29-205SMAP
30-203DAWN
31-202MAVEN
32-200CONTOUR
33-198NISAR
34-197LARA
35-196CLUSTER 4
36-194CLUSTER 3
37-190SIM
38-189INSIGHT
39-188MUSES-B
40-185CLUSTER 2
41-183CLUSTER 1
42-181GRAIL-B
43-178NOZOMI
44-177GRAIL-A
45-174EXOMARS ROVER
46-173EXOMARS SP
47-172EXOMARS SCC
48-170JAMES WEBB SPACE TELESCOPE
49-168M2020
50-166IMAGE
51-165MAP
52-164LUNAR FLASHLIGHT
53-159EUROPA CLIPPER
54-156ADIT
55-155KOREAN PATHFINDER LUNAR ORBITER
56-154AQUA
57-153CHANDRAYAAN-2 LANDER
58-152CHANDRAYAAN-2 ORBITER
59-151CHANDRA
60-150CASP
61-148DRAGONFLY
62-146LUNAR-A
63-144SOLAR ORBITER
64-143EXOMARS 2016 TGO
65-142EOS-AM1
66-140DEEP IMPACT FLYBY SPACECRAFT
67-135DOUBLE ASTEROID REDIRECTION TEST
68-131KAGUYA
69-130HAYABUSA
70-127MCO
71-121BEPICOLOMBO MPO
72-119MOM2
73-117EXOMARS 2016 EDM
74-116MPL
75-112ICE
76-107TRMM
77-98NEW HORIZONS
78-97TOPEX/POSEIDON
79-96SOLAR PROBE PLUS
80-95MGS SIMULATION
81-94MARS GLOBAL SURVEYOR
82-93NEAR
83-90CASSINI SIMULATION
84-86CHANDRAYAAN-1
85-85LUNAR RECONNAISSANCE ORBITER
86-84PHOENIX
87-82CASSINI
88-81CASSINI ITL
89-79SIRTF
90-78GIOTTO
91-77GALILEO ORBITER
92-76MARS SCIENCE LABORATORY
93-74MARS RECON ORBITER
94-72JANUS_B
95-70DEEP IMPACT IMPACTOR SPACECRAFT
96-68BEPICOLOMBO MMO
97-67VEGA 2
98-66MARCO-B
99-65MARCO-A
100-64OSIRIS-REX
101-62EMIRATES MARS MISSION
102-61JUNO
103-59RADIOASTRON
104-58HALCA
105-57LUNAR ICECUBE
106-55ULYSSES
107-53MARS SURVEYOR 01 ORBITER
108-49LUCY
109-48HST
110-47GENESIS
111-46SAKIGAKE
112-45JANUS_A
113-44BEAGLE 2
114-43IMAP
115-41MARS EXPRESS
116-40CLEMENTINE
117-39LUNAH-MAP
118-37HAYABUSA2
119-33NEO SURVEYOR
120-32VOYAGER 2
121-31VOYAGER 1
122-30DS-1
123-29NEXT
124-28JUICE
125-27VIKING 1 ORBITER
126-25LUNAR PROSPECTOR
127-24PIONEER-11
128-23PIONEER-10
129-21SOHO
130-20PIONEER-8
131-18LCROSS
132-13POLAR
133-12LADEE
134-8WIND
135-7PIONEER-7
136-6PIONEER-6
137-5PLANET-C
138-3MARS ORBITER MISSION
139-1GEOTAIL
1400SOLAR SYSTEM BARYCENTER
1411MERCURY BARYCENTER
1422VENUS BARYCENTER
1433EARTH BARYCENTER
1444MARS BARYCENTER
1455JUPITER BARYCENTER
1466SATURN BARYCENTER
1477URANUS BARYCENTER
1488NEPTUNE BARYCENTER
1499PLUTO BARYCENTER
15010SUN
151199MERCURY
152299VENUS
153301MOON
154399EARTH
155401PHOBOS
156402DEIMOS
157499MARS
158501IO
159502EUROPA
160503GANYMEDE
161504CALLISTO
162505AMALTHEA
163506HIMALIA
164507ELARA
165508PASIPHAE
166509SINOPE
167510LYSITHEA
168511CARME
169512ANANKE
170513LEDA
171514THEBE
172515ADRASTEA
173516METIS
174517CALLIRRHOE
175518THEMISTO
176519MEGACLITE
177520TAYGETE
178521CHALDENE
179522HARPALYKE
180523KALYKE
181524IOCASTE
182525ERINOME
183526ISONOE
184527PRAXIDIKE
185528AUTONOE
186529THYONE
187530HERMIPPE
188531AITNE
189532EURYDOME
190533EUANTHE
191534EUPORIE
192535ORTHOSIE
193536SPONDE
194537KALE
195538PASITHEE
196539HEGEMONE
197540MNEME
198541AOEDE
199542THELXINOE
200543ARCHE
201544KALLICHORE
202545HELIKE
203546CARPO
204547EUKELADE
205548CYLLENE
206549KORE
207550HERSE
208553DIA
209599JUPITER
210601MIMAS
211602ENCELADUS
212603TETHYS
213604DIONE
214605RHEA
215606TITAN
216607HYPERION
217608IAPETUS
218609PHOEBE
219610JANUS
220611EPIMETHEUS
221612HELENE
222613TELESTO
223614CALYPSO
224615ATLAS
225616PROMETHEUS
226617PANDORA
227618PAN
228619YMIR
229620PAALIAQ
230621TARVOS
231622IJIRAQ
232623SUTTUNGR
233624KIVIUQ
234625MUNDILFARI
235626ALBIORIX
236627SKATHI
237628ERRIAPUS
238629SIARNAQ
239630THRYMR
240631NARVI
241632METHONE
242633PALLENE
243634POLYDEUCES
244635DAPHNIS
245636AEGIR
246637BEBHIONN
247638BERGELMIR
248639BESTLA
249640FARBAUTI
250641FENRIR
251642FORNJOT
252643HATI
253644HYRROKKIN
254645KARI
255646LOGE
256647SKOLL
257648SURTUR
258649ANTHE
259650JARNSAXA
260651GREIP
261652TARQEQ
262653AEGAEON
263699SATURN
264701ARIEL
265702UMBRIEL
266703TITANIA
267704OBERON
268705MIRANDA
269706CORDELIA
270707OPHELIA
271708BIANCA
272709CRESSIDA
273710DESDEMONA
274711JULIET
275712PORTIA
276713ROSALIND
277714BELINDA
278715PUCK
279716CALIBAN
280717SYCORAX
281718PROSPERO
282719SETEBOS
283720STEPHANO
284721TRINCULO
285722FRANCISCO
286723MARGARET
287724FERDINAND
288725PERDITA
289726MAB
290727CUPID
291799URANUS
292801TRITON
293802NEREID
294803NAIAD
295804THALASSA
296805DESPINA
297806GALATEA
298807LARISSA
299808PROTEUS
300809HALIMEDE
301810PSAMATHE
302811SAO
303812LAOMEDEIA
304813NESO
305899NEPTUNE
306901CHARON
307902NIX
308903HYDRA
309904KERBEROS
310905STYX
311999PLUTO