Class CapeBean

java.lang.Object
ucar.unidata.view.sounding.ClockedBean
ucar.unidata.view.sounding.CapeBean

public final class CapeBean extends ClockedBean
A Java Bean that computes the Convective Available Potential Energy (CAPE) an atmospheric buoyancy-profile.
Version:
$Revision: 1.6 $ $Date: 2005/05/13 18:33:25 $
Author:
Steven R. Emmerson
  • Field Details

    • OUTPUT_PROPERTY_NAME

      public static final String OUTPUT_PROPERTY_NAME
      The name of the output property.
      See Also:
  • Constructor Details

    • CapeBean

      public CapeBean(BeanNetwork network)
      Constructs from the network in which this bean will be a component.
      Parameters:
      network - The bean network.
  • Method Details

    • setBuoyancyProfile

      public void setBuoyancyProfile(Field buoy) throws TypeException, VisADException, RemoteException
      Sets the input, buoyancy profile.
      Parameters:
      buoy - The input, buoyancy profile.
      Throws:
      TypeException - if the domain quantity isn't pressure or the range quantity isn't volume per mass.
      VisADException - if a VisAD failure occurs.
      RemoteException - if a Java RMI failure occurs.
    • getCape

      public Real getCape()
      Returns the value of the output CAPE property. The data is not copied.
      Returns:
      The value of the output buoyancy-profile.