imap_processing.spice.time.met_to_utc#

imap_processing.spice.time.met_to_utc(met: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes], precision: int = 9) ndarray[tuple[int, ...], dtype[str]]#

Convert mission elapsed time (MET) to UTC.

Parameters:
  • met (float, numpy.ndarray) – Number of seconds since epoch according to the spacecraft clock.

  • precision (int) – The number of digits of precision to which fractional seconds are to be computed.

Returns:

The mission elapsed time converted to UTC string. The UTC string(s) returned will be of the form ‘1987-04-12T16:31:12.814’ with the fractional seconds precision as specified by the precision keyword.

Return type:

numpy.ndarray[str]