Table of Contents

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

Id string

The short name, e.g. HTSGW or UGRD.

Name string

The display name, e.g. "Significant wave height".

Level string

The level as .idx lines spell it, e.g. surface or 10 m above ground.

Default bool

True when the parameter is chosen by default.

Properties

Default

True when the parameter is chosen by default.

public bool Default { get; init; }

Property Value

bool

Id

The short name, e.g. HTSGW or UGRD.

public string Id { get; init; }

Property Value

string

IndexMatch

The .idx match for the parameter: :UGRD:10 m above ground:.

public string IndexMatch { get; }

Property Value

string

Level

The level as .idx lines spell it, e.g. surface or 10 m above ground.

public string Level { get; init; }

Property Value

string

Name

The display name, e.g. "Significant wave height".

public string Name { get; init; }

Property Value

string