Package ucar.visad.quantities
Class SaturationPointTemperature
java.lang.Object
ucar.visad.quantities.Quantity
ucar.visad.quantities.ScalarQuantity
ucar.visad.quantities.Temperature
ucar.visad.quantities.AirTemperature
ucar.visad.quantities.SaturationPointTemperature
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
Modifier and TypeMethodDescriptionstatic Data
Creates a saturation-point temperature data object from data objects for pressure, temperature, and water-vapor mixing-ratio.protected static Real
Returns the constant in the denominator.protected static Real
Returns the coefficient of the log(temperature) term for this quantity.protected static Real
Returns the numerator associated with this quantity.protected static Real
getP0()
Returns the reference pressure for this quantity.static RealTupleType
Obtains the RealTupleType associated with this class.static RealType
Obtains the RealType associated with this class.protected static Real
getT0()
Returns the reference temperature for this quantity.protected static Real
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
-
Method Details
-
getRealType
Obtains the RealType associated with this class.- Returns:
- The RealType associated with this class.
- Throws:
VisADException
- Couldn't perform necessary VisAD operation.
-
getRealTupleType
Obtains the RealTupleType associated with this class.- Returns:
- The RealTupleType associated with this class.
- Throws:
VisADException
- Couldn't perform necessary VisAD operation.
-
getNumerator
Returns the numerator associated with this quantity.- Returns:
- The numerator associated with this quantity.
- Throws:
VisADException
- if a core VisAD failure occurs.
-
getLogTCoeff
Returns the coefficient of the log(temperature) term for this quantity.- Returns:
- The coefficient.
- Throws:
VisADException
- if a core VisAD failure occurs.
-
getP0
Returns the reference pressure for this quantity.- Returns:
- The reference pressure.
- Throws:
VisADException
- if a core VisAD failure occurs.
-
getT0
Returns the reference temperature for this quantity.- Returns:
- The reference temperature.
- Throws:
VisADException
- if a core VisAD failure occurs.
-
getDenomConst
Returns the constant in the denominator.- Returns:
- The constant in the denominator.
- Throws:
VisADException
- if a core VisAD failure occurs.
-
getTempConst
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.
-