Package ucar.unidata.view.sounding
Class LclPressureCell
java.lang.Object
ucar.unidata.view.sounding.ComputeCell
ucar.unidata.view.sounding.LclPressureCell
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
-
Constructor Summary
ConstructorsConstructorDescriptionLclPressureCell(DataReference initPresRef, DataReference initTempRef, DataReference lclTempRef) Constructs from data references. -
Method Summary
Methods inherited from class ucar.unidata.view.sounding.ComputeCell
clean, disableRef, enableAllInputRefs, getInputRefs, getOutputRef, noDataField, toString
-
Constructor Details
-
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.
-
-
Method Details
-
compute
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:
computein classComputeCell- Parameters:
datums- The input data in the same order as during construction.datums[0]is the initial pressure;datums[1]is the initial temperature; anddatums[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.
-