visad.data.dods
Class GridVariableMapAdapter
- java.lang.Object
-
- visad.data.dods.Adapter
-
- visad.data.dods.VariableAdapter
-
- visad.data.dods.GridVariableMapAdapter
-
public class GridVariableMapAdapter extends VariableAdapter
Provides support for adapting the map vectors of a DODSDGridvariable to thevisad.data.incontext.Instances are immutable.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description DataImpldata(dods.dap.DArray array, boolean copy)Returns a VisAD data object corresponding to a map vector of a DODS grid.MathTypegetMathType()Returns the VisADMathTypeof this instance.static GridVariableMapAdaptergridVariableMapAdapter(dods.dap.DArray array, dods.dap.DAS das, VariableAdapterFactory factory)
-
-
-
Method Detail
-
gridVariableMapAdapter
public static GridVariableMapAdapter gridVariableMapAdapter(dods.dap.DArray array, dods.dap.DAS das, VariableAdapterFactory factory) throws VisADException, java.rmi.RemoteException
- Throws:
VisADExceptionjava.rmi.RemoteException
-
getMathType
public MathType getMathType()
Description copied from class:VariableAdapterReturns the VisADMathTypeof this instance.- Specified by:
getMathTypein classVariableAdapter- Returns:
- The MathType of this instance.
-
data
public DataImpl data(dods.dap.DArray array, boolean copy) throws VisADException, java.rmi.RemoteException
Returns a VisAD data object corresponding to a map vector of a DODS grid.- Overrides:
datain classVariableAdapter- Parameters:
array- An array that contains data and is compatible with the array used during construction.copy- If true, then data values are copied.- Returns:
- The VisAD data object corresponding to the adapted
map vector. The (super)class of the returned object
is
GriddedSet. - Throws:
VisADException- Don't know how to create a VisAD data object from the given DODS variable.java.rmi.RemoteException
-
-
DMelt 3.0 © DataMelt by jWork.ORG