datetime_conversions
Attributes
Functions
|
Convert a TDB date string to Julian Date. |
Module Contents
- convert_tdb_date_to_julian_date(input_tdb_date: str | Iterable[str], spice_kernel_dir: str = '') float[source]
Convert a TDB date string to Julian Date.
- Parameters:
input_tdb_date (str) – The input TDB date string in the format ‘YYYY-MM-DD’.
spice_kernel_dir (str, optional) – The directory containing SPICE kernel files. If not provided, the function will not load any SPICE kernels.
- Returns:
The Julian Date, as a float, corresponding to the input TDB date.
- Return type:
float