ucar.unidata.view.sounding
Class DefaultWetTemperatureCalculator

java.lang.Object
  extended by ucar.unidata.view.sounding.DefaultWetTemperatureCalculator
All Implemented Interfaces:
TemperatureCalculator

public class DefaultWetTemperatureCalculator
extends Object
implements 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
DefaultWetTemperatureCalculator(Real saturationPressure, Real saturationTemperature)
          Constructs from the saturation pressure and temperature.
 
Method Summary
 Real nextTemperature(Real nextPressure)
          Returns the temperature associated with the next pressures.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 Detail

nextTemperature

public Real nextTemperature(Real nextPressure)
                     throws TypeException,
                            UnitException,
                            VisADException,
                            RemoteException
Returns the temperature associated with the next pressures.

Specified by:
nextTemperature in interface TemperatureCalculator
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.