ucar.unidata.view.sounding
Class MaxPressureCell
java.lang.Object
ucar.unidata.view.sounding.ComputeCell
ucar.unidata.view.sounding.MaxPressureCell
public final class MaxPressureCell
- extends ComputeCell
Computes the maximum pressure of an atmospheric profile.
- Version:
- $Revision: 1.6 $ $Date: 2005/05/13 18:33:32 $
- Author:
- Steven R. Emmerson
|
Method Summary |
protected Data |
compute(Data[] datums)
Computes the maximum pressure. |
MaxPressureCell
public MaxPressureCell(DataReference proRef,
Real noData)
throws VisADException,
RemoteException
- Constructs from a reference to the atmospheric profile
and a missing-data value.
- Parameters:
proRef - The atmospheric profile reference.noData - The missing data value.
- Throws:
VisADException - if a VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.
compute
protected Data compute(Data[] datums)
throws TypeException,
VisADException,
RemoteException
- Computes the maximum pressure.
- Specified by:
compute in class ComputeCell
- Parameters:
datums - The input data. datums[0] is
the profile.
- Returns:
- The maximum pressure of the profile.
- Throws:
ClassCastException - if an input data reference has the wrong
type of data object.
TypeException - if a VisAD data object has the wrong type.
VisADException - if a VisAD failure occurs.
RemoteException - if a Java RMI failure occurs.