Package ucar.nc2.grid
Enum GridTimeCoordinateSystem.Type
- java.lang.Object
-
- java.lang.Enum<GridTimeCoordinateSystem.Type>
-
- ucar.nc2.grid.GridTimeCoordinateSystem.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<GridTimeCoordinateSystem.Type>
- Enclosing class:
- GridTimeCoordinateSystem
public static enum GridTimeCoordinateSystem.Type extends Enum<GridTimeCoordinateSystem.Type>
Types of GridTimeCoordinateSystem.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Observation
Observational data, no runtimes.Offset
Muliple runtimes all having the same time offsets (orthogonal).OffsetIrregular
Runtimes that have irregular offsets.OffsetRegular
All runtimes, grouped by time since 0z, have the same offsets (regulat).SingleRuntime
Single runtime.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GridTimeCoordinateSystem.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static GridTimeCoordinateSystem.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Observation
public static final GridTimeCoordinateSystem.Type Observation
Observational data, no runtimes.
-
SingleRuntime
public static final GridTimeCoordinateSystem.Type SingleRuntime
Single runtime.
-
Offset
public static final GridTimeCoordinateSystem.Type Offset
Muliple runtimes all having the same time offsets (orthogonal).
-
OffsetRegular
public static final GridTimeCoordinateSystem.Type OffsetRegular
All runtimes, grouped by time since 0z, have the same offsets (regulat).
-
OffsetIrregular
public static final GridTimeCoordinateSystem.Type OffsetIrregular
Runtimes that have irregular offsets.
-
-
Method Detail
-
values
public static GridTimeCoordinateSystem.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 (GridTimeCoordinateSystem.Type c : GridTimeCoordinateSystem.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 GridTimeCoordinateSystem.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
-
-