Package ucar.visad.quantities
Class PseudoAdiabaticLapseRate
java.lang.Object
ucar.visad.quantities.Quantity
ucar.visad.quantities.ScalarQuantity
ucar.visad.quantities.PseudoAdiabaticLapseRate
Provides support for the latent heat of evaporation.
- Version:
- $Id: PseudoAdiabaticLapseRate.java,v 1.12 2005/05/13 18:35:42 jeffmc Exp $
- Author:
- Steven R. Emmerson
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static Real(waterVaporMolecularWeight / dryAirMolecularWeight) latentHeatOfEvaporationprotected static Real((waterVaporMolecularWeight / dryAirMolecularWeight) latentHeatOfEvaporation.pow(2)) (dryAirSpecificHeatCapacity * dryAirGasConstant)protected static RealThe latent heat of evaporation divided by the dry air gas constant.protected static RealThe dimensionless quantity one. -
Method Summary
Methods inherited from class ucar.visad.quantities.ScalarQuantity
getRealType, getRealType, realTypeMethods inherited from class ucar.visad.quantities.Quantity
realTupleType, setRealTupleType
-
Field Details
-
one
The dimensionless quantity one. -
lOverRSubD
The latent heat of evaporation divided by the dry air gas constant. -
epsilonL
(waterVaporMolecularWeight / dryAirMolecularWeight) latentHeatOfEvaporation -
epsilonL2OverCSubPRSubD
((waterVaporMolecularWeight / dryAirMolecularWeight) latentHeatOfEvaporation.pow(2)) (dryAirSpecificHeatCapacity * dryAirGasConstant)
-
-
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.
-
create
public static Data create(Data pressure, Data temperature) throws TypeException, VisADException, RemoteException Creates a pseudo-adiabatic lapse-rate data object from data objects for in-situ air pressure and temperature. Reasonable approximations are used.- Parameters:
pressure- The in-situ air pressure data object.temperature- The in-situ air temperature data object.- Returns:
- The lapse-rate 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.
-
main
Tests this class.- Parameters:
args- Arguments, Ignored.- Throws:
Exception- Something went wrong.
-