Package ucar.unidata.view.sounding
Class LfcCell
java.lang.Object
ucar.unidata.view.sounding.ComputeCell
ucar.unidata.view.sounding.ProfileFeatureCell
ucar.unidata.view.sounding.LfcCell
Computes the Level of Free Convection (LFC) from an atmospheric
buoyancy-profile.
- Version:
- $Revision: 1.8 $ $Date: 2005/05/13 18:33:32 $
- Author:
- Steven R. Emmerson
-
Field Summary
Fields inherited from class ucar.unidata.view.sounding.ProfileFeatureCell
noData
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ucar.unidata.view.sounding.ProfileFeatureCell
interpolatePres
Methods inherited from class ucar.unidata.view.sounding.ComputeCell
clean, disableRef, enableAllInputRefs, getInputRefs, getOutputRef, noDataField, toString
-
Constructor Details
-
LfcCell
Constructs from data references. The input buoyancy profile must be ascending.- Parameters:
buoyProfileRef
- The input buoyancy profile reference.- Throws:
VisADException
- if a VisAD failure occurs.RemoteException
- if a Java RMI failure occurs.
-
-
Method Details
-
compute
Computes the output Level of Free Convection (LFC) from an (AirPressure -> MassicVolume) buoyancy profile.- Specified by:
compute
in classComputeCell
- Parameters:
datums
- The input data in the same order as during construction:datums[0]
is the input buoyancy profile.- Returns:
- The pressure at the LFC of the buoyancy profile.
- 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.IllegalArgumentException
- if the profile is not ascending.
-