public final class MixingRatioProfileCell extends ComputeCell
Constructor and Description |
---|
MixingRatioProfileCell(visad.DataReference tempProfileRef,
visad.Field noData)
Constructs from data references.
|
Modifier and Type | Method and Description |
---|---|
protected visad.Data |
compute(visad.Data[] datums)
Computes the output profile of water-vapor mixing-ratio.
|
clean, disableRef, enableAllInputRefs, getInputRefs, getOutputRef, noDataField, toString
public MixingRatioProfileCell(visad.DataReference tempProfileRef, visad.Field noData) throws visad.VisADException, java.rmi.RemoteException
tempProfileRef
- The input temperature profile reference.noData
- The missing data value.visad.VisADException
- if a VisAD failure occurs.java.rmi.RemoteException
- if a Java RMI failure occurs.protected visad.Data compute(visad.Data[] datums) throws visad.TypeException, visad.VisADException, java.rmi.RemoteException
compute
in class ComputeCell
datums
- The input data. datums[0]
is
the input temperature profile.java.lang.ClassCastException
- if an input data reference has the wrong
type of data object.visad.TypeException
- if a VisAD data object has the wrong type.visad.VisADException
- if a VisAD failure occurs.java.rmi.RemoteException
- if a Java RMI failure occurs.