libera_utils.l1a.day_window.day_bounds#

libera_utils.l1a.day_window.day_bounds(day: date) → DayBounds#

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

Parameters:

day (datetime.date) – Applicable UTC calendar day.

Returns:

(D − DAY_BUFFER, D, D + 1, D + 1 + DAY_BUFFER) as timezone-aware UTC datetimes.

Return type:

DayBounds