Class WeatherServiceParameter
- Namespace
- EncDotNet.S100.Collections.Weather
- Assembly
- EncDotNet.S100.Collections.dll
A parameter a GRIB2 service offers: its NCEP short name and level as the .idx files spell them.
public sealed record WeatherServiceParameter : IEquatable<WeatherServiceParameter>
- Inheritance
-
WeatherServiceParameter
- Implements
- Inherited Members
Constructors
WeatherServiceParameter(string, string, string, bool)
A parameter a GRIB2 service offers: its NCEP short name and level as the .idx files spell them.
public WeatherServiceParameter(string Id, string Name, string Level, bool Default = false)
Parameters
IdstringThe short name, e.g.
HTSGWorUGRD.NamestringThe display name, e.g. "Significant wave height".
LevelstringThe level as
.idxlines spell it, e.g.surfaceor10 m above ground.DefaultboolTrue when the parameter is chosen by default.
Properties
Default
True when the parameter is chosen by default.
public bool Default { get; init; }
Property Value
Id
The short name, e.g. HTSGW or UGRD.
public string Id { get; init; }
Property Value
IndexMatch
The .idx match for the parameter: :UGRD:10 m above ground:.
public string IndexMatch { get; }
Property Value
Level
The level as .idx lines spell it, e.g. surface or 10 m above ground.
public string Level { get; init; }
Property Value
Name
The display name, e.g. "Significant wave height".
public string Name { get; init; }