public final class CapeCell extends EnergyFeatureCell
noData
Constructor and Description |
---|
CapeCell(visad.DataReference energyProfileRef,
visad.DataReference lfcRef,
visad.DataReference lnbRef)
Constructs from references to the massic energy profile, the Level of
Free convection (LFC) and the Level of Neutral Buoyancy (LNB).
|
Modifier and Type | Method and Description |
---|---|
protected visad.Data |
compute(visad.Data[] datums)
Computes the output Convective Available Potential Energy (CAPE) from
the massic energy profile, level of free convection (LFC), and level of
neutral buoyancy (LNB).
|
clean, disableRef, enableAllInputRefs, getInputRefs, getOutputRef, noDataField, toString
public CapeCell(visad.DataReference energyProfileRef, visad.DataReference lfcRef, visad.DataReference lnbRef) throws visad.VisADException, java.rmi.RemoteException
energyProfileRef
- The massic energy profile reference.lfcRef
- The LFC reference.lnbRef
- The LNB 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 LFC pressure;
and datums[2]
is the LNB
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.