Package ucar.nc2.constants
Enum AxisType
- All Implemented Interfaces:
Serializable,Comparable<AxisType>
Enumeration of Coordinate Axis types. These are used for tagging georeferencing axes.
Do not change the ordering of these enums, as they are used in protobuf messages, only add new ones onto the end.
TODO: remove dependency on ordering.
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionintaxis ordering: runTime - ensemble - time - z - y - x or elev - azimuth - distancestatic AxisTypeFind the AxisType that matches this name.booleanisHoriz()booleanisTime()booleanisVert()static AxisTypeReturns the enum constant of this type with the specified name.static AxisType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RunTime
-
Ensemble
-
Time
-
GeoX
-
GeoY
-
GeoZ
-
Lat
-
Lon
-
Height
-
Pressure
-
RadialAzimuth
-
RadialDistance
-
RadialElevation
-
Spectral
-
TimeOffset
-
Dimension
-
SimpleGeometryX
-
SimpleGeometryY
-
SimpleGeometryZ
-
SimpleGeometryID
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getType
Find the AxisType that matches this name.- Parameters:
name- match this name- Returns:
- AxisType or null if no match.
-
axisOrder
public int axisOrder()axis ordering: runTime - ensemble - time - z - y - x or elev - azimuth - distance- Returns:
- order
-
getCFAxisName
-
isHoriz
public boolean isHoriz() -
isTime
public boolean isTime() -
isVert
public boolean isVert()
-