public class DryTemperatureCalculator extends java.lang.Object implements TemperatureCalculator
Constructor and Description |
---|
DryTemperatureCalculator(visad.Real startPressure,
visad.Real startTemperature)
Constructs from a starting pressure and temperature.
|
Modifier and Type | Method and Description |
---|---|
visad.Real |
nextTemperature(visad.Real nextPressure)
Returns the next temperature associated with the next, lower pressure.
|
public DryTemperatureCalculator(visad.Real startPressure, visad.Real startTemperature) throws visad.TypeException, visad.VisADException, java.rmi.RemoteException
startPressure
- The starting pressure.startTemperature
- The starting 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.UnitException
- Invalid argument unit.visad.TypeException
- Invalid argument type.visad.VisADException
- VisAD failure.java.rmi.RemoteException
- Java RMI failure.