libera_utils.l1a.day_coverage#

Day-coverage evaluation for the L1A day-assembly completeness check.

Functions

evaluate_day_coverage(intervals, *, day, policy)

Evaluate L0 time-span coverage of the buffered day window [D - B, D + 1 + B].

measure_time_axis_coverage(times, *, day)

Measure how much of a day and its buffers a time axis occupies.

overlaps_day_window(start, end, *, day)

Return True if the closed span [start, end] touches the closed day window of day.

Classes

DayCoverageResult(mode, covers_window, ...)

Whether L0 spans reach both edges of the buffered day window, and how much of it they cover.

TimeAxisCoverage(day_frac, left_frac, ...)

What a granule's own time axis says about its occupancy of a day and its buffers.