split_section_chunks

Function split_section_chunks 

Source
pub fn split_section_chunks(grib_chunk: BufferReader) -> Grib2Sections
Expand description

Split the bytes of the GRIB file into individual GRIB chunks that represent sections

§Parameters

  • grib_chunk: Buffer containing individual GRIB definition

§Returns

Array of Section Buffers where the index of the item corresponds to the section number. If a section is missing, it will be represented as null