libera_utils.l1a.packet_slicing.find_sample_dims#
- libera_utils.l1a.packet_slicing.find_sample_dims(dataset: Dataset) set[str]#
Identify the sample axes of a decoded L1A Dataset.
A sample axis is any dimension other than
PACKETthat either carries its owndatetime64dimension coordinate (e.g.RAD_FULL_FPE_TIME) or owns a*_packet_indexvariable (or, forCAMERA_TIME,CAMERA_PACKET_INDEX). The second rule also catches sample coordinates in Datasets opened withdecode_times=False, where the coordinate is a plain integer array.Array-index dimensions such as
ARRAY_128are excluded by both rules.