public class WaterVaporMixingRatio extends ScalarQuantity
Modifier | Constructor and Description |
---|---|
protected |
WaterVaporMixingRatio(java.lang.String name)
Constructs from a name.
|
Modifier and Type | Method and Description |
---|---|
static visad.Data |
create(visad.Data specificHumidity)
Creates a water-vapor mixing-ratio data object from specific humidity
|
static visad.Data |
create(visad.Data pressure,
visad.Data temperature)
Creates a water-vapor mixing-ratio data object from data objects for
pressure and temperature.
|
static visad.Real |
getGasConstantRatio()
Returns the ratio of the water vapor and dry air gas constants.
|
static visad.RealTupleType |
getRealTupleType()
Obtains the RealTupleType associated with this class.
|
static visad.RealType |
getRealType()
Obtains the RealType associated with this class.
|
getRealType, getRealType, realType
realTupleType, setRealTupleType
protected WaterVaporMixingRatio(java.lang.String name) throws visad.VisADException
name
- The name for the instance.visad.VisADException
- Couldn't create necessary VisAD object.public static visad.RealType getRealType() throws visad.VisADException
visad.VisADException
- Couldn't perform necessary VisAD operation.public static visad.RealTupleType getRealTupleType() throws visad.VisADException
visad.VisADException
- Couldn't perform necessary VisAD operation.public static visad.Real getGasConstantRatio() throws visad.VisADException
visad.VisADException
- if a core VisAD failure occurs.public static visad.Data create(visad.Data pressure, visad.Data temperature) throws visad.TypeException, visad.VisADException, visad.UnitException, java.rmi.RemoteException
pressure
- The pressure data object.temperature
- The temperature data object. If the in-situ
temperature is used, then the returned object is
the saturation mixing ratio. If the dew-point
temperature is used, then the returned object is
the actual mixing-ratio.temperature
.visad.TypeException
- At least one argument has incorrect type.visad.UnitException
- Unit conversion failure.visad.VisADException
- Couldn't create necessary VisAD object.java.rmi.RemoteException
- Java RMI failure.public static visad.Data create(visad.Data specificHumidity) throws visad.TypeException, visad.VisADException, visad.UnitException, java.rmi.RemoteException
specificHumidity
- The specific humidity data object.temperature
.visad.TypeException
- At least one argument has incorrect type.visad.UnitException
- Unit conversion failure.visad.VisADException
- Couldn't create necessary VisAD object.java.rmi.RemoteException
- Java RMI failure.