ucar.unidata.view.sounding
Class WetTrajectoryCell

java.lang.Object
  extended by ucar.unidata.view.sounding.ComputeCell
      extended by ucar.unidata.view.sounding.WetTrajectoryCell

public class WetTrajectoryCell
extends ComputeCell

Computes the trajectory of a parcel of saturated air lifted pseudo-adiabatically from the LCL.

Version:
$Revision: 1.5 $ $Date: 2005/05/13 18:33:40 $
Author:
Steven R. Emmerson

Constructor Summary
WetTrajectoryCell(DataReference lclTempRef, DataReference lclPresRef, DataReference minPresRef)
          Constructs from data references.
 
Method Summary
protected  Data compute(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.
 
Methods inherited from class ucar.unidata.view.sounding.ComputeCell
clean, disableRef, enableAllInputRefs, getInputRefs, getOutputRef, noDataField, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WetTrajectoryCell

public WetTrajectoryCell(DataReference lclTempRef,
                         DataReference lclPresRef,
                         DataReference minPresRef)
                  throws VisADException,
                         RemoteException
Constructs from data references.

Parameters:
lclTempRef - The input LCL temperature reference.
lclPresRef - The input LCL pressure reference.
minPresRef - The input minimum-presure reference.
Throws:
VisADException - if a VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.
Method Detail

compute

protected Data compute(Data[] datums)
                throws TypeException,
                       VisADException,
                       RemoteException
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.

Specified by:
compute in class ComputeCell
Parameters:
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.
Returns:
The corresponding lifted parcel path.
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.