ucar.visad.quantities
Class SaturationPointPressure

java.lang.Object
  extended by ucar.visad.quantities.Quantity
      extended by ucar.visad.quantities.ScalarQuantity
          extended by ucar.visad.quantities.Pressure
              extended by ucar.visad.quantities.AirPressure
                  extended by ucar.visad.quantities.SaturationPointPressure

public final class SaturationPointPressure
extends AirPressure

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

An instance of this class is immutable.

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

Nested Class Summary
 
Nested classes/interfaces inherited from class ucar.visad.quantities.AirPressure
AirPressure.AirPressureCoordinateSystem, AirPressure.StandardAtmosphereCoordinateSystem
 
Method Summary
static Data create(Data pressure, Data temperature, Data saturationPointTemperature)
          Creates a saturation-point pressure data object from data objects for pressure, temperature, and saturation-point temperature.
protected static Real getExponent()
          Returns the exponent associated with this quantity.
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.AirPressure
fromAltitude, getStandardAtmosphereCS, toAltitude
 
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.

getExponent

protected static Real getExponent()
                           throws VisADException
Returns the exponent associated with this quantity.

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

create

public static Data create(Data pressure,
                          Data temperature,
                          Data saturationPointTemperature)
                   throws TypeException,
                          VisADException,
                          RemoteException
Creates a saturation-point pressure data object from data objects for pressure, temperature, and saturation-point temperature. 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.
saturationPointTemperature - The saturation-point temperature data object.
Returns:
The saturation-point pressure 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.