ucar.unidata.view.sounding
Class BuoyancyProfileBean

java.lang.Object
  extended by ucar.unidata.view.sounding.ClockedBean
      extended by ucar.unidata.view.sounding.BuoyancyProfileBean

public final class BuoyancyProfileBean
extends ClockedBean

A Java Bean that computes an atmospheric buoyancy-profile of the trajectory of a parcel of air from in-situ temperature and dew-point profiles.

Version:
$Revision: 1.7 $ $Date: 2005/05/13 18:33:24 $
Author:
Steven R. Emmerson

Field Summary
static String OUTPUT_PROPERTY_NAME
          The name of the output property.
 
Constructor Summary
BuoyancyProfileBean(BeanNetwork network)
          Constructs from the network in which this bean will be a component.
 
Method Summary
 Field getBuoyancyProfile()
          Returns the value of the output buoyancy-profile.
 void setDewPointProfile(Field dew)
          Sets the input, in-situ dew-point profile.
 void setParcelTrajectory(Field traj)
          Sets the air parcel trajectory.
 void setTemperatureProfile(Field temp)
          Sets the input, in-situ air temperature profile.
 
Methods inherited from class ucar.unidata.view.sounding.ClockedBean
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OUTPUT_PROPERTY_NAME

public static final String OUTPUT_PROPERTY_NAME
The name of the output property.

See Also:
Constant Field Values
Constructor Detail

BuoyancyProfileBean

public BuoyancyProfileBean(BeanNetwork network)
Constructs from the network in which this bean will be a component.

Parameters:
network - The bean network.
Method Detail

setTemperatureProfile

public void setTemperatureProfile(Field temp)
                           throws TypeException,
                                  VisADException,
                                  RemoteException
Sets the input, in-situ air temperature profile.

Parameters:
temp - The input, in-situ air temperature profile.
Throws:
TypeException - if the MathType of the profile isn't AirTemperatureProfile.instance().
VisADException - if a VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.

setDewPointProfile

public void setDewPointProfile(Field dew)
                        throws TypeException,
                               VisADException,
                               RemoteException
Sets the input, in-situ dew-point profile.

Parameters:
dew - The input, in-situ dew-point profile.
Throws:
TypeException - if the MathType of the profile isn't DewPointProfile.instance().
VisADException - if a VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.

setParcelTrajectory

public void setParcelTrajectory(Field traj)
                         throws TypeException,
                                VisADException,
                                RemoteException
Sets the air parcel trajectory.

Parameters:
traj - The input, air parcel trajectory.
Throws:
TypeException - if the MathType of the profile isn't AirTemperatureProfile.instance().
VisADException - if a VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.

getBuoyancyProfile

public Field getBuoyancyProfile()
Returns the value of the output buoyancy-profile. The data is not copied.

Returns:
The value of the output buoyancy-profile.