ucar.unidata.view.sounding
Class AerologicalDisplay.MyWetTemperatureCalculator

java.lang.Object
  extended by ucar.unidata.view.sounding.AerologicalDisplay.MyWetTemperatureCalculator
All Implemented Interfaces:
TemperatureCalculator
Enclosing class:
AerologicalDisplay

protected class AerologicalDisplay.MyWetTemperatureCalculator
extends Object
implements TemperatureCalculator

Provides support for calculating the saturated portion of a lifted parcel's trajectory.


Constructor Summary
AerologicalDisplay.MyWetTemperatureCalculator(Real saturationPressure, Real saturationTemperature)
          Constructs from the saturation point.
 
Method Summary
 Real nextTemperature(Real nextPressure)
          Returns the next temperature in the trajectory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AerologicalDisplay.MyWetTemperatureCalculator

public AerologicalDisplay.MyWetTemperatureCalculator(Real saturationPressure,
                                                     Real saturationTemperature)
                                              throws TypeException,
                                                     VisADException,
                                                     RemoteException
Constructs from the saturation point.

Parameters:
saturationPressure - The saturation pressure.
saturationTemperature - The saturation temperature.
Throws:
TypeException - Argument has wong type.
VisADException - VisAD failure.
RemoteException - Java RMI failure.
Method Detail

nextTemperature

public Real nextTemperature(Real nextPressure)
                     throws VisADException
Returns the next temperature in the trajectory.

Specified by:
nextTemperature in interface TemperatureCalculator
Parameters:
nextPressure - The next pressure in the trajectory.
Returns:
The next temperature.
Throws:
VisADException - VisAD failure.