libera_utils.libera_spice.spice_utils.scs2e_wrapper#

libera_utils.libera_spice.spice_utils.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 (str or Collection[str]) – Spacecraft clock string

Returns:

Ephemeris time

Return type:

float or numpy.ndarray