Package ucar.nc2.filter
Class ConvertMissing
- java.lang.Object
-
- ucar.nc2.filter.ConvertMissing
-
- All Implemented Interfaces:
Enhancement
public class ConvertMissing extends Object implements Enhancement
-
-
Constructor Summary
Constructors Constructor Description ConvertMissing(boolean fillValueIsMissing, boolean invalidDataIsMissing, boolean missingDataIsMissing, boolean hasValidMin, boolean hasValidMax, double validMin, double validMax, boolean hasFillValue, double fillValue, double[] missingValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description double
convert(double value)
Array
convertMissing(Array in)
static ConvertMissing
createFromVariable(VariableDS var)
double
getFillValue()
static double
getFillValueOrDefault(VariableDS var)
double[]
getMissingValues()
double
getValidMax()
double
getValidMin()
boolean
hasFillValue()
boolean
hasMissing()
boolean
hasMissingValue()
boolean
hasValidData()
boolean
isFillValue(double val)
boolean
isInvalidData(double val)
boolean
isMissing(double val)
boolean
isMissingValue(double val)
void
setFillValueIsMissing(boolean b)
Deprecated.void
setInvalidDataIsMissing(boolean b)
Deprecated.void
setMissingDataIsMissing(boolean b)
Deprecated.
-
-
-
Method Detail
-
createFromVariable
public static ConvertMissing createFromVariable(VariableDS var)
-
hasValidData
public boolean hasValidData()
-
getValidMin
public double getValidMin()
-
getValidMax
public double getValidMax()
-
isInvalidData
public boolean isInvalidData(double val)
-
hasFillValue
public boolean hasFillValue()
-
isFillValue
public boolean isFillValue(double val)
-
getFillValue
public double getFillValue()
-
isMissingValue
public boolean isMissingValue(double val)
-
getMissingValues
public double[] getMissingValues()
-
hasMissingValue
public boolean hasMissingValue()
-
hasMissing
public boolean hasMissing()
-
isMissing
public boolean isMissing(double val)
-
setFillValueIsMissing
@Deprecated public void setFillValueIsMissing(boolean b)
Deprecated.
-
setInvalidDataIsMissing
@Deprecated public void setInvalidDataIsMissing(boolean b)
Deprecated.
-
setMissingDataIsMissing
@Deprecated public void setMissingDataIsMissing(boolean b)
Deprecated.
-
convert
public double convert(double value)
- Specified by:
convert
in interfaceEnhancement
-
getFillValueOrDefault
public static double getFillValueOrDefault(VariableDS var)
-
-