Package ucar.visad.quantities
Class VirtualTemperature
java.lang.Object
ucar.visad.quantities.Quantity
ucar.visad.quantities.ScalarQuantity
ucar.visad.quantities.Temperature
ucar.visad.quantities.AirTemperature
ucar.visad.quantities.VirtualTemperature
- Direct Known Subclasses:
VirtualPotentialTemperature
Provides support for the quantity of atmospheric virtual temperature.
- Version:
- $Id: VirtualTemperature.java,v 1.13 2005/05/13 18:35:45 jeffmc Exp $
- Author:
- Steven R. Emmerson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DatacreateFromDewPoint(Data pressure, Data temperature, Data dewPoint) Creates a virtual temperature data object from data objects of air pressure, in situ air temperature, and dew point.static DatacreateFromMixingRatio(Data temperature, Data mixingRatio) Creates a virtual temperature data object from data objects of in situ air temperature, and water vapor mixing-ratio.static RealTupleTypeObtains the RealTupleType associated with this class.static RealTypeObtains the RealType associated with this class.Methods inherited from class ucar.visad.quantities.ScalarQuantity
getRealType, getRealType, realTypeMethods inherited from class ucar.visad.quantities.Quantity
realTupleType, setRealTupleType
-
Constructor Details
-
VirtualTemperature
Constructs from a name.- Parameters:
name- The name for this quantity.- Throws:
VisADException- Couldn't create necessary VisAD object.
-
-
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.
-
createFromDewPoint
public static Data createFromDewPoint(Data pressure, Data temperature, Data dewPoint) throws TypeException, UnimplementedException, VisADException, RemoteException Creates a virtual 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 temperature, Data mixingRatio) throws TypeException, UnimplementedException, VisADException, RemoteException Creates a virtual temperature data object from data objects of in situ air temperature, and water vapor mixing-ratio.- Parameters:
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:
-