public class VirtualReal extends VirtualScalar
| Constructor and Description |
|---|
VirtualReal(RealType type,
ucar.netcdf.Variable var,
SimpleSet rangeSet,
Unit unit,
visad.data.netcdf.in.Vetter vetter)
Constructs from a scalar type, a 1-D netCDF variable, a range set,
a unit, and a value vetter.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Clones this instance.
|
double[] |
getDoubles(Context context)
Gets the double values corresponding to this virtual, data
object at a given context.
|
SimpleSet |
getRangeSet()
Gets the range set of this scalar.
|
protected Scalar |
getScalar(Context context)
Gets the Scalar object corresponding to this virtual, data
object.
|
Unit |
getUnit()
Gets the unit of the value.
|
visad.data.netcdf.in.Vetter |
getVetter()
Gets the value vetter.
|
boolean |
isReal()
Determines if this is a VirtualReal or not.
|
getData, getDataFactory, getScalarType, getType, getVariable, setDataFactorygetData, toStringpublic VirtualReal(RealType type, ucar.netcdf.Variable var, SimpleSet rangeSet, Unit unit, visad.data.netcdf.in.Vetter vetter)
type - The type of the nested scalar.var - The 1-D netCDF variable.rangeSet - The range set of the values.unit - The unit of the values.vetter - The value vetter.public SimpleSet getRangeSet()
getRangeSet in class VirtualScalarpublic Unit getUnit()
getUnit in class VirtualScalarpublic visad.data.netcdf.in.Vetter getVetter()
getVetter in class VirtualScalarprotected Scalar getScalar(Context context) throws VisADException, InvalidContextException, IOException
getScalar in class VirtualScalarInvalidContextException - if the indicial context is invalid.VisADException - Couldn't create necessary VisAD object.RemoteException - if a Java RMI failure occurs.IOException - I/O failure.public double[] getDoubles(Context context) throws IOException, VisADException
getDoubles in class VirtualScalarIOException - I/O failure.VisADException - Couldn't create necessary VisAD object.public boolean isReal()
isReal in class VirtualScalarpublic Object clone()
clone in class VirtualDataCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.