public final class CinCell extends EnergyFeatureCell
noData
Constructor and Description |
---|
CinCell(visad.DataReference energyProfileRef,
visad.DataReference initLevRef,
visad.DataReference lfcRef)
Constructs from references to the massic energy profile, the iniital
level, and the Level of Free Convection (LFC).
|
Modifier and Type | Method and Description |
---|---|
protected visad.Data |
compute(visad.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).
|
clean, disableRef, enableAllInputRefs, getInputRefs, getOutputRef, noDataField, toString
public CinCell(visad.DataReference energyProfileRef, visad.DataReference initLevRef, visad.DataReference lfcRef) throws visad.VisADException, java.rmi.RemoteException
energyProfileRef
- The massic energy profile reference.initLevRef
- The initial level reference.lfcRef
- The LFC reference.visad.VisADException
- if a VisAD failure occurs.java.rmi.RemoteException
- if a Java RMI failure occurs.protected visad.Data compute(visad.Data[] datums) throws visad.TypeException, visad.VisADException, java.rmi.RemoteException
compute
in class ComputeCell
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.java.lang.ClassCastException
- if an input data reference has the wrong
type of data object.visad.TypeException
- if a VisAD data object has the wrong type.visad.VisADException
- if a VisAD failure occurs.java.rmi.RemoteException
- if a Java RMI failure occurs.