Package ucar.unidata.data.point
Class PointDataInstance
java.lang.Object
ucar.unidata.data.DataInstance
ucar.unidata.data.point.PointDataInstance
Utility class to wrap a Point Data Choice
-
Field Summary
FieldsFields inherited from class ucar.unidata.data.DataInstance
dataChoice, dataSelection, haveBeenInitialized, inError, log_, myRequestProperties
-
Constructor Summary
ConstructorsConstructorDescriptionPointDataInstance
(DataChoice choice, DataSelection selection, Hashtable requestProperties) Create a new PointDataInstance from the parameters -
Method Summary
Modifier and TypeMethodDescriptionGet the datagetPointObs
(LinearLatLonSet bounds) Get the data, using only points inside the bounding boxGet the data as a time sequencegetTimeSequence
(LinearLatLonSet bounds) Get the data as a time sequence.protected void
init()
Initialize the class and populate the fieldsvoid
Reinitializae this GridDataInstanceMethods inherited from class ucar.unidata.data.DataInstance
checkInit, dataOk, getData, getData, getData, getDataChoice, getDataSelection, getNextId, getParamName, needsInitialization, setData, setDataSelection, setTheData
-
Field Details
-
pointObs
point observations
-
-
Constructor Details
-
PointDataInstance
public PointDataInstance(DataChoice choice, DataSelection selection, Hashtable requestProperties) throws VisADException, RemoteException Create a new PointDataInstance from the parameters- Parameters:
choice
- data choice describing the dataselection
- selection criteriarequestProperties
- extra initialization properties- Throws:
RemoteException
- Java RMI errorVisADException
- VisAD Error
-
-
Method Details
-
init
Initialize the class and populate the fields- Overrides:
init
in classDataInstance
- Throws:
RemoteException
- Java RMI errorVisADException
- VisAD Error
-
reInitialize
Reinitializae this GridDataInstance- Overrides:
reInitialize
in classDataInstance
- Throws:
RemoteException
- Java RMI errorVisADException
- VisAD Error
-
getTimeSequence
Get the data as a time sequence- Returns:
- time sequence of PointObs
- Throws:
RemoteException
- Java RMI errorVisADException
- VisAD Error
-
getTimeSequence
Get the data as a time sequence. Only use points inside the bounding box- Parameters:
bounds
- lat/lon boundds- Returns:
- time sequence of PointObs in the bounds
- Throws:
RemoteException
- Java RMI errorVisADException
- VisAD Error
-
getPointObs
Get the data- Returns:
- the data
- Throws:
RemoteException
- Java RMI errorVisADException
- VisAD Error
-
getPointObs
Get the data, using only points inside the bounding box- Parameters:
bounds
- lat/lon boundds- Returns:
- PointObs in the bounds
- Throws:
RemoteException
- Java RMI errorVisADException
- VisAD Error
-