ucar.nc2.dataset
Class AxisType

java.lang.Object
  extended by ucar.nc2.dataset.AxisType

public class AxisType
extends java.lang.Object

Type-safe enumeration of netCDF Coordinate Axis types. These are used for tagging georeferencing axes.

Version:
$Revision:51 $ $Date:2006-07-12 17:13:13Z $
Author:
john caron

Field Summary
static AxisType Ensemble
          represents the ensemble coordinate
static AxisType GeoX
          represents a x coordinate
static AxisType GeoY
          represents a y coordinate
static AxisType GeoZ
          represents a z coordinate
static AxisType Height
          represents a vertical height coordinate
static AxisType Lat
          represents a latitude coordinate
static AxisType Lon
          represents a longitude coordinate
static AxisType Pressure
          represents a vertical pressure coordinate
static AxisType RadialAzimuth
          represents a radial azimuth coordinate
static AxisType RadialDistance
          represents a radial distance coordinate
static AxisType RadialElevation
          represents a radial elevation coordinate
static AxisType RunTime
          represents the runTime coordinate
static AxisType Time
          represents the time coordinate
 
Method Summary
 int compareTo(AxisType o)
          canonical ordering: (time, z, x, y) or (time, elevation, azimuth, distance)
static AxisType getType(java.lang.String name)
          Find the AxisType that matches this name.
 java.lang.String toString()
          Axis name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RunTime

public static final AxisType RunTime
represents the runTime coordinate


Ensemble

public static final AxisType Ensemble
represents the ensemble coordinate


Time

public static final AxisType Time
represents the time coordinate


GeoX

public static final AxisType GeoX
represents a x coordinate


GeoY

public static final AxisType GeoY
represents a y coordinate


GeoZ

public static final AxisType GeoZ
represents a z coordinate


Lat

public static final AxisType Lat
represents a latitude coordinate


Lon

public static final AxisType Lon
represents a longitude coordinate


Height

public static final AxisType Height
represents a vertical height coordinate


Pressure

public static final AxisType Pressure
represents a vertical pressure coordinate


RadialAzimuth

public static final AxisType RadialAzimuth
represents a radial azimuth coordinate


RadialDistance

public static final AxisType RadialDistance
represents a radial distance coordinate


RadialElevation

public static final AxisType RadialElevation
represents a radial elevation coordinate

Method Detail

getType

public static AxisType getType(java.lang.String name)
Find the AxisType that matches this name.

Parameters:
name - match this name
Returns:
AxisType or null if no match.

toString

public java.lang.String toString()
Axis name.

Overrides:
toString in class java.lang.Object
Returns:
the string name.

compareTo

public int compareTo(AxisType o)
canonical ordering: (time, z, x, y) or (time, elevation, azimuth, distance)