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
NamestringThe axis name (
time,depth,latitude,longitude).DescendingboolTrue when its values decrease (a negative
averageSpacing).Minimumdouble?The smallest value (
actual_range), if known.Maximumdouble?The largest value (
actual_range), if known.Spacingdouble?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
IsLatitude
True for the latitude axis.
public bool IsLatitude { get; }
Property Value
IsLongitude
True for the longitude axis.
public bool IsLongitude { get; }
Property Value
IsTime
True for the time axis.
public bool IsTime { get; }
Property Value
Maximum
The largest value (actual_range), if known.
public double? Maximum { get; init; }
Property Value
Minimum
The smallest value (actual_range), if known.
public double? Minimum { get; init; }
Property Value
Name
The axis name (time, depth, latitude, longitude).
public string Name { get; init; }
Property Value
Spacing
The distance between points (averageSpacing, without its sign), if numeric.
public double? Spacing { get; init; }