layout: default title: RasterDimension parent: Core Classes —
dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components.Layers
RasterDimension Class
A dimension may be used to represent real physical dimensions such as time or depth/height. It may also be used to represent more abstract quantities such as station id or station-time pair. For example, if your temperature data has a corresponding Date dimension field representing the day it was captured, and your salinity data has a Depth dimension field representing the depth at which it was measured, the Dimensions field for that variable would be Date and Depth.
public class RasterDimension :
System.IEquatable<dymaptic.GeoBlazor.Core.Components.Layers.RasterDimension>
Inheritance System.Object 🡒 RasterDimension
Implements System.IEquatable<RasterDimension>
Constructors
RasterDimension(string, string, string, object[], Nullable, Nullable, string, double[]) Constructor
A dimension may be used to represent real physical dimensions such as time or depth/height. It may also be used to represent more abstract quantities such as station id or station-time pair. For example, if your temperature data has a corresponding Date dimension field representing the day it was captured, and your salinity data has a Depth dimension field representing the depth at which it was measured, the Dimensions field for that variable would be Date and Depth.
public RasterDimension(string Name, string? Description, string? Unit, object[]? Values, System.Nullable<bool> HasRegularIntervals, System.Nullable<double> Interval, string? IntervalUnit, double[]? Extent);
Parameters
Name
System.String
Dimension name.
Description
System.String
Dimension description.
Unit
System.String
Dimension unit.
Values
System.Object[]
An array of single values or tuples [min, max] each defining a range of valid values along the specified dimension.
HasRegularIntervals
System.Nullable<System.Boolean>
Indicates if the dimension is recorded at regular intervals.
Interval
System.Nullable<System.Double>
Dimension interval.
IntervalUnit
System.String
Dimension interval unit.
Extent
System.Double[]
The extent of dimension values.
Properties
RasterDimension.Description Property
Dimension description.
public string? Description { get; set; }
Property Value
RasterDimension.Extent Property
The extent of dimension values.
public double[]? Extent { get; set; }
Property Value
RasterDimension.HasRegularIntervals Property
Indicates if the dimension is recorded at regular intervals.
public System.Nullable<bool> HasRegularIntervals { get; set; }
Property Value
System.Nullable<System.Boolean>
RasterDimension.Interval Property
Dimension interval.
public System.Nullable<double> Interval { get; set; }
Property Value
System.Nullable<System.Double>
RasterDimension.IntervalUnit Property
Dimension interval unit.
public string? IntervalUnit { get; set; }
Property Value
RasterDimension.Name Property
Dimension name.
public string Name { get; set; }
Property Value
RasterDimension.Unit Property
Dimension unit.
public string? Unit { get; set; }
Property Value
RasterDimension.Values Property
An array of single values or tuples [min, max] each defining a range of valid values along the specified dimension.
public object[]? Values { get; set; }