libera_utils.time.scs2e_wrapper#
- libera_utils.time.scs2e_wrapper(sclk_str: str | Collection[str]) float | ndarray #
Convert SCLK strings to ephemeris time. https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/scs2e_c.html Decorated wrapper for spiceypy.scs2e that will automatically furnish the latest metakernel and retry if the first call raises an exception.
- Parameters:
sclk_str (Union[str, Collection[str]]) – Spacecraft clock string
- Returns:
Ephemeris time
- Return type:
Union[float, numpy.ndarray]