Package ucar.nc2.dataset
Enum VerticalCT.Type
- java.lang.Object
-
- java.lang.Enum<VerticalCT.Type>
-
- ucar.nc2.dataset.VerticalCT.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<VerticalCT.Type>
- Enclosing class:
- VerticalCT
public static enum VerticalCT.Type extends Enum<VerticalCT.Type>
Enumeration of known Vertical transformations.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Existing3DField
HybridHeight
HybridSigmaPressure
LnPressure
OceanS
OceanSG1
OceanSG2
OceanSigma
Sigma
Sleve
WRFEta
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VerticalCT.Type
getType(String name)
Find the VerticalCT.Type that matches this name.String
toString()
static VerticalCT.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static VerticalCT.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HybridSigmaPressure
public static final VerticalCT.Type HybridSigmaPressure
-
HybridHeight
public static final VerticalCT.Type HybridHeight
-
LnPressure
public static final VerticalCT.Type LnPressure
-
OceanSigma
public static final VerticalCT.Type OceanSigma
-
OceanS
public static final VerticalCT.Type OceanS
-
Sleve
public static final VerticalCT.Type Sleve
-
Sigma
public static final VerticalCT.Type Sigma
-
OceanSG1
public static final VerticalCT.Type OceanSG1
-
OceanSG2
public static final VerticalCT.Type OceanSG2
-
Existing3DField
public static final VerticalCT.Type Existing3DField
-
WRFEta
public static final VerticalCT.Type WRFEta
-
-
Method Detail
-
values
public static VerticalCT.Type[] 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 (VerticalCT.Type c : VerticalCT.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VerticalCT.Type 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 nameNullPointerException
- if the argument is null
-
getType
public static VerticalCT.Type getType(String name)
Find the VerticalCT.Type that matches this name.- Parameters:
name
- find this name- Returns:
- VerticalCT.Type or null if no match.
-
toString
public String toString()
- Overrides:
toString
in classEnum<VerticalCT.Type>
-
-