public class WetTrajectoryCell extends ComputeCell
Constructor and Description |
---|
WetTrajectoryCell(visad.DataReference lclTempRef,
visad.DataReference lclPresRef,
visad.DataReference minPresRef)
Constructs from data references.
|
Modifier and Type | Method and Description |
---|---|
protected visad.Data |
compute(visad.Data[] datums)
Computes the output saturated, (AirPressure -> AirTemperature)
lifted-parcel trajectory from the pressure and temperature at the
Lifting Condensation Level (LCL) and the minimum pressure to which to
lift the parcel.
|
clean, disableRef, enableAllInputRefs, getInputRefs, getOutputRef, noDataField, toString
public WetTrajectoryCell(visad.DataReference lclTempRef, visad.DataReference lclPresRef, visad.DataReference minPresRef) throws visad.VisADException, java.rmi.RemoteException
lclTempRef
- The input LCL temperature reference.lclPresRef
- The input LCL pressure reference.minPresRef
- The input minimum-presure 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 corresponding to the data
references of construciton: datums[0]
is the LCL temperature,
datums[1]
is the LCL pressure, and
datums[2]
is the minimum
pressure.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.