libera_utils.time.utc2et_wrapper#

libera_utils.time.utc2et_wrapper(iso_str: str | Collection[str]) float | ndarray#

Convert UTC ISO strings to ephemeris times. https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/utc2et_c.html Decorated wrapper for spiceypy.utc2et that will automatically furnish the latest metakernel and retry if the first call raises an exception.

Parameters:

iso_str (Union[str, Collection[str]]) – The UTC to convert to ephemeris time

Returns:

Ephemeris time

Return type:

float or numpy.ndarray