Struct GribParameterCode
A GRIB2 parameter identity: the discipline (Section 0, code table 0.0), the parameter category (code table 4.1) and the parameter number (code table 4.2) of a product definition template.
public readonly record struct GribParameterCode : IEquatable<GribParameterCode>
- Implements
- Inherited Members
Constructors
GribParameterCode(byte, byte, byte)
A GRIB2 parameter identity: the discipline (Section 0, code table 0.0), the parameter category (code table 4.1) and the parameter number (code table 4.2) of a product definition template.
public GribParameterCode(byte Discipline, byte Category, byte Number)
Parameters
DisciplinebyteThe discipline, e.g.
0for meteorological products or10for oceanographic products.CategorybyteThe parameter category within the discipline, e.g.
2for momentum.NumberbyteThe parameter number within the category, e.g.
2for the u-component of wind.
Properties
Category
The parameter category within the discipline, e.g. 2 for momentum.
public byte Category { get; init; }
Property Value
Discipline
The discipline, e.g. 0 for meteorological products or 10 for oceanographic products.
public byte Discipline { get; init; }
Property Value
Number
The parameter number within the category, e.g. 2 for the u-component of wind.
public byte Number { get; init; }
Property Value
Methods
ToString()
Returns the code as "discipline,category,number", e.g. "0,2,2".
public override string ToString()