Package ucar.unidata.view.sounding
Class DryTrajectoryCell
java.lang.Object
ucar.unidata.view.sounding.ComputeCell
ucar.unidata.view.sounding.DryTrajectoryCell
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
-
Constructor Summary
ConstructorsConstructorDescriptionDryTrajectoryCell
(DataReference initPresRef, DataReference initTempRef, DataReference lclPresRef) Constructs from data references. -
Method Summary
Methods inherited from class ucar.unidata.view.sounding.ComputeCell
clean, disableRef, enableAllInputRefs, getInputRefs, getOutputRef, noDataField, toString
-
Constructor Details
-
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.
-
-
Method Details
-
compute
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 classComputeCell
- 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; anddatums[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.
-