Package ucar.unidata.view.sounding
Class DewPointExtractorBean
java.lang.Object
ucar.unidata.view.sounding.ClockedBean
ucar.unidata.view.sounding.DewPointExtractorBean
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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDewPointExtractorBean
(BeanNetwork network) Constructs from the network in which this bean will be a component. -
Method Summary
Modifier and TypeMethodDescriptionReturns 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
-
Field Details
-
OUTPUT_PROPERTY_NAME
The name of the output property.- See Also:
-
-
Constructor Details
-
DewPointExtractorBean
Constructs from the network in which this bean will be a component.- Parameters:
network
- The bean network.
-
-
Method Details
-
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
Sets the extraction pressure.- Parameters:
pres
- The extraction pressure.- Throws:
NullPointerException
- if the argument isnull
.TypeException
- if the argument has the wrong type.VisADException
- if a VisAD failure occurs.RemoteException
- if a Java RMI failure occurs.
-
getDewPoint
Returns the value of the output dew-point temperature.- Returns:
- The dew-point temperature value.
-