ucar.unidata.view.sounding
Class IntegrateCell
java.lang.Object
ucar.unidata.view.sounding.ComputeCell
ucar.unidata.view.sounding.IntegrateCell
public final class IntegrateCell
- extends ComputeCell
Computes the indefinite integral of a FlatField.
- Version:
- $Revision: 1.6 $ $Date: 2005/05/13 18:33:31 $
- Author:
- Steven R. Emmerson
IntegrateCell
public IntegrateCell(DataReference fieldRef,
Field noData)
throws VisADException,
RemoteException
- Constructs from references to the
FlatField and a
missing-data value.
- Parameters:
fieldRef - The Field reference.noData - The missing data value.
- Throws:
VisADException - if a VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.
compute
protected Data compute(Data[] datums)
throws TypeException,
VisADException,
RemoteException
- Computes the indefinite integral of a
Field.
- Specified by:
compute in class ComputeCell
- Parameters:
datums - The input data. datums[0] is
the Field to integrate.
- Returns:
- The corresponding indefinite integral.
- Throws:
ClassCastException - if an input data reference has the wrong
type of data object.
TypeException - if a VisAD data object has the wrong type.
VisADException - if a VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.