Package ucar.visad.quantities
Class VirtualPotentialTemperature
java.lang.Object
ucar.visad.quantities.Quantity
ucar.visad.quantities.ScalarQuantity
ucar.visad.quantities.Temperature
ucar.visad.quantities.AirTemperature
ucar.visad.quantities.VirtualTemperature
ucar.visad.quantities.VirtualPotentialTemperature
Provides support for the quantity of atmospheric virtual potential
temperature. The equation for virtual potential temperature uses potential
temperature in place of in-situ temperature in the equation for virtual
temperature.
- Version:
- $Id: VirtualPotentialTemperature.java,v 1.10 2005/05/13 18:35:45 jeffmc Exp $
- Author:
- Steven R. Emmerson
-
Method Summary
Modifier and TypeMethodDescriptionstatic Data
createFromDewPoint
(Data pressure, Data temperature, Data dewPoint) Creates a virtual potential temperature data object from data objects of air pressure, in situ air temperature, and dew point.static Data
createFromMixingRatio
(Data pressure, Data temperature, Data mixingRatio) Creates a virtual potential temperature data object from data objects of in situ air temperature, and water vapor mixing-ratio.Methods inherited from class ucar.visad.quantities.VirtualTemperature
createFromMixingRatio, getRealTupleType, getRealType
Methods inherited from class ucar.visad.quantities.ScalarQuantity
getRealType, getRealType, realType
Methods inherited from class ucar.visad.quantities.Quantity
realTupleType, setRealTupleType
-
Method Details
-
createFromDewPoint
public static Data createFromDewPoint(Data pressure, Data temperature, Data dewPoint) throws TypeException, UnimplementedException, VisADException, RemoteException Creates a virtual potential temperature data object from data objects of air pressure, in situ air temperature, and dew point.- Parameters:
pressure
- The air pressure data object.temperature
- The in situ air temperature data object.dewPoint
- The dew point data object.- Returns:
- The virtual air temperature corresponding to the arguments. The type of the returned object will be that of the arguments after standard promotion.
- Throws:
TypeException
- At least one argument has the wrong type.UnimplementedException
- Necessary operation not yet implemented.VisADException
- Couldn't create necessary VisAD object.RemoteException
- Java RMI failure.- See Also:
-
createFromMixingRatio
public static Data createFromMixingRatio(Data pressure, Data temperature, Data mixingRatio) throws TypeException, UnimplementedException, VisADException, RemoteException Creates a virtual potential temperature data object from data objects of in situ air temperature, and water vapor mixing-ratio.- Parameters:
pressure
- The air pressure data object.temperature
- The in situ air temperature data object.mixingRatio
- The water vapor mixing-ratio data object.- Returns:
- The virtual air temperature corresponding to the arguments. The type of the returned object will be that of the arguments after standard promotion.
- Throws:
TypeException
- At least one argument has the wrong type.UnimplementedException
- Necessary operation not yet implemented.VisADException
- Couldn't create necessary VisAD object.RemoteException
- Java RMI failure.- See Also:
-