Package ucar.unidata.view.sounding
Class VirtualTemperatureProfileCell
java.lang.Object
ucar.unidata.view.sounding.ComputeCell
ucar.unidata.view.sounding.VirtualTemperatureProfileCell
Computes a profile of virtual temperature from moisture data and a profile
 of temperature.  The domain of the output profile will be the domain of
 the temperature profile.
- Version:
- $Revision: 1.6 $ $Date: 2005/05/13 18:33:40 $
- Author:
- Steven R. Emmerson
- 
Constructor SummaryConstructorsConstructorDescriptionVirtualTemperatureProfileCell(DataReference tempProfileRef, DataReference moistRef) Constructs from data references.
- 
Method SummaryMethods inherited from class ucar.unidata.view.sounding.ComputeCellclean, disableRef, enableAllInputRefs, getInputRefs, getOutputRef, noDataField, toString
- 
Constructor Details- 
VirtualTemperatureProfileCellpublic VirtualTemperatureProfileCell(DataReference tempProfileRef, DataReference moistRef) throws VisADException, RemoteException Constructs from data references. The temperature argument should refer to aFieldand the moisture argument should refer to either aFieldor aReal. TheField's rangetype or theReal'sRealTypeshould be compatible with eitherDewPoint.getRealType()orWaterVaporMixingRatio.getRealType().- Parameters:
- tempProfileRef- The input temperature profile reference.
- moistRef- The input moisture reference.
- Throws:
- VisADException- if a VisAD failure occurs.
- RemoteException- if a Java RMI failure occurs.
 
 
- 
- 
Method Details- 
computeComputes the (AirPressure -> VirtualTemperature) profile corresponding to an (AirPressure -> AirTemperature) profile and a moisture profile. The moisture profile may be either (AirPressure -> DewPoint) or (AirPressure -> WaterVaporMixingRatio).- Specified by:
- computein class- ComputeCell
- Parameters:
- datums- The input data corresponding to the data references of construction:- datums[0]is the temperature profile and- datums[1]is the moisture profile.
- Returns:
- The corresponding virtual temperature profile.
- 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.
 
 
-