Package ucar.unidata.view.sounding
Class AirDensityProfileCell
java.lang.Object
ucar.unidata.view.sounding.ComputeCell
ucar.unidata.view.sounding.AirDensityProfileCell
Computes a profile of air density from a profile of virtual temperature.
- Version:
- $Revision: 1.7 $ $Date: 2005/05/13 18:33:23 $
- Author:
- Steven R. Emmerson
-
Constructor Summary
ConstructorsConstructorDescriptionAirDensityProfileCell
(DataReference virtProRef) Constructs from input and output data references. -
Method Summary
Methods inherited from class ucar.unidata.view.sounding.ComputeCell
clean, disableRef, enableAllInputRefs, getInputRefs, getOutputRef, noDataField, toString
-
Constructor Details
-
AirDensityProfileCell
Constructs from input and output data references.- Parameters:
virtProRef
- The input virtual temperature profile reference.- Throws:
VisADException
- if a VisAD failure occurs.RemoteException
- if a Java RMI failure occurs.
-
-
Method Details
-
compute
Computes the output profile of air density.- Specified by:
compute
in classComputeCell
- Parameters:
datums
- The input data.datums[0]
is the virtual temperature profile.- Returns:
- The corresponding profile of air density.
- 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.
-