Package ucar.nc2.dataset
Enum NetcdfDataset.Enhance
- java.lang.Object
-
- java.lang.Enum<NetcdfDataset.Enhance>
-
- ucar.nc2.dataset.NetcdfDataset.Enhance
-
- All Implemented Interfaces:
Serializable,Comparable<NetcdfDataset.Enhance>
- Enclosing class:
- NetcdfDataset
public static enum NetcdfDataset.Enhance extends Enum<NetcdfDataset.Enhance>
Possible enhancements for a NetcdfDataset
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ApplyScaleOffsetApply scale and offset to values, promoting the data type if needed.ConvertEnumsConvert enums to Strings.ConvertMissingReplacemissingdata with NaNs, for efficiency.ConvertUnsignedConvert unsigned values to signed values.CoordSystemsBuild coordinate systems.IncompleteCoordSystemsBuild coordinate systems allowing for incomplete coordinate systems (i.e.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NetcdfDataset.EnhancevalueOf(String name)Returns the enum constant of this type with the specified name.static NetcdfDataset.Enhance[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ConvertEnums
public static final NetcdfDataset.Enhance ConvertEnums
Convert enums to Strings.
-
ConvertUnsigned
public static final NetcdfDataset.Enhance ConvertUnsigned
Convert unsigned values to signed values. ForCDM.UNSIGNEDvariables, reinterpret the bit patterns of any negative values as unsigned. The result will be positive values that must be stored in alarger data type.
-
ApplyScaleOffset
public static final NetcdfDataset.Enhance ApplyScaleOffset
Apply scale and offset to values, promoting the data type if needed.
-
ConvertMissing
public static final NetcdfDataset.Enhance ConvertMissing
Replacemissingdata with NaNs, for efficiency. Note that if the enhanced data type is notFLOATorDOUBLE, this has no effect.
-
CoordSystems
public static final NetcdfDataset.Enhance CoordSystems
Build coordinate systems.
-
IncompleteCoordSystems
public static final NetcdfDataset.Enhance IncompleteCoordSystems
Build coordinate systems allowing for incomplete coordinate systems (i.e. not every dimension in a variable has a corresponding coordinate variable.
-
-
Method Detail
-
values
public static NetcdfDataset.Enhance[] 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 (NetcdfDataset.Enhance c : NetcdfDataset.Enhance.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NetcdfDataset.Enhance 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
-
-