public enum GribStatType extends java.lang.Enum<GribStatType>
Enum Constant and Description |
---|
Accumulation |
Average |
Covariance |
DifferenceFromEnd |
DifferenceFromStart |
Maximum |
Minimum |
Ratio |
RootMeanSquare |
StandardDeviation |
Variance |
Modifier and Type | Method and Description |
---|---|
static CF.CellMethods |
getCFCellMethod(GribStatType stat)
Convert StatType to CF.CellMethods
|
static GribStatType |
getStatTypeFromGrib2(int grib2StatCode) |
static int |
getStatTypeNumber(java.lang.String name) |
static GribStatType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GribStatType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GribStatType Average
public static final GribStatType Accumulation
public static final GribStatType Maximum
public static final GribStatType Minimum
public static final GribStatType DifferenceFromEnd
public static final GribStatType RootMeanSquare
public static final GribStatType StandardDeviation
public static final GribStatType Covariance
public static final GribStatType DifferenceFromStart
public static final GribStatType Ratio
public static final GribStatType Variance
public static GribStatType[] values()
for (GribStatType c : GribStatType.values()) System.out.println(c);
public static GribStatType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Nullable public static GribStatType getStatTypeFromGrib2(int grib2StatCode)
public static int getStatTypeNumber(java.lang.String name)
@Nullable public static CF.CellMethods getCFCellMethod(GribStatType stat)
stat
- the GRIB1 statistical type