public class DefaultWetTemperatureCalculator extends java.lang.Object implements TemperatureCalculator
Constructor and Description |
---|
DefaultWetTemperatureCalculator(visad.Real saturationPressure,
visad.Real saturationTemperature)
Constructs from the saturation pressure and temperature.
|
Modifier and Type | Method and Description |
---|---|
visad.Real |
nextTemperature(visad.Real nextPressure)
Returns the temperature associated with the next pressures.
|
public DefaultWetTemperatureCalculator(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, lower pressure.visad.TypeException
- Something has the wrong type.visad.UnitException
- Invalid pressure unit.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.