JPL Horizons on-line solar system data and ephemeris computation service
1–10 of 26 posts
Re: JPL Horizons on-line solar system data and ephemeris computation service
#2I used to use the python package “jplephem” to support ephemeris queries, but I understand that SpiceyPy is a more modern replacement (https://github.com/AndrewAnnex/SpiceyPy). They all, I believe, use the same underlying sets of “spk” files containing coded ephemeris.
Re: JPL Horizons on-line solar system data and ephemeris computation service
#3Re: JPL Horizons on-line solar system data and ephemeris computation service
#4I love that the primary interface to Horizons is still via Telnet ^_^ I hope they keep that interface forever.
Re: JPL Horizons on-line solar system data and ephemeris computation service
#5This group at JPL is the canonical source for solar system ephemeris, including planets and small bodies. The underlying models are numerically integrated equations of motion that I’m sure include all kinds of corrections, especially for bodies of great interest — such as Mars, or moons being considered for science visits. I used to use the python package “jplephem” to support ephemeris queries, but I understand that…
It does the same thing, uses the spk files to compute planetary positions, but it does so with a beautifull API which is a pleasure to use.
Re: JPL Horizons on-line solar system data and ephemeris computation service
#6This group at JPL is the canonical source for solar system ephemeris, including planets and small bodies. The underlying models are numerically integrated equations of motion that I’m sure include all kinds of corrections, especially for bodies of great interest — such as Mars, or moons being considered for science visits. I used to use the python package “jplephem” to support ephemeris queries, but I understand that…
Just for some additional context, the main library used by all these packages is SPICE, a C library written and maintained by JPL. https://naif.jpl.nasa.gov/naif/aboutspice.html
It dates back to 1982, IIRC. And yeah, as mentioned you can still telnet in and check your calculations using their reference implementation.
The C library has been wrapped many times, but remains the main implementation at the core, and is used by a ton of missions and spacecraft for determining sun up/down times, pointing angles for heavenly bodies, time and precise keeping, etc etc.
I used it here to determine the relative angle of the sun at one of my favorite spots on the moon: https://api.jodavaho.io/s/readme
The software reads "kernel" files, which are very precise tables of positions over time, shape, etc, and can output just about anything you'd want to know about the layout of the solar system with precision good enough for whatever you'd want. Publishing a new kernel file is an infrequent, but fairly major affair, afaict.
It's a really fascinating look at what is required to do business in space. I recommend someone peruse their training materials for answers to questions you never thought about like: "If you want to view a crater during sunrise to get the nice shadows, what do you even mean "sunrise"?" which gets weird to answer because of speed of light and cosmic distances.
Re: JPL Horizons on-line solar system data and ephemeris computation service
#7I love that the primary interface to Horizons is still via Telnet ^_^ I hope they keep that interface forever.
It made me wonder how old the Horizons system is... I couldn't find any information. I would've guessed it dates back to the age of UNIX workstations and NSFNET, given the "e-mail" [sic] interface that produces either pure ASCII or PostScript.
Re: JPL Horizons on-line solar system data and ephemeris computation service
#8This group at JPL is the canonical source for solar system ephemeris, including planets and small bodies. The underlying models are numerically integrated equations of motion that I’m sure include all kinds of corrections, especially for bodies of great interest — such as Mars, or moons being considered for science visits. I used to use the python package “jplephem” to support ephemeris queries, but I understand that…
Indeed, I've met many of them and worked with some of them. One of the main devs for this webapi project, who is a delight to work with, was just laid off sadly. Just for some additional context, the main library used by all these packages is SPICE, a C library written and maintained by JPL. https://naif.jpl.nasa.gov/naif/aboutspice.html It dates back to 1982, IIRC. And yeah, as mentioned you can still telnet in and…
You of course know this, saying it for others: The files themselves are relatively unassuming, moderate sized (~3.1 GB the largest of them) binary files which contain the distilled best knowledge of where the planets and their moons will be based on humanity's best observations (visual, radar, trajectory data from probes, etc). They each have a validity window within which you can query the relative transforms between the objects the database contains. For example de441.bsp was published in 2020 and you can use it to predict the relative positions of any of the planets/moons it contains between the years −13200 to 17191. Or if you don't need to look that far in time you can use one of the smaller models like de440s.bsp (32 MB) which is good between 1849 to 2150.
Re: JPL Horizons on-line solar system data and ephemeris computation service
#9This group at JPL is the canonical source for solar system ephemeris, including planets and small bodies. The underlying models are numerically integrated equations of motion that I’m sure include all kinds of corrections, especially for bodies of great interest — such as Mars, or moons being considered for science visits. I used to use the python package “jplephem” to support ephemeris queries, but I understand that…
Indeed, I've met many of them and worked with some of them. One of the main devs for this webapi project, who is a delight to work with, was just laid off sadly. Just for some additional context, the main library used by all these packages is SPICE, a C library written and maintained by JPL. https://naif.jpl.nasa.gov/naif/aboutspice.html It dates back to 1982, IIRC. And yeah, as mentioned you can still telnet in and…
Re: JPL Horizons on-line solar system data and ephemeris computation service
#10This group at JPL is the canonical source for solar system ephemeris, including planets and small bodies. The underlying models are numerically integrated equations of motion that I’m sure include all kinds of corrections, especially for bodies of great interest — such as Mars, or moons being considered for science visits. I used to use the python package “jplephem” to support ephemeris queries, but I understand that…
Indeed, I've met many of them and worked with some of them. One of the main devs for this webapi project, who is a delight to work with, was just laid off sadly. Just for some additional context, the main library used by all these packages is SPICE, a C library written and maintained by JPL. https://naif.jpl.nasa.gov/naif/aboutspice.html It dates back to 1982, IIRC. And yeah, as mentioned you can still telnet in and…