Package ucar.unidata.view.sounding
Class MixingRatioTemperatureCalculator
java.lang.Object
ucar.unidata.view.sounding.MixingRatioTemperatureCalculator
- All Implemented Interfaces:
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
-
Constructor Summary
ConstructorsConstructorDescriptionMixingRatioTemperatureCalculator
(Real saturationPressure, Real saturationTemperature) Constructs from a saturation pressure and temperature. -
Method Summary
Modifier and TypeMethodDescriptionnextTemperature
(Real nextPressure) Returns the next temperature associated with the next pressure.
-
Constructor Details
-
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.
-
-
Method Details
-
nextTemperature
public Real nextTemperature(Real nextPressure) throws TypeException, UnitException, VisADException, RemoteException Returns the next temperature associated with the next pressure.- Specified by:
nextTemperature
in interfaceTemperatureCalculator
- 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.
-