public interface PointCollection
| Modifier and Type | Method and Description |
|---|---|
List |
getData()
Deprecated.
Get all data.
|
List |
getData(CancelTask cancel)
Deprecated.
Get all data, allow user to cancel.
|
List |
getData(LatLonRect boundingBox)
Deprecated.
Get all data within the specified bounding box.
|
List |
getData(LatLonRect boundingBox,
CancelTask cancel)
Deprecated.
Get all data within the specified bounding box, allow user to cancel.
|
List |
getData(LatLonRect boundingBox,
Date start,
Date end)
Deprecated.
Get all data within the specified bounding box and date range.
|
List |
getData(LatLonRect boundingBox,
Date start,
Date end,
CancelTask cancel)
Deprecated.
Get all data within the specified bounding box and date range, allow user to cancel.
|
Class |
getDataClass()
Deprecated.
The getData() methods return objects of this Class
|
int |
getDataCount()
Deprecated.
Get estimate of number of data records (may not be exact).
|
DataIterator |
getDataIterator(int bufferSize)
Deprecated.
Get an efficient iterator over all the data in the Collection.
|
DateUnit |
getTimeUnits()
Deprecated.
Get the units of Calendar time.
|
Class getDataClass()
DateUnit getTimeUnits()
List getData() throws IOException
IOException - on io erroras a (possibly) more efficient alternativeList getData(CancelTask cancel) throws IOException
cancel - allow user to cancel. Implementors should return ASAP.IOException - on io erroras a (possibly) more efficient alternativeint getDataCount()
List getData(LatLonRect boundingBox) throws IOException
boundingBox - restrict data to this bounding noxIOException - on io erroras a (possibly) more efficient alternativeList getData(LatLonRect boundingBox, CancelTask cancel) throws IOException
boundingBox - restrict data to this bounding noxcancel - allow user to cancel. Implementors should return ASAP.IOException - on io erroras a (possibly) more efficient alternativeList getData(LatLonRect boundingBox, Date start, Date end) throws IOException
boundingBox - restrict data to this bounding noxstart - restrict data to after this timeend - restrict data to before this timeIOException - on io erroras a (possibly) more efficient alternativeList getData(LatLonRect boundingBox, Date start, Date end, CancelTask cancel) throws IOException
boundingBox - restrict data to this bounding noxstart - restrict data to after this timeend - restrict data to before this timecancel - allow user to cancel. Implementors should return ASAP.IOException - on io erroras a (possibly) more efficient alternativeDataIterator getDataIterator(int bufferSize) throws IOException
We dont need a cancelTask, just stop the iteration if the user want to cancel.
Example for point observations:
Iterator iter = pointObsDataset.getDataIterator();
while (iter.hasNext()) {
PointObsDatatype pobs = (PointObsDatatype) iter.next();
StructureData sdata = pobs.getData();
// process fully
}
bufferSize - if > 0, the internal buffer size, else use the default. Typically 100k - 1M for best results.IOException - on io errorCopyright © 1999–2014 UCAR/Unidata. All rights reserved.