libera_utils.time.sce2s_wrapper#

libera_utils.time.sce2s_wrapper(et: float | Collection[float] | ndarray) str | ndarray#

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

Parameters:

et (Union[float, Collection[float], numpy.ndarray]) – Ephemeris time

Returns:

SCLK string

Return type:

Union[str, Collection[str]]