Table of Contents

Class GribIdentification

Namespace
EncDotNet.S100.Datasets.Grib
Assembly
EncDotNet.S100.Datasets.Grib.dll

The identification section (Section 1) of a GRIB2 message: who made it, with which tables, and its reference time.

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

Constructors

GribIdentification(ushort, ushort, byte, byte, byte, DateTime, byte, byte)

The identification section (Section 1) of a GRIB2 message: who made it, with which tables, and its reference time.

public GribIdentification(ushort Centre, ushort SubCentre, byte MasterTablesVersion, byte LocalTablesVersion, byte ReferenceTimeSignificance, DateTime ReferenceTime, byte ProductionStatus, byte DataType)

Parameters

Centre ushort

The originating centre (common code table C-11), for example 7 for NCEP or 98 for ECMWF.

SubCentre ushort

The originating sub-centre, defined by the centre.

MasterTablesVersion byte

The GRIB master tables version (code table 1.0).

LocalTablesVersion byte

The local tables version (code table 1.1); 0 when local tables aren't used.

ReferenceTimeSignificance byte

What the reference time means (code table 1.2): 0 analysis, 1 start of forecast, 2 verifying time of forecast, 3 observation time.

ReferenceTime DateTime

The reference time, in UTC: for a forecast, the model run time.

ProductionStatus byte

The production status (code table 1.3), for example 0 operational.

DataType byte

The type of processed data (code table 1.4), for example 1 forecast products.

Properties

Centre

The originating centre (common code table C-11), for example 7 for NCEP or 98 for ECMWF.

public ushort Centre { get; init; }

Property Value

ushort

CentreName

A short name for Centre, for example "NCEP", or null when the centre isn't one of the few this decoder knows (see GetName(ushort)).

public string? CentreName { get; }

Property Value

string

DataType

The type of processed data (code table 1.4), for example 1 forecast products.

public byte DataType { get; init; }

Property Value

byte

LocalTablesVersion

The local tables version (code table 1.1); 0 when local tables aren't used.

public byte LocalTablesVersion { get; init; }

Property Value

byte

MasterTablesVersion

The GRIB master tables version (code table 1.0).

public byte MasterTablesVersion { get; init; }

Property Value

byte

ProductionStatus

The production status (code table 1.3), for example 0 operational.

public byte ProductionStatus { get; init; }

Property Value

byte

ReferenceTime

The reference time, in UTC: for a forecast, the model run time.

public DateTime ReferenceTime { get; init; }

Property Value

DateTime

ReferenceTimeSignificance

What the reference time means (code table 1.2): 0 analysis, 1 start of forecast, 2 verifying time of forecast, 3 observation time.

public byte ReferenceTimeSignificance { get; init; }

Property Value

byte

SubCentre

The originating sub-centre, defined by the centre.

public ushort SubCentre { get; init; }

Property Value

ushort