Class GribIdentification
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
CentreushortThe originating centre (common code table C-11), for example
7for NCEP or98for ECMWF.SubCentreushortThe originating sub-centre, defined by the centre.
MasterTablesVersionbyteThe GRIB master tables version (code table 1.0).
LocalTablesVersionbyteThe local tables version (code table 1.1);
0when local tables aren't used.ReferenceTimeSignificancebyteWhat the reference time means (code table 1.2):
0analysis,1start of forecast,2verifying time of forecast,3observation time.ReferenceTimeDateTimeThe reference time, in UTC: for a forecast, the model run time.
ProductionStatusbyteThe production status (code table 1.3), for example
0operational.DataTypebyteThe type of processed data (code table 1.4), for example
1forecast 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
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
DataType
The type of processed data (code table 1.4), for example 1 forecast products.
public byte DataType { get; init; }
Property Value
LocalTablesVersion
The local tables version (code table 1.1); 0 when local tables aren't used.
public byte LocalTablesVersion { get; init; }
Property Value
MasterTablesVersion
The GRIB master tables version (code table 1.0).
public byte MasterTablesVersion { get; init; }
Property Value
ProductionStatus
The production status (code table 1.3), for example 0 operational.
public byte ProductionStatus { get; init; }
Property Value
ReferenceTime
The reference time, in UTC: for a forecast, the model run time.
public DateTime ReferenceTime { get; init; }
Property Value
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
SubCentre
The originating sub-centre, defined by the centre.
public ushort SubCentre { get; init; }