Package ucar.unidata.view.sounding
Class DryTemperatureCalculator
java.lang.Object
ucar.unidata.view.sounding.DryTemperatureCalculator
- All Implemented Interfaces:
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
ConstructorsConstructorDescriptionDryTemperatureCalculator
(Real startPressure, Real startTemperature) Constructs from a starting pressure and temperature. -
Method Summary
Modifier and TypeMethodDescriptionnextTemperature
(Real nextPressure) Returns the next temperature associated with the next, lower pressure.
-
Constructor Details
-
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 Details
-
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 interfaceTemperatureCalculator
- 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.
-