Class VirtualTemperatureProfileCell

java.lang.Object
ucar.unidata.view.sounding.ComputeCell
ucar.unidata.view.sounding.VirtualTemperatureProfileCell

public final class VirtualTemperatureProfileCell extends ComputeCell
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 Details

  • Method Details

    • compute

      protected Data compute(Data[] datums) throws TypeException, VisADException, RemoteException
      Computes 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:
      compute in 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.