public class Line extends DataVariable
data, dims, isUnsigned, lookup, unsignedType
Constructor and Description |
---|
Line(java.lang.String name,
java.lang.String longName,
java.lang.String units,
int length,
java.lang.Object data,
java.text.NumberFormat format,
double[] scaling,
java.lang.Object missing)
Constructs a new line with the specified properties.
|
Modifier and Type | Method and Description |
---|---|
double |
interpolate(DataLocation loc)
Reads an interpolated data value.
|
convertUnits, dispose, format, format, format, getClassBits, getData, getDataClass, getDecimals, getDimensions, getFormat, getLongName, getMissing, getName, getOptimalStride, getRank, getScaling, getStatistics, getStatistics, getStatistics, getStatistics, getUnits, getUnsigned, getValue, getValue, getValue, getValues, setAccessHint, setData, setFormat, setLongName, setLookup, setMissing, setName, setUnits, setUnsigned, setValue, setValue, setValue, toString
clone, getMetadataMap
public Line(java.lang.String name, java.lang.String longName, java.lang.String units, int length, java.lang.Object data, java.text.NumberFormat format, double[] scaling, java.lang.Object missing)
DataVariable
public double interpolate(DataLocation loc)
DataVariable
interpolate
in class DataVariable
loc
- the data value location.double
. The
Double.NaN
value is used if the data value is
missing.DataVariable.getValue(int)
,
DataVariable.getValue(DataLocation)