Class PseudoAdiabaticTrajectory

java.lang.Object
ucar.unidata.view.sounding.PseudoAdiabaticTrajectory

public class PseudoAdiabaticTrajectory extends Object
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 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

      public RealType getPressureRealType() throws VisADException
      Returns the type of the pressure quantity.
      Returns:
      The type of the pressure quantity.
      Throws:
      VisADException - VisAD failure.
    • getTemperatureRealType

      public RealType getTemperatureRealType() throws VisADException
      Returns the type of the temperature quantity.
      Returns:
      The type of the temperature quantity.
      Throws:
      VisADException - VisAD failure.
    • getSampledSet

      public SampledSet getSampledSet()
      Returns the domain of the parcel's trajectory.
      Returns:
      The domain of the parcel's trajectory.
    • toString

      public String toString()
      Returns the string version of this instance.
      Overrides:
      toString in class Object
      Returns:
      The string version of this instance.