Table of Contents

Class ErddapAxis

Namespace
EncDotNet.S100.Collections.Weather
Assembly
EncDotNet.S100.Collections.dll

One axis of an ERDDAP griddap dataset, from its metadata.

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

Constructors

ErddapAxis(string, bool, double?, double?, double?)

One axis of an ERDDAP griddap dataset, from its metadata.

public ErddapAxis(string Name, bool Descending = false, double? Minimum = null, double? Maximum = null, double? Spacing = null)

Parameters

Name string

The axis name (time, depth, latitude, longitude).

Descending bool

True when its values decrease (a negative averageSpacing).

Minimum double?

The smallest value (actual_range), if known.

Maximum double?

The largest value (actual_range), if known.

Spacing double?

The distance between points (averageSpacing, without its sign), if numeric.

Properties

Descending

True when its values decrease (a negative averageSpacing).

public bool Descending { get; init; }

Property Value

bool

IsLatitude

True for the latitude axis.

public bool IsLatitude { get; }

Property Value

bool

IsLongitude

True for the longitude axis.

public bool IsLongitude { get; }

Property Value

bool

IsTime

True for the time axis.

public bool IsTime { get; }

Property Value

bool

Maximum

The largest value (actual_range), if known.

public double? Maximum { get; init; }

Property Value

double?

Minimum

The smallest value (actual_range), if known.

public double? Minimum { get; init; }

Property Value

double?

Name

The axis name (time, depth, latitude, longitude).

public string Name { get; init; }

Property Value

string

Spacing

The distance between points (averageSpacing, without its sign), if numeric.

public double? Spacing { get; init; }

Property Value

double?