Class PseudoAdiabaticLapseRate


public class PseudoAdiabaticLapseRate extends ScalarQuantity
Provides support for the latent heat of evaporation.
Version:
$Id: PseudoAdiabaticLapseRate.java,v 1.12 2005/05/13 18:35:42 jeffmc Exp $
Author:
Steven R. Emmerson
  • Field Details

    • one

      protected static Real one
      The dimensionless quantity one.
    • lOverRSubD

      protected static Real lOverRSubD
      The latent heat of evaporation divided by the dry air gas constant.
    • epsilonL

      protected static Real epsilonL
      (waterVaporMolecularWeight / dryAirMolecularWeight) latentHeatOfEvaporation
    • epsilonL2OverCSubPRSubD

      protected static Real epsilonL2OverCSubPRSubD
      ((waterVaporMolecularWeight / dryAirMolecularWeight) latentHeatOfEvaporation.pow(2)) (dryAirSpecificHeatCapacity * dryAirGasConstant)
  • Method Details

    • getRealType

      public static RealType getRealType() throws VisADException
      Obtains the RealType associated with this class.
      Returns:
      The RealType associated with this class.
      Throws:
      VisADException - Couldn't perform necessary VisAD operation.
    • create

      public static Data create(Data pressure, Data temperature) throws TypeException, VisADException, RemoteException
      Creates a pseudo-adiabatic lapse-rate data object from data objects for in-situ air pressure and temperature. Reasonable approximations are used.
      Parameters:
      pressure - The in-situ air pressure data object.
      temperature - The in-situ air temperature data object.
      Returns:
      The lapse-rate data object corresponding to the input arguments.
      Throws:
      TypeException - An input argument has wrong type.
      VisADException - Couldn't create necessary VisAD object.
      RemoteException - Java RMI failure.
    • main

      public static void main(String[] args) throws Exception
      Tests this class.
      Parameters:
      args - Arguments, Ignored.
      Throws:
      Exception - Something went wrong.