Versions in this module Expand all Collapse all v0 v0.0.6 Oct 25, 2026 v0.0.5 Oct 25, 2026 v0.0.4 Oct 24, 2026 Changes in this version type Message + func (m *Message) WebP() ([]byte, error) + func (m *Message) WebPImage() (image.Image, error) + func (m *Message) WebPInfo() (WebPInfo, error) + type WebPInfo struct + Animated bool + Height int + Lossless bool + Width int v0.0.3 Oct 23, 2026 v0.0.2 Oct 20, 2026 Changes in this version + var ErrBadSectionLength = errors.New("grib: bad section length") + var ErrNotGRIB2 = errors.New("grib: not a GRIB message") + var ErrTruncated = errors.New("grib: truncated") + var ErrUnsupportedEdition = errors.New("grib: unsupported GRIB edition") + type Calendar struct + TemplateNumber int + TypeOfCalendar int + type Chemical struct + AerosolType int + ConstituentType int + ScaleFactorOfFirstSize ScaledField + ScaleFactorOfFirstWavelength ScaledField + ScaleFactorOfSecondSize ScaledField + ScaleFactorOfSecondWavelength ScaledField + ScaledValueOfFirstSize ScaledField + ScaledValueOfFirstWavelength ScaledField + ScaledValueOfSecondSize ScaledField + ScaledValueOfSecondWavelength ScaledField + SourceSinkChemicalPhysicalProcess int + TypeOfSizeInterval int + TypeOfWavelengthInterval int + type DataRep struct + Fields *spec.Walk + NumValues int + TemplateNumber int + type ErrSectionAbsent struct + Number int + func (e *ErrSectionAbsent) Error() string + type ErrUnknownTemplate struct + Number int + Section int + func (e *ErrUnknownTemplate) Error() string + type ErrUnsupportedBitmap struct + Indicator int + func (e *ErrUnsupportedBitmap) Error() string + type File struct + func Open(path string, opts ...Option) (*File, error) + func OpenReader(r io.ReaderAt, size int64, opts ...Option) (*File, error) + func (f *File) Close() error + func (f *File) Message(i int) (*Message, error) + func (f *File) Messages() iter.Seq2[*Message, error] + func (f *File) NumMessages() (int, error) + func (f *File) ValuesAll(workers ...int) ([][]float32, error) + type ForecastTime struct + Overflow bool + Raw uint32 + Unit int + Value time.Duration + type Identification struct + Calendar *Calendar + Centre int + CentreName string + Edition int + LocalTableVersion int + MasterTableVersion int + ProductionStatus int + ReferenceTime time.Time + SubCentre int + TypeOfProcessedData int + type Level struct + HasValue bool + Scale float64 + ScaleFactorRaw uint8 + ScaledValueRaw uint32 + Type int + type MarsLabelling struct + Class int + ExperimentVersionNumber string + Stream int + Type int + type Message struct + func (m *Message) DataRep() (*DataRep, error) + func (m *Message) Discipline() int + func (m *Message) Edition() int + func (m *Message) GRIB1() (*grib1.Message, bool) + func (m *Message) Grid() (*grid.Definition, error) + func (m *Message) Identification() (*Identification, error) + func (m *Message) Index() int + func (m *Message) MarsLabelling() (*MarsLabelling, bool) + func (m *Message) Offset() int64 + func (m *Message) Product() (*Product, error) + func (m *Message) Section(n int) (*Section, error) + func (m *Message) Sections() []int + func (m *Message) Size() int + func (m *Message) Step() (time.Duration, bool) + func (m *Message) StepRange() (begin, end time.Time, ok bool) + func (m *Message) Values() ([]float32, error) + func (m *Message) Values64() ([]float64, error) + type Option func(*fileConfig) + func WithLenientEndSection() Option + type ProbabilityLimit struct + HasValue bool + ScaleFactorRaw uint8 + ScaledValueRaw uint32 + type Product struct + Chemical *Chemical + Edition int + EndOfOverallInterval *time.Time + ForecastTime *ForecastTime + Level1 *Level + Level2 *Level + NV int + ParameterCategory int + ParameterName string + ParameterNumber int + ProbabilityLower *ProbabilityLimit + ProbabilityType int + ProbabilityUpper *ProbabilityLimit + TemplateNumber int + TypeOfGeneratingProcess int + TypeOfStatisticalProcessing int + type ScaledField struct + Valid bool + Value int + type Section struct + Data []byte + Length int + Number int + type SectionRef struct + Length int + Number int + Off int64 v0.0.1-rc1 Oct 19, 2026