ADCS.environment.ephemeris.de441 module

JPL DE441 planetary ephemeris from its two NAIF SPK files.

class ADCS.environment.ephemeris.de441.DE441(filepath=None)[source]

Bases: DE421

DE441 with the same interface and lifecycle as DE421.

NAIF publishes DE441 as two BSP partitions. Both files are downloaded to the per-user cache on first use and queried together, unless ADCS_DE441_EPHEMERIS_PATH names the first partition, in which case both are looked for (and downloaded) in that file’s directory. Their combined size is about 3 GB, so construction downloads a substantial amount of data when neither file is already available.

Parameters:

filepath (str | Path | None)

DOWNLOAD_BASE_URL = 'https://naif.jpl.nasa.gov/pub/naif/generic_kernels/spk/planets/'
ENV_PATH_VARIABLE = 'ADCS_DE441_EPHEMERIS_PATH'
KERNEL_FILENAMES = ('de441_part-1.bsp', 'de441_part-2.bsp')