Enum NetcdfDataset.Enhance

    • Enum Constant Detail

      • ConvertUnsigned

        public static final NetcdfDataset.Enhance ConvertUnsigned
        Convert unsigned values to signed values. For CDM.UNSIGNED variables, reinterpret the bit patterns of any negative values as unsigned. The result will be positive values that must be stored in a larger 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
        Replace missing data with NaNs, for efficiency. Note that if the enhanced data type is not FLOAT or DOUBLE, this has no effect.
      • 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.
      • ApplyStandardizer

        public static final NetcdfDataset.Enhance ApplyStandardizer
        Calculate mean and standard deviation and apply to data: (z-mean)/standard_deviation. If the enhanced data type is not FLOAT or DOUBLE, this has no effect.
      • ApplyNormalizer

        public static final NetcdfDataset.Enhance ApplyNormalizer
        Calculate minimum value and range (maximum - minimum) and apply to data: (z - min)/range. If the enhanced data type is not FLOAT or DOUBLE, this has no effect.
      • ApplyClassifier

        public static final NetcdfDataset.Enhance ApplyClassifier
        Classify doubles or floats based on positive/negative into 1 or 0 x<0 --> 0 x>0 --> 1
    • 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 name
        NullPointerException - if the argument is null