Skip to main content

average_window_start

Function average_window_start 

Source
pub fn average_window_start(hour: i64, window_hours: i64) -> Result<i64>
Available on crate feature encoder only.
Expand description

First hour of the window whose interval ends at hour.

GFS interval averages reset every window_hours: f001–f006 average from hour 0, f007–f012 from hour 6, and so on. The NAM’s accumulations reset the same way every twelve: f001–f012 accumulate from hour 0, f013–f024 from hour 12.