Package ucar.unidata.view.sounding
Class CinCell
java.lang.Object
ucar.unidata.view.sounding.ComputeCell
ucar.unidata.view.sounding.EnergyFeatureCell
ucar.unidata.view.sounding.CinCell
Computes the Convective INhibition (CIN) from a profile of massic energy,
the initial release level, and the level of free convection.
- Version:
- $Revision: 1.7 $ $Date: 2005/05/13 18:33:26 $
- Author:
- Steven R. Emmerson
-
Field Summary
Fields inherited from class ucar.unidata.view.sounding.EnergyFeatureCell
noData
-
Constructor Summary
ConstructorsConstructorDescriptionCinCell
(DataReference energyProfileRef, DataReference initLevRef, DataReference lfcRef) Constructs from references to the massic energy profile, the iniital level, and the Level of Free Convection (LFC). -
Method Summary
Methods inherited from class ucar.unidata.view.sounding.ComputeCell
clean, disableRef, enableAllInputRefs, getInputRefs, getOutputRef, noDataField, toString
-
Constructor Details
-
CinCell
public CinCell(DataReference energyProfileRef, DataReference initLevRef, DataReference lfcRef) throws VisADException, RemoteException Constructs from references to the massic energy profile, the iniital level, and the Level of Free Convection (LFC).- Parameters:
energyProfileRef
- The massic energy profile reference.initLevRef
- The initial level reference.lfcRef
- The LFC reference.- Throws:
VisADException
- if a VisAD failure occurs.RemoteException
- if a Java RMI failure occurs.
-
-
Method Details
-
compute
Computes the output Convective INhibition (CIN) from a massic energy profile, the parcel's initial pressure, and the pressure at the level of free convection (LFC).- Specified by:
compute
in classComputeCell
- Parameters:
datums
- The input data in the same order as during construction.datums[0]
is the massic energy profile;datums[1]
is the initial pressure; anddatums[2]
is the LFC pressure.- Returns:
- The corresponding CIN.
- 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.
-