ucar.unidata.view.sounding
Class DryTemperatureCalculator

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

public class DryTemperatureCalculator
extends Object
implements TemperatureCalculator

Provides support for calculating the dry portion of the pseud-adiabatic trajectory of a lifted parcel of air.

Version:
$Id: DryTemperatureCalculator.java,v 1.11 2005/05/13 18:33:29 jeffmc Exp $
Author:
Steven R. Emmerson

Constructor Summary
DryTemperatureCalculator(Real startPressure, Real startTemperature)
          Constructs from a starting pressure and temperature.
 
Method Summary
 Real nextTemperature(Real nextPressure)
          Returns the next temperature associated with the next, lower pressure.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DryTemperatureCalculator

public DryTemperatureCalculator(Real startPressure,
                                Real startTemperature)
                         throws TypeException,
                                VisADException,
                                RemoteException
Constructs from a starting pressure and temperature.

Parameters:
startPressure - The starting pressure.
startTemperature - The starting 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 next temperature associated with the next, lower pressure.

Specified by:
nextTemperature in interface TemperatureCalculator
Parameters:
nextPressure - The next, lower pressure.
Returns:
The next temperature.
Throws:
UnitException - Invalid argument unit.
TypeException - Invalid argument type.
VisADException - VisAD failure.
RemoteException - Java RMI failure.