Package ucar.unidata.view.sounding
Class DomainExtractorCell
java.lang.Object
ucar.unidata.view.sounding.ComputeCell
ucar.unidata.view.sounding.DomainExtractorCell
- Version:
- $Revision: 1.5 $ $Date: 2005/05/13 18:33:29 $
- Author:
- Steven R. Emmerson
-
Constructor Summary
ConstructorsConstructorDescriptionDomainExtractorCell
(DataReference fieldRef, Data noData) Constructs from a data reference for theField
and a missing data value. -
Method Summary
Methods inherited from class ucar.unidata.view.sounding.ComputeCell
clean, disableRef, enableAllInputRefs, getInputRefs, getOutputRef, noDataField, toString
-
Constructor Details
-
DomainExtractorCell
public DomainExtractorCell(DataReference fieldRef, Data noData) throws VisADException, RemoteException Constructs from a data reference for theField
and a missing data value.- Parameters:
fieldRef
- The field reference.noData
- The missing data value.- Throws:
VisADException
- if a VisAD failure occurs.RemoteException
- if a Java RMI failure occurs.
-
-
Method Details
-
compute
Computes the output value by extracting the domain of the field.- Specified by:
compute
in classComputeCell
- Parameters:
datums
- The input data.datums[0]
is the field.- Returns:
- The domain points of the field. The
Object has type
SampledSet
. - 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.
-