public final class DewPointExtractorCell extends ComputeCell
Constructor and Description |
---|
DewPointExtractorCell(visad.DataReference dewProfileRef,
visad.DataReference presRef)
Constructs from input data cells.
|
Modifier and Type | Method and Description |
---|---|
protected visad.Data |
compute(visad.Data[] datums)
Computes the output dew-point.
|
clean, disableRef, enableAllInputRefs, getInputRefs, getOutputRef, noDataField, toString
public DewPointExtractorCell(visad.DataReference dewProfileRef, visad.DataReference presRef) throws visad.VisADException, java.rmi.RemoteException
dewProfileRef
- The input dew-point profile reference.presRef
- The input pressure reference.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 in the same order as during
construction. datums[0]
is the
dew-point profile and datums[1]
is the pressure at which to interpolate the
dew-point 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.