ucar.visad.quantities
Class SaturationPointTemperature

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.SaturationPointTemperature

public final class SaturationPointTemperature
extends AirTemperature

Provides support for the quantity of saturation-point temperature. Saturation-point temperature is the temperature at which a parcel of air lifted dry-adiabatically will become saturated.

An instance of this class is immutable.

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

Method Summary
static Data create(Data pressure, Data temperature, Data mixingRatio)
          Creates a saturation-point temperature data object from data objects for pressure, temperature, and water-vapor mixing-ratio.
protected static Real getDenomConst()
          Returns the constant in the denominator.
protected static Real getLogTCoeff()
          Returns the coefficient of the log(temperature) term for this quantity.
protected static Real getNumerator()
          Returns the numerator associated with this quantity.
protected static Real getP0()
          Returns the reference pressure for this quantity.
static RealTupleType getRealTupleType()
          Obtains the RealTupleType associated with this class.
static RealType getRealType()
          Obtains the RealType associated with this class.
protected static Real getT0()
          Returns the reference temperature for this quantity.
protected static Real getTempConst()
          Returns the temperature constant.
 
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

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.

getNumerator

protected static Real getNumerator()
                            throws VisADException
Returns the numerator associated with this quantity.

Returns:
The numerator associated with this quantity.
Throws:
VisADException - if a core VisAD failure occurs.

getLogTCoeff

protected static Real getLogTCoeff()
                            throws VisADException
Returns the coefficient of the log(temperature) term for this quantity.

Returns:
The coefficient.
Throws:
VisADException - if a core VisAD failure occurs.

getP0

protected static Real getP0()
                     throws VisADException
Returns the reference pressure for this quantity.

Returns:
The reference pressure.
Throws:
VisADException - if a core VisAD failure occurs.

getT0

protected static Real getT0()
                     throws VisADException
Returns the reference temperature for this quantity.

Returns:
The reference temperature.
Throws:
VisADException - if a core VisAD failure occurs.

getDenomConst

protected static Real getDenomConst()
                             throws VisADException
Returns the constant in the denominator.

Returns:
The constant in the denominator.
Throws:
VisADException - if a core VisAD failure occurs.

getTempConst

protected static Real getTempConst()
                            throws VisADException
Returns the temperature constant.

Returns:
The temperature constant.
Throws:
VisADException - if a core VisAD failure occurs.

create

public static Data create(Data pressure,
                          Data temperature,
                          Data mixingRatio)
                   throws TypeException,
                          VisADException,
                          RemoteException
Creates a saturation-point temperature data object from data objects for pressure, temperature, and water-vapor mixing-ratio. The empirical formula is taken from "An Introduction to Boundary Layer Meteorology" by Roland B. Stull; chapter 13 (Boundary Layer Clouds).

Parameters:
pressure - The air pressure data object.
temperature - The temperature data object.
mixingRatio - The water-vapor mixing-ratio data object.
Returns:
The saturation-point 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.