public class SpecificHumidity extends ScalarQuantity
Modifier | Constructor and Description |
---|---|
protected |
SpecificHumidity(java.lang.String name)
Constructs from a name.
|
Modifier and Type | Method and Description |
---|---|
static visad.Data |
create(visad.Data mixingRatio)
Create SpecificHumidity from MixingRatio
|
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.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 SpecificHumidity(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.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 mixingRatio) throws visad.TypeException, visad.VisADException, visad.UnitException, java.rmi.RemoteException
mixingRatio
- mixing ratiojava.rmi.RemoteException
- Java RMI problemvisad.TypeException
- wrong typevisad.UnitException
- wrong unitsvisad.VisADException
- Problem creating data object