Table of Contents

Class GribIndexEntry

Namespace
EncDotNet.S100.Collections.Weather
Assembly
EncDotNet.S100.Collections.dll

One line of a GRIB2 .idx inventory, as wgrib2 -s writes it.

public sealed record GribIndexEntry : IEquatable<GribIndexEntry>
Inheritance
GribIndexEntry
Implements
Inherited Members

Constructors

GribIndexEntry(string, long, string)

One line of a GRIB2 .idx inventory, as wgrib2 -s writes it.

public GribIndexEntry(string Number, long Offset, string Text)

Parameters

Number string

The message number (588, or 588.2 for a field inside a message).

Offset long

The message's byte offset in the GRIB2 file.

Text string

The whole line, e.g. 588:34343549:d=2026102718:UGRD:10 m above ground:3 hour fcst:.

Properties

Forecast

The forecast time (3 hour fcst, anl).

public string Forecast { get; }

Property Value

string

Level

The level (10 m above ground).

public string Level { get; }

Property Value

string

Number

The message number (588, or 588.2 for a field inside a message).

public string Number { get; init; }

Property Value

string

Offset

The message's byte offset in the GRIB2 file.

public long Offset { get; init; }

Property Value

long

Text

The whole line, e.g. 588:34343549:d=2026102718:UGRD:10 m above ground:3 hour fcst:.

public string Text { get; init; }

Property Value

string

Variable

The short name (UGRD).

public string Variable { get; }

Property Value

string

Methods

Matches(string)

True when the line is for the parameter match names (:UGRD:10 m above ground:).

public bool Matches(string match)

Parameters

match string

Returns

bool