Table of Contents

Struct WeatherBand

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

One colour band of a weather fill: a value range in the field's stored unit, the palette token of its colour and a legend label.

public readonly record struct WeatherBand : IEquatable<WeatherBand>
Implements
Inherited Members

Constructors

WeatherBand(float, float, string, string)

One colour band of a weather fill: a value range in the field's stored unit, the palette token of its colour and a legend label.

public WeatherBand(float Minimum, float Maximum, string Token, string Label)

Parameters

Minimum float

The lower bound, inclusive, in the field's stored unit.

Maximum float

The upper bound, exclusive, in the field's stored unit.

Token string

The colour token in Palette.

Label string

The legend label, in the unit the band is defined in (e.g. knots).

Properties

Label

The legend label, in the unit the band is defined in (e.g. knots).

public string Label { get; init; }

Property Value

string

Maximum

The upper bound, exclusive, in the field's stored unit.

public float Maximum { get; init; }

Property Value

float

Minimum

The lower bound, inclusive, in the field's stored unit.

public float Minimum { get; init; }

Property Value

float

Token

The colour token in Palette.

public string Token { get; init; }

Property Value

string