Package ucar.unidata.view.sounding
Class PseudoAdiabaticTrajectory
java.lang.Object
ucar.unidata.view.sounding.PseudoAdiabaticTrajectory
Provides support for the pseudo-adiabatic trajectory of a lifted parcel of
air.
Instances are immutable.
- Version:
- $Id: PseudoAdiabaticTrajectory.java,v 1.18 2005/05/13 18:33:35 jeffmc Exp $
- Author:
- Steven R. Emmerson
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
PseudoAdiabaticTrajectory
(Real startingPressure, Real startingTemperature, Real startingDewPoint, Real endingPressure, TemperatureCalculatorFactory factory) Constructs from a starting pressure, temperature, and dew-point, an ending pressure, and temperature calculator factory. -
Method Summary
Modifier and TypeMethodDescriptionReturns the type of the pressure quantity.Returns the domain of the parcel's trajectory.Returns the type of the temperature quantity.static PseudoAdiabaticTrajectory
instance
(Real startingPressure, Real startingTemperature, Real startingDewPoint, Real endingPressure) Constructs from a starting pressure, temperature, and dew-point, and an ending pressure.static PseudoAdiabaticTrajectory
instance
(Real startingPressure, Real startingTemperature, Real startingDewPoint, Real endingPressure, TemperatureCalculatorFactory factory) Returns an instance of this class based on a starting pressure, temperature, and dew-point, an ending pressure, and temperature calculator factory.toString()
Returns the string version of this instance.
-
Constructor Details
-
PseudoAdiabaticTrajectory
protected PseudoAdiabaticTrajectory(Real startingPressure, Real startingTemperature, Real startingDewPoint, Real endingPressure, TemperatureCalculatorFactory factory) throws TypeException, VisADException, RemoteException Constructs from a starting pressure, temperature, and dew-point, an ending pressure, and temperature calculator factory.- Parameters:
startingPressure
- The starting pressure.startingTemperature
- The starting temperature.startingDewPoint
- The starting dew-point.endingPressure
- The ending pressure.factory
- The factory for creating a temperature calculator.- Throws:
TypeException
- An argument has the wrong type.VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
-
Method Details
-
instance
public static PseudoAdiabaticTrajectory instance(Real startingPressure, Real startingTemperature, Real startingDewPoint, Real endingPressure) throws TypeException, VisADException, RemoteException Constructs from a starting pressure, temperature, and dew-point, and an ending pressure.- Parameters:
startingPressure
- The starting pressure.startingTemperature
- The starting temperature.startingDewPoint
- The starting dew-point.endingPressure
- The ending pressure.- Returns:
- An instance of this class.
- Throws:
TypeException
- An argument has the wrong type.VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
instance
public static PseudoAdiabaticTrajectory instance(Real startingPressure, Real startingTemperature, Real startingDewPoint, Real endingPressure, TemperatureCalculatorFactory factory) throws TypeException, VisADException, RemoteException Returns an instance of this class based on a starting pressure, temperature, and dew-point, an ending pressure, and temperature calculator factory.- Parameters:
startingPressure
- The starting pressure.startingTemperature
- The starting temperature.startingDewPoint
- The starting dew-point.endingPressure
- The ending pressure.factory
- The factory for creating a temperature calculator.- Returns:
- An instance of this class.
- Throws:
TypeException
- An argument has the wrong type.VisADException
- VisAD failure.RemoteException
- Java RMI failure.
-
getPressureRealType
Returns the type of the pressure quantity.- Returns:
- The type of the pressure quantity.
- Throws:
VisADException
- VisAD failure.
-
getTemperatureRealType
Returns the type of the temperature quantity.- Returns:
- The type of the temperature quantity.
- Throws:
VisADException
- VisAD failure.
-
getSampledSet
Returns the domain of the parcel's trajectory.- Returns:
- The domain of the parcel's trajectory.
-
toString
Returns the string version of this instance.
-