Package ucar.visad.quantities
Class SaturationVaporPressure
java.lang.Object
ucar.visad.quantities.Quantity
ucar.visad.quantities.ScalarQuantity
ucar.visad.quantities.Pressure
ucar.visad.quantities.SaturationVaporPressure
Provides support for the quantity saturation water vapor pressure.
 Instances are immutable.
- Author:
- Steven R. Emmerson
- 
Field SummaryFields
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedConstructs from a name.
- 
Method SummaryModifier and TypeMethodDescriptionstatic DataCreates a SaturationVaporPressure data object from a temperature data object.static DatacreateTemperature(Data eSat) Creates a temperature data object from a saturation water vapor pressure data object.static DatacreateTemperature(Data eSat, RealType outputType) Creates a temperature data object from a saturation water vapor pressure data object.static RealTupleTypeObtains the RealTupleType associated with this class.static RealTypeObtains the RealType associated with this class.static RealTypeObtains the RealType of the derivative with respect to temperature.static DatatemperatureDerivative(Data temperature) Returns the derivative of saturation vapor pressure with respect to temperature.Methods inherited from class ucar.visad.quantities.ScalarQuantitygetRealType, getRealType, realTypeMethods inherited from class ucar.visad.quantities.QuantityrealTupleType, setRealTupleType
- 
Field Details- 
twoThe dimensionless quantity two.
 
- 
- 
Constructor Details- 
SaturationVaporPressureConstructs from a name.- Parameters:
- name- The name for this quantity.
- Throws:
- VisADException- Couldn't create necessary VisAD object.
 
 
- 
- 
Method Details- 
getRealTypeObtains the RealType associated with this class.- Returns:
- The RealType associated with this class.
- Throws:
- VisADException- Couldn't perform necessary VisAD operation.
 
- 
getRealTupleTypeObtains the RealTupleType associated with this class.- Returns:
- The RealTupleType associated with this class.
- Throws:
- VisADException- Couldn't perform necessary VisAD operation.
 
- 
getTemperatureDerivativeRealTypeObtains the RealType of the derivative with respect to temperature.- Returns:
- The RealType of the derivative w.r.t. temperature.
- Throws:
- VisADException- Couldn't perform necessary VisAD operation.
 
- 
createpublic static Data create(Data temperature) throws TypeException, UnitException, UnimplementedException, VisADException, RemoteException Creates a SaturationVaporPressure data object from a temperature data object. The algorithm is based on Bolton's 1980 variation of Teten's 1930 formula for saturation vapor pressure (see "An Introduction to Boundary Layer Meteorology" by Roland B. Stull (1988) equation 7.5.2d).- Parameters:
- temperature- The temperature data object.
- Returns:
- Saturation water vapor pressure data object computed from the temperature. The type of the object will be that of the arguments after standard promotion.
- Throws:
- TypeException- Argument has wrong type.
- UnitException- Inappropriate unit argument.
- UnimplementedException- Necessary operation not yet implemented.
- VisADException- Couldn't create necessary VisAD object.
- RemoteException- Java RMI failure.
- See Also:
 
- 
temperatureDerivativepublic static Data temperatureDerivative(Data temperature) throws TypeException, UnitException, UnimplementedException, VisADException, RemoteException Returns the derivative of saturation vapor pressure with respect to temperature.- Parameters:
- temperature- The temperatures at which to return the derivatives.
- Returns:
- The derivative w.r.t. temperature at the given temperatures.
- Throws:
- TypeException- if a necessary RealType can't be created.
- UnitException- if unit-convertion failure occurs.
- UnimplementedException- if a necessary method is unimplemented.
- VisADException- if a core VisAD failure occurs.
- RemoteException- if a Java RMI failure occurs.
 
- 
createTemperaturepublic static Data createTemperature(Data eSat, RealType outputType) throws TypeException, UnitException, VisADException, RemoteException Creates a temperature data object from a saturation water vapor pressure data object. The algorithm is based on Bolton's 1980 variation of Teten's 1930 formula for saturation vapor pressure (see "An Introduction to Boundary Layer Meteorology" by Roland B. Stull (1988) equation 7.5.2d).- Parameters:
- eSat- Saturation water vapor pressure data object.
- outputType- the RealType of the values
- Returns:
- Temperature data object computed from saturation water vapor pressures data object. The type of the object will be that of the arguments after standard promotion.
- Throws:
- TypeException- Argument has wrong type.
- UnitException- Inappropriate unit argument.
- VisADException- Couldn't create necessary VisAD object.
- RemoteException- Java RMI failure.
- See Also:
 
- 
createTemperaturepublic static Data createTemperature(Data eSat) throws TypeException, UnitException, VisADException, RemoteException Creates a temperature data object from a saturation water vapor pressure data object. The algorithm is based on Bolton's 1980 variation of Teten's 1930 formula for saturation vapor pressure (see "An Introduction to Boundary Layer Meteorology" by Roland B. Stull (1988) equation 7.5.2d).- Parameters:
- eSat- Saturation water vapor pressure data object.
- Returns:
- Temperature data object computed from saturation water vapor pressures data object. The type of the object will be that of the arguments after standard promotion.
- Throws:
- TypeException- Argument has wrong type.
- UnitException- Inappropriate unit argument.
- VisADException- Couldn't create necessary VisAD object.
- RemoteException- Java RMI failure.
- See Also:
 
 
-