Enum AxisType

  • All Implemented Interfaces:
    Serializable, Comparable<AxisType>

    public enum AxisType
    extends Enum<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 Detail

      • RunTime

        public static final AxisType RunTime
      • Ensemble

        public static final AxisType Ensemble
      • Time

        public static final AxisType Time
      • GeoX

        public static final AxisType GeoX
      • GeoY

        public static final AxisType GeoY
      • GeoZ

        public static final AxisType GeoZ
      • Height

        public static final AxisType Height
      • Pressure

        public static final AxisType Pressure
      • RadialAzimuth

        public static final AxisType RadialAzimuth
      • RadialDistance

        public static final AxisType RadialDistance
      • RadialElevation

        public static final AxisType RadialElevation
      • Spectral

        public static final AxisType Spectral
      • TimeOffset

        public static final AxisType TimeOffset
      • Dimension

        public static final AxisType Dimension
      • SimpleGeometryX

        public static final AxisType SimpleGeometryX
      • SimpleGeometryY

        public static final AxisType SimpleGeometryY
      • SimpleGeometryZ

        public static final AxisType SimpleGeometryZ
      • SimpleGeometryID

        public static final AxisType SimpleGeometryID
    • Method Detail

      • values

        public static AxisType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AxisType c : AxisType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AxisType valueOf​(String name)
        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 name
        NullPointerException - if the argument is null
      • getType

        public static AxisType getType​(String name)
        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

        public String getCFAxisName()
      • isHoriz

        public boolean isHoriz()
      • isTime

        public boolean isTime()
      • isVert

        public boolean isVert()