libera_utils.l1a.day_window#

Day-window trimming and data-time checks for L1A datasets.

Functions

check_data_times(dataset)

Log a warning for each data-time axis that repeats a time or steps backwards.

day_bounds(day)

Return the bounds of day and of its day window, DAY_BUFFER either side.

trim_l1a_to_day_window(dataset, *, day)

Trim a decoded L1A dataset to the packets inside the closed day window of day.

Classes

DayBounds(window_start, day_start, day_end, ...)

Ends of a UTC day and of its buffered day window, as timezone-aware UTC datetimes.