public class DryTrajectoryCell extends ComputeCell
Constructor and Description |
---|
DryTrajectoryCell(visad.DataReference initPresRef,
visad.DataReference initTempRef,
visad.DataReference lclPresRef)
Constructs from data references.
|
Modifier and Type | Method and Description |
---|---|
protected visad.Data |
compute(visad.Data[] datums)
Computes the output lifted-parcel trajectory from the parcel's initial
pressure and temperature, and the pressure at the Lifting Condensation
Level (LCL).
|
clean, disableRef, enableAllInputRefs, getInputRefs, getOutputRef, noDataField, toString
public DryTrajectoryCell(visad.DataReference initPresRef, visad.DataReference initTempRef, visad.DataReference lclPresRef) throws visad.VisADException, java.rmi.RemoteException
initPresRef
- The input initial pressure reference.initTempRef
- The input initial temperature reference.lclPresRef
- The input LCL pressure reference.visad.VisADException
- if a VisAD failure occurs.java.rmi.RemoteException
- if a Java RMI failure occurs.protected visad.Data compute(visad.Data[] datums) throws visad.TypeException, visad.VisADException, java.rmi.RemoteException
compute
in class ComputeCell
datums
- The input data in the same order as during
construction. datums[0]
is the
initial pressure; datums[1]
is
the initial, in-situ temperature; and
datums[2]
is the LCL pressure.Field
.java.lang.ClassCastException
- if an input data reference has the wrong
type of data object.visad.TypeException
- if a VisAD data object has the wrong type.visad.VisADException
- if a VisAD failure occurs.java.rmi.RemoteException
- if a Java RMI failure occurs.