Table of Contents

Class Visibility

Namespace
Cavok
Assembly
Cavok.dll

Prevailing visibility, in metres (0800, 9999) or statute miles (1 1/2SM).

public sealed record Visibility : IEquatable<Visibility>
Inheritance
Visibility
Implements
Inherited Members

Properties

IsLessThan

True for "less than" (M1/4SM).

public bool IsLessThan { get; init; }

Property Value

bool

IsMissing

True when the visibility is missing (////).

public bool IsMissing { get; init; }

Property Value

bool

IsMoreThan

True for "more than" (P6SM).

public bool IsMoreThan { get; init; }

Property Value

bool

IsTenKmOrMore

True for 9999: 10 km or more.

public bool IsTenKmOrMore { get; init; }

Property Value

bool

Meters

Visibility in metres when reported in metres. 9999 is stored as 10000 with IsTenKmOrMore set.

public int? Meters { get; init; }

Property Value

int?

Minimum

Minimum visibility with its direction (1500SW), if reported.

public MinimumVisibility? Minimum { get; init; }

Property Value

MinimumVisibility

NoDirectionalVariation

True for NDV (no directional variation; automatic stations).

public bool NoDirectionalVariation { get; init; }

Property Value

bool

StatuteMiles

Visibility in statute miles when reported in miles.

public double? StatuteMiles { get; init; }

Property Value

double?

Methods

ToMeters()

The prevailing visibility in metres, converting statute miles.

public double? ToMeters()

Returns

double?

Metres, or null when no prevailing visibility is known.