public final class LfcCell extends ProfileFeatureCell
noData
Constructor and Description |
---|
LfcCell(visad.DataReference buoyProfileRef)
Constructs from data references.
|
Modifier and Type | Method and Description |
---|---|
protected visad.Data |
compute(visad.Data[] datums)
Computes the output Level of Free Convection (LFC) from an (AirPressure
-> MassicVolume) buoyancy profile.
|
interpolatePres
clean, disableRef, enableAllInputRefs, getInputRefs, getOutputRef, noDataField, toString
public LfcCell(visad.DataReference buoyProfileRef) throws visad.VisADException, java.rmi.RemoteException
buoyProfileRef
- The input buoyancy profile 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 input buoyancy profile.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.java.lang.IllegalArgumentException
- if the profile is not ascending.