ucar.visad.quantities
Class SaturationWetBulbPotentialTemperature

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.PotentialTemperature
                      extended by ucar.visad.quantities.SaturationWetBulbPotentialTemperature

public final class SaturationWetBulbPotentialTemperature
extends PotentialTemperature

Provides support for the quantity of saturation wet-bulb potential temperature. Contours of this quantity are "saturation adiabats" (alias "moist adiabats" or "wet adiabats").

An instance of this class is immutable.

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

Field Summary
protected static Real coefficient
          The coefficient in the equation.
protected static Real one
          The dimensionless quantity one.
 
Constructor Summary
protected SaturationWetBulbPotentialTemperature(String name)
          Constructs from a name.
 
Method Summary
static Data create(Data pressure, Data temperature)
          Creates a saturation wet-bulb potential temperature data object.
static RealTupleType getRealTupleType()
          Obtains the RealTupleType associated with this class.
static RealType getRealType()
          Obtains the RealType associated with this class.
 
Methods inherited from class ucar.visad.quantities.PotentialTemperature
createAirTemperature, factor
 
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
 

Field Detail

one

protected static Real one
The dimensionless quantity one.


coefficient

protected static Real coefficient
The coefficient in the equation.

Constructor Detail

SaturationWetBulbPotentialTemperature

protected SaturationWetBulbPotentialTemperature(String name)
                                         throws VisADException
Constructs from a name.

Parameters:
name - The name for this quantity.
Throws:
VisADException - Couldn't create necessary VisAD object.
Method Detail

getRealType

public static RealType getRealType()
                            throws VisADException
Obtains the RealType associated with this class.

Returns:
The RealType associated with this class.
Throws:
VisADException - Couldn't perform necessary VisAD operation.

getRealTupleType

public static RealTupleType getRealTupleType()
                                      throws VisADException
Obtains the RealTupleType associated with this class.

Returns:
The RealTupleType associated with this class.
Throws:
VisADException - Couldn't perform necessary VisAD operation.

create

public static Data create(Data pressure,
                          Data temperature)
                   throws TypeException,
                          VisADException,
                          RemoteException
Creates a saturation wet-bulb potential temperature data object.

Parameters:
pressure - The air pressure data object.
temperature - The temperature data object.
Returns:
The saturation wet-bulb potential temperature data object corresponding to the input arguments.
Throws:
TypeException - An input argument has wrong type.
VisADException - Couldn't create necessary VisAD object.
RemoteException - Java RMI failure.