ucar.visad.quantities
Class VirtualPotentialTemperature

java.lang.Object
  extended by ucar.visad.quantities.Quantity
      extended by ucar.visad.quantities.ScalarQuantity
          extended by ucar.visad.quantities.Temperature
              extended by ucar.visad.quantities.AirTemperature
                  extended by ucar.visad.quantities.VirtualTemperature
                      extended by ucar.visad.quantities.VirtualPotentialTemperature

public final class VirtualPotentialTemperature
extends VirtualTemperature

Provides support for the quantity of atmospheric virtual potential temperature. The equation for virtual potential temperature uses potential temperature in place of in-situ temperature in the equation for virtual temperature.

Version:
$Id: VirtualPotentialTemperature.java,v 1.10 2005/05/13 18:35:45 jeffmc Exp $
Author:
Steven R. Emmerson

Method Summary
static Data createFromDewPoint(Data pressure, Data temperature, Data dewPoint)
          Creates a virtual potential temperature data object from data objects of air pressure, in situ air temperature, and dew point.
static Data createFromMixingRatio(Data pressure, Data temperature, Data mixingRatio)
          Creates a virtual potential temperature data object from data objects of in situ air temperature, and water vapor mixing-ratio.
 
Methods inherited from class ucar.visad.quantities.VirtualTemperature
createFromMixingRatio, getRealTupleType, getRealType
 
Methods inherited from class ucar.visad.quantities.ScalarQuantity
getRealType, getRealType, realType
 
Methods inherited from class ucar.visad.quantities.Quantity
realTupleType, setRealTupleType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createFromDewPoint

public static Data createFromDewPoint(Data pressure,
                                      Data temperature,
                                      Data dewPoint)
                               throws TypeException,
                                      UnimplementedException,
                                      VisADException,
                                      RemoteException
Creates a virtual potential temperature data object from data objects of air pressure, in situ air temperature, and dew point.

Parameters:
pressure - The air pressure data object.
temperature - The in situ air temperature data object.
dewPoint - The dew point data object.
Returns:
The virtual air temperature corresponding to the arguments. The type of the returned object will be that of the arguments after standard promotion.
Throws:
TypeException - At least one argument has the wrong type.
UnimplementedException - Necessary operation not yet implemented.
VisADException - Couldn't create necessary VisAD object.
RemoteException - Java RMI failure.
See Also:
VisADMath

createFromMixingRatio

public static Data createFromMixingRatio(Data pressure,
                                         Data temperature,
                                         Data mixingRatio)
                                  throws TypeException,
                                         UnimplementedException,
                                         VisADException,
                                         RemoteException
Creates a virtual potential temperature data object from data objects of in situ air temperature, and water vapor mixing-ratio.

Parameters:
pressure - The air pressure data object.
temperature - The in situ air temperature data object.
mixingRatio - The water vapor mixing-ratio data object.
Returns:
The virtual air temperature corresponding to the arguments. The type of the returned object will be that of the arguments after standard promotion.
Throws:
TypeException - At least one argument has the wrong type.
UnimplementedException - Necessary operation not yet implemented.
VisADException - Couldn't create necessary VisAD object.
RemoteException - Java RMI failure.
See Also:
VisADMath