Table of Contents

Struct GribParameterCode

Namespace
EncDotNet.S100.Datasets.Weather
Assembly
EncDotNet.S100.Datasets.Weather.dll

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

Discipline byte

The discipline, e.g. 0 for meteorological products or 10 for oceanographic products.

Category byte

The parameter category within the discipline, e.g. 2 for momentum.

Number byte

The parameter number within the category, e.g. 2 for 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

byte

Discipline

The discipline, e.g. 0 for meteorological products or 10 for oceanographic products.

public byte Discipline { get; init; }

Property Value

byte

Number

The parameter number within the category, e.g. 2 for the u-component of wind.

public byte Number { get; init; }

Property Value

byte

Methods

ToString()

Returns the code as "discipline,category,number", e.g. "0,2,2".

public override string ToString()

Returns

string