public class MixingRatioTemperatureCalculator extends java.lang.Object implements TemperatureCalculator
Constructor and Description |
---|
MixingRatioTemperatureCalculator(visad.Real saturationPressure,
visad.Real saturationTemperature)
Constructs from a saturation pressure and temperature.
|
Modifier and Type | Method and Description |
---|---|
visad.Real |
nextTemperature(visad.Real nextPressure)
Returns the next temperature associated with the next pressure.
|
public MixingRatioTemperatureCalculator(visad.Real saturationPressure, visad.Real saturationTemperature) throws visad.TypeException, visad.VisADException, java.rmi.RemoteException
saturationPressure
- The saturation pressure.saturationTemperature
- The saturation temperature.visad.TypeException
- Something has the wrong type.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.public visad.Real nextTemperature(visad.Real nextPressure) throws visad.TypeException, visad.UnitException, visad.VisADException, java.rmi.RemoteException
nextTemperature
in interface TemperatureCalculator
nextPressure
- The next pressure.visad.UnitException
- Invalid argument unit.visad.TypeException
- Invalid argument type.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.