jplhorizons.download_jpl_de

jplhorizons.download_jpl_de(dename='de440s', output=None, overwrite=False)

Download JPL development ephemeris file (intended to be used one time).

Parameters

dename : str, default = 'de440s'

Name of the ephemeris file to download. Default is "de440s". See https://ssd.jpl.nasa.gov/ftp/eph/planets/bsp/ for available files.

output : str, pathlib.Path, default = None

Name of the output file path. If not provided, it will be saved into this package’s kernels/ directory. Default is None.

overwrite : bool, default = False

If True, overwrite the existing file if it exists. Default is False, i.e., not download any file but returns the path to the existing one.

Returns

output : pathlib.Path

Path to the downloaded or existing ephemeris file.

existed : bool

True if the file already existed, False if it was downloaded.