public class ConvertMissing extends java.lang.Object implements Enhancement
Constructor and Description |
---|
ConvertMissing(boolean fillValueIsMissing,
boolean invalidDataIsMissing,
boolean missingDataIsMissing,
boolean hasValidMin,
boolean hasValidMax,
double validMin,
double validMax,
boolean hasFillValue,
double fillValue,
double[] missingValue) |
Modifier and Type | Method and 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.
|
public ConvertMissing(boolean fillValueIsMissing, boolean invalidDataIsMissing, boolean missingDataIsMissing, boolean hasValidMin, boolean hasValidMax, double validMin, double validMax, boolean hasFillValue, double fillValue, double[] missingValue)
public static ConvertMissing createFromVariable(VariableDS var)
public boolean hasValidData()
public double getValidMin()
public double getValidMax()
public boolean isInvalidData(double val)
public boolean hasFillValue()
public boolean isFillValue(double val)
public double getFillValue()
public boolean isMissingValue(double val)
public double[] getMissingValues()
public boolean hasMissingValue()
public boolean hasMissing()
public boolean isMissing(double val)
@Deprecated public void setFillValueIsMissing(boolean b)
@Deprecated public void setInvalidDataIsMissing(boolean b)
@Deprecated public void setMissingDataIsMissing(boolean b)
public double convert(double value)
convert
in interface Enhancement
public static double getFillValueOrDefault(VariableDS var)