layup_configs

Classes

AuxiliaryConfigs

Data class for holding auxiliary section configuration file keys and validating them.

LayupConfigs

Dataclass which stores configuration file keywords in dataclasses.

Module Contents

class AuxiliaryConfigs[source]

Data class for holding auxiliary section configuration file keys and validating them.

naif_base_url = 'https://naif.jpl.nasa.gov/pub/naif/generic_kernels'[source]
ssd_base_url = 'https://ssd.jpl.nasa.gov/ftp/eph'[source]
planet_ephemeris: str = 'de440s.bsp'[source]

filename of planet_ephemeris

planet_ephemeris_url: str = 'https://naif.jpl.nasa.gov/pub/naif/generic_kernels/spk/planets/de440s.bsp'[source]

url for planet_ephemeris

earth_predict: str = 'earth_2025_250826_2125_predict.bpc'[source]

filename of earth_predict

earth_predict_url: str = 'https://naif.jpl.nasa.gov/pub/naif/generic_kernels/pck/earth_2025_250826_2125_predict.bpc'[source]

url for earth_predict

earth_historical: str = 'earth_620120_250826.bpc'[source]

filename of earth_histoical

earth_historical_url: str = 'https://naif.jpl.nasa.gov/pub/naif/generic_kernels/pck/earth_620120_250826.bpc'[source]

url for earth_historical

earth_high_precision: str = 'earth_latest_high_prec.bpc'[source]

filename of earth_high_precision

earth_high_precision_url: str = 'https://naif.jpl.nasa.gov/pub/naif/generic_kernels/pck/earth_latest_high_prec.bpc'[source]

url of earth_high_precision

jpl_planets: str = 'linux_p1550p2650.440'[source]

filename of jpl_planets

jpl_planets_url: str = 'https://ssd.jpl.nasa.gov/ftp/eph/planets/Linux/de440/linux_p1550p2650.440'[source]

url of jpl_planets

jpl_small_bodies: str = 'sb441-n16.bsp'[source]

filename of jpl_small_bodies

jpl_small_bodies_url: str = 'https://ssd.jpl.nasa.gov/ftp/eph/small_bodies/asteroids_de441/sb441-n16.bsp'[source]

url of jpl_small_bodies

leap_seconds: str = 'naif0012.tls'[source]

filename of leap_seconds

leap_seconds_url: str = 'https://naif.jpl.nasa.gov/pub/naif/generic_kernels/lsk/naif0012.tls'[source]

url of leap_seconds

meta_kernel: str = 'meta_kernel.txt'[source]

filename of meta_kernel

observatory_codes: str = 'ObsCodes.json'[source]

filename of observatory_codes (uncompressed)

observatory_codes_compressed: str = 'ObsCodes.json.gz'[source]

filename of observatory_codes as compressed file

observatory_codes_compressed_url: str = 'https://minorplanetcenter.net/Extended_Files/obscodes_extended.json.gz'[source]

url of observatory_codes_compressed

orientation_constants: str = 'pck00010.pck'[source]

filename of observatory_constants

orientation_constants_url: str = 'https://naif.jpl.nasa.gov/pub/naif/generic_kernels/pck/pck00010.tpc'[source]

url of observatory_constants

debiasing_data: str = 'bias.dat'[source]

filename of debiasing data (uncompressed)

debiasing_data_compressed: str = 'debias_hires2018.tgz'[source]

filename of compressed debiasing_data

debiasing_data_compressed_url: str = 'ftp://ssd.jpl.nasa.gov/pub/ssd/debias/debias_hires2018.tgz'[source]

url of compressed debiasing_data

data_file_list: list[str] = [][source]

convenience list of all the file names

urls: dict[source]

url}

Type:

dictionary of {filename

data_files_to_download: list[str] = [][source]

list of files that need to be downloaded

ordered_kernel_files: list[str] = [][source]

list of kernels ordered from least to most precise - used to assemble meta_kernel file

registry: list[str][source]

the Pooch registry to define which files will be tracked and retrievable

property default_url[source]

returns a dictionary of the default urls used in this version of layup

property default_filenames[source]

returns a dictionary of the default filenames used in this version of layup

__post_init__()[source]

create lists of files and validate the auxiliary configs after initialization.

_validate_auxiliary_configs()[source]

validates the auxiliary config attributes after initialization.

_create_lists_auxiliary_configs()[source]

creates lists of the auxiliary config attributes after initialization.

Return type:

None

class LayupConfigs(config_file_location=None)[source]

Dataclass which stores configuration file keywords in dataclasses.

auxiliary: AuxiliaryConfigs = None[source]

auxiliaryConfigs dataclass which stores the keywords from the AUXILIARY section of the config file.

_read_configs_from_object(config_object)[source]

function that populates the class attributes

Parameters:

config_object (ConfigParser object) – ConfigParser object that has the config file read into it

Return type:

None

_populate_configs_class_with_default()[source]

function that populates the class attributes with their default values

Parameters:

None

Return type:

None