calceph

C library for accessing binary planetary ephemeris files

brewmacoslinux
Try with needOr install directly
Source

About

C library to access the binary planetary ephemeris files

Commands

calceph

Examples

Query planetary position at a specific Julian date$ calceph -jd 2451545.0 -body 1 -unit km
Load ephemeris file and retrieve Mercury coordinates$ calceph -f ephemeris.bin -jd 2451545.0 -body 1
Get Earth position in AU units for a date range$ calceph -jd 2451545.0 -body 3 -unit au