ucar.unidata.view.sounding
Class DewPointExtractorBean

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

public final class DewPointExtractorBean
extends ClockedBean

A Java Bean that extracts the dew-point temperature from a dew-point temperature profile at a given pressure.

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

Field Summary
static String OUTPUT_PROPERTY_NAME
          The name of the output property.
 
Constructor Summary
DewPointExtractorBean(BeanNetwork network)
          Constructs from the network in which this bean will be a component.
 
Method Summary
 Real getDewPoint()
          Returns the value of the output dew-point temperature.
 void setDewPointProfile(Field dewProfile)
          Sets the input, dew-point profile.
 void setPressure(Real pres)
          Sets the extraction pressure.
 
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

DewPointExtractorBean

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

Parameters:
network - The bean network.
Method Detail

setDewPointProfile

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

Parameters:
dewProfile - The input dew-point profile.
Throws:
TypeException - if the domain quantity of the profile isn't pressure or the range quantity of the profile isn't dew-point temperature.
VisADException - if a VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.

setPressure

public void setPressure(Real pres)
                 throws TypeException,
                        VisADException,
                        RemoteException
Sets the extraction pressure.

Parameters:
pres - The extraction pressure.
Throws:
NullPointerException - if the argument is null.
TypeException - if the argument has the wrong type.
VisADException - if a VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.

getDewPoint

public Real getDewPoint()
Returns the value of the output dew-point temperature.

Returns:
The dew-point temperature value.