A script was needed to get ephemeris data on a daily basis from JPL and to write the data out in individual files. In the good old days, one would visithttps://ssd.jpl.nasa.gov/horizons.cgiand manually enter the required data to save out the file containing pointing data. The following...
import../horizonsapiimportstd/[asyncdispatch, strutils]#let's try a simple requestletcomOpt={#coFormat : "json", # data returned as "fake" JSONcoMakeEphem :"YES", coCommand :"10",#our target is the Sun, index 10coEphemType :"OBSERVER"}.toTable#observational parametersletephOpt={ eo...
您可以只使用astropy的get_body_barycentric(请注意,Horizons当前使用DE441星历表,因此下面的代码将下载...
The JPL HORIZONS on-line solar system data and ephemeris computation service provides access to key solar system data and flexible production of highly accurate ephemerides for solar system objects (603428 asteroids, 3184 comets, 176 planetary satellites, 8 planets, the Sun, L1, L2, select spacecr...
I'm writing a tiny Python library that fetches data from Horizons, JPL's solar system data and ephemeris computation service. An overview of their batch CGI ishere. While the script is simple, I would like to make it as clear and standardized as possible. ...