ExGrib.Grib2.Section0 (ex_grib v0.0.1) View Source

Section 0 contains the header for a Grib file.

Indicator section

https://www.nco.ncep.noaa.gov/pmb/docs/grib2/grib2_doc/grib2_sect0.shtml

Link to this section Summary

Link to this section Types

Specs

file_size() :: integer()

Specs

input() :: binary()

Specs

t() ::
  {:ok,
   %ExGrib.Grib2.Section0{
     discipline: ExGrib.Grib2.Section0.Discipline.t(),
     file_size: file_size()
   }}
  | :error

Link to this section Functions

Specs

parse(input()) :: t()