public final class EnergyProfileCell extends ComputeCell
Constructor and Description |
---|
EnergyProfileCell(visad.DataReference buoyProfileRef)
Constructs from references to the buoyancy profile.
|
Modifier and Type | Method and Description |
---|---|
protected visad.Data |
compute(visad.Data[] datums)
Computes the (AirPressure -> MassicEnergy) profile from an (AirPressure
-> MassicVolume) profile.
|
clean, disableRef, enableAllInputRefs, getInputRefs, getOutputRef, noDataField, toString
public EnergyProfileCell(visad.DataReference buoyProfileRef) throws visad.VisADException, java.rmi.RemoteException
buoyProfileRef
- The 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
(AirPressure -> MassicVolume) 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.