ucar.unidata.view.sounding
Class LclPressureCell
java.lang.Object
ucar.unidata.view.sounding.ComputeCell
ucar.unidata.view.sounding.LclPressureCell
public final class LclPressureCell
- extends ComputeCell
Computes the condensation pressure at the lifting condensation level (LCL).
- Version:
- $Revision: 1.5 $ $Date: 2005/05/13 18:33:32 $
- Author:
- Steven R. Emmerson
|
Method Summary |
protected Data |
compute(Data[] datums)
Computes the output condensation pressure (the pressure at the LCL) from
the parcel's initial pressure and temperature, and the temperature at the
Lifting Condensation Level (LCL). |
LclPressureCell
public LclPressureCell(DataReference initPresRef,
DataReference initTempRef,
DataReference lclTempRef)
throws VisADException,
RemoteException
- Constructs from data references.
- Parameters:
initPresRef - The input initial pressure reference.initTempRef - The input initial temperature reference.lclTempRef - The input LCL temperature 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 condensation pressure (the pressure at the LCL) from
the parcel's initial pressure and temperature, and the temperature 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 temperature; and datums[2]
is the temperature at the LCL.
- Returns:
- The corresponding condensation pressure.
- 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.