Class MixingRatioProfileCell

java.lang.Object
ucar.unidata.view.sounding.ComputeCell
ucar.unidata.view.sounding.MixingRatioProfileCell

public final class MixingRatioProfileCell extends ComputeCell
Computes a profile of water-vapor mixing-ratio from a profile of temperature.
Version:
$Revision: 1.6 $ $Date: 2005/05/13 18:33:33 $
Author:
Steven R. Emmerson
  • Constructor Details

  • Method Details

    • compute

      protected Data compute(Data[] datums) throws TypeException, VisADException, RemoteException
      Computes the output profile of water-vapor mixing-ratio. If the input temperature profile is the in-situ temperature, then the returned profile is the saturation mixing-ratio; if the input profile is the dew-point temperature, then the returned profile is the actual water- vapor mixing-ratio.
      Specified by:
      compute in class ComputeCell
      Parameters:
      datums - The input data. datums[0] is the input temperature profile.
      Returns:
      The corresponding water-vapor mixing-ratio profile.
      Throws:
      ClassCastException - if an input data reference has the wrong type of data object.
      TypeException - if a VisAD data object has the wrong type.
      VisADException - if a VisAD failure occurs.
      RemoteException - if a Java RMI failure occurs.