ucar.unidata.view.sounding
Class AerologicalReadoutTable.MixingRatioReadout

java.lang.Object
  extended by ucar.unidata.view.sounding.RealReadout
      extended by ucar.unidata.view.sounding.AerologicalReadoutTable.MyReadout
          extended by ucar.unidata.view.sounding.AerologicalReadoutTable.PTDerivedReadout
              extended by ucar.unidata.view.sounding.AerologicalReadoutTable.MixingRatioReadout
All Implemented Interfaces:
PropertyChangeListener, EventListener
Enclosing class:
AerologicalReadoutTable

protected static class AerologicalReadoutTable.MixingRatioReadout
extends AerologicalReadoutTable.PTDerivedReadout

Provides support for mixing ratio readouts.


Nested Class Summary
 
Nested classes/interfaces inherited from class ucar.unidata.view.sounding.RealReadout
RealReadout.FormatProperty, RealReadout.NameProperty, RealReadout.NumericValueProperty, RealReadout.UnitProperty
 
Field Summary
 
Fields inherited from class ucar.unidata.view.sounding.RealReadout
FORMAT, NAME, NUMERIC_STRING, REAL_UNIT, REALTYPE_NAME, REALTYPE_UNIT, SPECIFIED_NAME, SPECIFIED_UNIT, UNIT_STRING
 
Constructor Summary
AerologicalReadoutTable.MixingRatioReadout()
          Constructs from nothing.
AerologicalReadoutTable.MixingRatioReadout(String name)
          Constructs from a name for the readout.
 
Method Summary
protected  Real compute(Real pressure, Real temperature)
          Computes the derived quantity.
 
Methods inherited from class ucar.unidata.view.sounding.AerologicalReadoutTable.PTDerivedReadout
compute, getPressure, getTemperature, setPressure, setTemperature
 
Methods inherited from class ucar.unidata.view.sounding.RealReadout
addPropertyChangeListener, getName, getNumericString, getUnitString, propertyChange, setFormat, setNameUse, setReal, setSpecifiedName, setSpecifiedUnit, setUnitUse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AerologicalReadoutTable.MixingRatioReadout

public AerologicalReadoutTable.MixingRatioReadout()
                                           throws ParseException
Constructs from nothing.

Throws:
ParseException - Bad internal unit specification.

AerologicalReadoutTable.MixingRatioReadout

public AerologicalReadoutTable.MixingRatioReadout(String name)
                                           throws ParseException
Constructs from a name for the readout.

Parameters:
name - The name for the readout.
Throws:
ParseException - Bad internal unit specification.
Method Detail

compute

protected Real compute(Real pressure,
                       Real temperature)
                throws RemoteException,
                       VisADException
Computes the derived quantity.

Specified by:
compute in class AerologicalReadoutTable.PTDerivedReadout
Parameters:
pressure - The pressure.
temperature - The temperature.
Returns:
The value of the derived quantity.
Throws:
VisADException - VisAD failure.
RemoteException - Java RMI failure.