ucar.unidata.view.sounding
Class DryTrajectoryCell
java.lang.Object
ucar.unidata.view.sounding.ComputeCell
ucar.unidata.view.sounding.DryTrajectoryCell
public class DryTrajectoryCell
- extends ComputeCell
Computes the trajectory of a parcel of air lifted pseudo-adiabatically from
an initial level to the LCL.
- Version:
- $Revision: 1.6 $ $Date: 2005/05/13 18:33:30 $
- Author:
- Steven R. Emmerson
|
Method Summary |
protected Data |
compute(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). |
DryTrajectoryCell
public DryTrajectoryCell(DataReference initPresRef,
DataReference initTempRef,
DataReference lclPresRef)
throws VisADException,
RemoteException
- Constructs from data references.
- Parameters:
initPresRef - The input initial pressure reference.initTempRef - The input initial temperature reference.lclPresRef - The input LCL pressure reference.
- 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 output lifted-parcel trajectory from the parcel's initial
pressure and temperature, and the pressure at the Lifting Condensation
Level (LCL).
- Specified by:
compute in class ComputeCell
- Parameters:
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.
- Returns:
- The corresponding parcel path as a
(AirPressure -> AirTemperature)
Field.
- 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.