Package ucar.unidata.view.sounding
Class DefaultWetTemperatureCalculator
java.lang.Object
ucar.unidata.view.sounding.DefaultWetTemperatureCalculator
- All Implemented Interfaces:
TemperatureCalculator
Provides support for the default way of computing a saturation, pseudo-
adiabatic trajectory.
- Version:
- $Id: DefaultWetTemperatureCalculator.java,v 1.13 2005/05/13 18:33:28 jeffmc Exp $
- Author:
- Steven R. Emmerson
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultWetTemperatureCalculator
(Real saturationPressure, Real saturationTemperature) Constructs from the saturation pressure and temperature. -
Method Summary
Modifier and TypeMethodDescriptionnextTemperature
(Real nextPressure) Returns the temperature associated with the next pressures.
-
Constructor Details
-
DefaultWetTemperatureCalculator
public DefaultWetTemperatureCalculator(Real saturationPressure, Real saturationTemperature) throws TypeException, VisADException, RemoteException Constructs from the 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 temperature associated with the next pressures.- Specified by:
nextTemperature
in interfaceTemperatureCalculator
- Parameters:
nextPressure
- The next, lower pressure.- Returns:
- The temperature associated with the next, lower pressure.
- Throws:
TypeException
- Something has the wrong type.UnitException
- Invalid pressure unit.VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-