Package ucar.unidata.view.sounding
Class SaturationMixingRatioBean
java.lang.Object
ucar.unidata.view.sounding.ClockedBean
ucar.unidata.view.sounding.SaturationMixingRatioBean
A Java Bean that computes saturation mixing ratio from a pressure and the
dew-point at that pressure.
- Version:
- $Revision: 1.6 $ $Date: 2005/05/13 18:33:36 $
- Author:
- Steven R. Emmerson
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The name of the saturation mixing-ratio output-property. -
Constructor Summary
ConstructorsConstructorDescriptionSaturationMixingRatioBean
(BeanNetwork network) Constructs from the network in which this bean will be a component. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the saturation mixing-ratio property.void
setDewPoint
(Real dewPoint) Sets the input dew-point.void
setPressure
(Real pressure) Sets the input pressure.Methods inherited from class ucar.unidata.view.sounding.ClockedBean
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
-
Field Details
-
OUTPUT_PROPERTY_NAME
The name of the saturation mixing-ratio output-property.- See Also:
-
-
Constructor Details
-
SaturationMixingRatioBean
Constructs from the network in which this bean will be a component.- Parameters:
network
- The bean network.
-
-
Method Details
-
setDewPoint
Sets the input dew-point. The data is not copied.- Parameters:
dewPoint
- The input dew-point.- Throws:
NullPointerException
- if the argument isnull
.TypeException
- if the profile has the wrong type.VisADException
- if a VisAD failure occurs.RemoteException
- if a Java RMI failure occurs.
-
setPressure
Sets the input pressure. The data is not copied.- Parameters:
pressure
- The input pressure.- Throws:
NullPointerException
- if the argument isnull
.TypeException
- if the pressure has the wrong type.VisADException
- if a VisAD failure occurs.RemoteException
- if a Java RMI failure occurs.
-
getSaturationMixingRatio
Returns the value of the saturation mixing-ratio property.- Returns:
- The value of the saturation mixing-ratio property.
-