Skip to main content

split_segments

Function split_segments 

Source
pub fn split_segments(offsets: &[i64]) -> Result<Vec<Vec<i64>>>
Available on crate feature encoder only.
Expand description

Maximal runs of constant step (docs/format.md “segment”): a boundary falls between two frames exactly where the step changes, so a uniform axis is one segment and the GFS 240-hour axis is two.