ucar.unidata.view.sounding
Class DryTemperatureCalculator
java.lang.Object
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
|
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 |
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.
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.