visad.data.dods
Class NumericVectorAdapter
- java.lang.Object
-
- visad.data.dods.Adapter
-
- visad.data.dods.VectorAdapter
-
- visad.data.dods.NumericVectorAdapter
-
- Direct Known Subclasses:
- Float64VectorAdapter, FloatVectorAdapter
public abstract class NumericVectorAdapter extends VectorAdapter
Provides support for adapting DODS numeric primitive vectors to the VisAD data-import context.Instances are immutable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description abstract GriddedSetgriddedSet(dods.dap.PrimitiveVector vector)Returns the VisADGriddedSetcorresponding to the metadata of the DODS primitive vector used during construction of this instance and the data values of a compatible DODS primitive vector.abstract voidsetField(dods.dap.PrimitiveVector vector, FieldImpl field, boolean copy)Sets the range of a compatible VisADField.-
Methods inherited from class visad.data.dods.VectorAdapter
getMathType, getRepresentationalSets, isFlat, setField, setField, setField, setField, setField, setField, setField, setField, setField
-
-
-
-
Method Detail
-
setField
public abstract void setField(dods.dap.PrimitiveVector vector, FieldImpl field, boolean copy) throws VisADException, java.rmi.RemoteExceptionSets the range of a compatible VisADField. The range values are taken from a DODS primitive vector whose metadata must be compatible with the metadata of the primitive vector used during construction of this instance.- Overrides:
setFieldin classVectorAdapter- Parameters:
vector- A DODS primitive vector whose data values are to be used to set the range of the VisAD field.field- A VisAD field to have its range values set.copy- If true, then the range values are copied from the primitive vector.- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
griddedSet
public abstract GriddedSet griddedSet(dods.dap.PrimitiveVector vector) throws VisADException, java.rmi.RemoteException
Returns the VisADGriddedSetcorresponding to the metadata of the DODS primitive vector used during construction of this instance and the data values of a compatible DODS primitive vector.- Overrides:
griddedSetin classVectorAdapter- Parameters:
vector- A DODS primitive vector whose metadata is compatible with the metadata of the primitive vector used in construting this instance.- Returns:
- A VisAD GriddedSet corresponding to the input.
- Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
-
DMelt 3.0 © DataMelt by jWork.ORG