ucar.unidata.view.sounding
Class MixingRatioTemperatureCalculator
java.lang.Object
ucar.unidata.view.sounding.MixingRatioTemperatureCalculator
- All Implemented Interfaces:
- TemperatureCalculator
public class MixingRatioTemperatureCalculator
- extends Object
- implements TemperatureCalculator
Provides support for calculating temperatures along a saturation
mixing-ratio.
- Version:
- $Id: MixingRatioTemperatureCalculator.java,v 1.10 2005/05/13 18:33:33 jeffmc Exp $
- Author:
- Steven R. Emmerson
|
Method Summary |
Real |
nextTemperature(Real nextPressure)
Returns the next temperature associated with the next pressure. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MixingRatioTemperatureCalculator
public MixingRatioTemperatureCalculator(Real saturationPressure,
Real saturationTemperature)
throws TypeException,
VisADException,
RemoteException
- Constructs from a saturation pressure and temperature.
- Parameters:
saturationPressure - The saturation pressure.saturationTemperature - The saturation temperature.
- Throws:
TypeException - Something has the wrong type.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
nextTemperature
public Real nextTemperature(Real nextPressure)
throws TypeException,
UnitException,
VisADException,
RemoteException
- Returns the next temperature associated with the next pressure.
- Specified by:
nextTemperature in interface TemperatureCalculator
- Parameters:
nextPressure - The next pressure.
- Returns:
- The next temperature.
- Throws:
UnitException - Invalid argument unit.
TypeException - Invalid argument type.
VisADException - VisAD failure.
RemoteException - Java RMI failure.