libera_utils.l1a.data_time_extractors#

Lightweight data-time range extraction for L0 packet files.

Used by the Data Ingester to assign applicable dates from science data times (camera image times, radiometer sample times, spacecraft ephemeris/attitude sample times) without full L1A NetCDF assembly.

Functions

extract_data_time_range(packet_file, apid, *)

Extract the min/max science data time span from a single packet file.

extract_data_time_range_from_dataset(...)

Extract the min/max science data time span from an already-parsed packet dataset.

is_data_time_indexed_apid(apid)

Return True if applicable-date indexing should use data times for this APID.

Exceptions

DataTimeUndeterminedError

Raised when data times cannot be determined from a packet file.