julia 1.7 or later 

The Printf package

JPL ASCII ephemeris ascp01950.440t is required by  by default (see data). It
should be in the current working directory with header.440t.

Other ephemerides should also work, but 440t provides TT-TDB if you need
that correction for sub-microsecond precision.  Otherwise you may enter the time
in TT which is TAI + 37.185s for millisecond precision.

There are no dependencies on Julia language astronomy modules.  The code is
written in pure Julia. Printf is used to simplify written output and
diagnostics. Specifically, the program does not call any of the current
Julia astronomy libraries.

You may download the JPL ASCII data wth FTP from ssd.jpl.nasa.gov.
See Ryan S. Park et al, The JPL planetary and lunar ephemerides DE440 and DE441
in AJ 161:105 (2021) for details and 

https://www.astrogreg.com/jpl-ephemeris-format/jpl-ephemeris-format.html

for an explanation of how the code works with examples in Python and javascript.

       





 
