libera_utils.l1a.packet_slicing.data_time_axes#
- libera_utils.l1a.packet_slicing.data_time_axes(dataset: Dataset) list[str]#
Return the axes that place a decoded L1A Dataset’s packets in time.
These are the sample axes (
find_sample_dims();CAMERA_TIMEfor WFOV SCI). A Dataset with no sample axis is placed by the packet time coordinate its APID’s packet configuration names, e.g.PACKET_JPSS_TIMEforjpss_sc_pos.- Parameters:
dataset (xr.Dataset) – Decoded L1A Dataset with a
PACKETdimension.- Returns:
Axis names, sorted. Empty for a Dataset with no sample axis and no packets.
- Return type:
- Raises:
ValueError – If
datasethas noPACKETdimension. If it has no sample axis and at least one packet, and it has noPKT_APIDvariable, its APID has no packet configuration, or it lacks the packet time variable that configuration names.