ucar.unidata.view.sounding
Class CinCell
java.lang.Object
ucar.unidata.view.sounding.ComputeCell
ucar.unidata.view.sounding.EnergyFeatureCell
ucar.unidata.view.sounding.CinCell
public final class CinCell
- extends EnergyFeatureCell
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
|
Method Summary |
protected Data |
compute(Data[] datums)
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). |
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.
compute
protected Data compute(Data[] datums)
throws TypeException,
VisADException,
RemoteException
- 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 class ComputeCell
- 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; and datums[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.