|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StationTimeSeriesFeatureCollection
A collection of StationTimeSeriesFeature.
Method Summary | |
---|---|
void |
finish()
Make sure that the internal iterator is complete, and recover resources. |
PointFeatureCollection |
flatten(List<String> stations,
DateRange dateRange,
List<VariableSimpleIF> varList)
Flatten into a PointFeatureCollection, discarding connectedness information. |
Station |
getStation(PointFeature feature)
Get the station that belongs to this feature |
StationTimeSeriesFeature |
getStationFeature(Station s)
Get the collection of data for a particular Station. |
boolean |
hasNext()
Use the internal iterator to check if there is another StationTimeSeriesFeature in the iteration. |
StationTimeSeriesFeature |
next()
Use the internal iterator to get the next StationTimeSeriesFeature in the iteration. |
void |
resetIteration()
Reset the internal iterator for another iteration over the StationTimeSeriesFeatures in this Collection. |
StationTimeSeriesFeatureCollection |
subset(LatLonRect boundingBox)
Get a subsetted StationCollection from a LatLonRect |
StationTimeSeriesFeatureCollection |
subset(List<Station> stations)
Get a subsetted StationCollection based on a list of Stations. |
Methods inherited from interface ucar.nc2.ft.StationCollection |
---|
getBoundingBox, getStation, getStations, getStations, getStations |
Methods inherited from interface ucar.nc2.ft.NestedPointFeatureCollection |
---|
flatten, getNestedPointFeatureCollectionIterator, getPointFeatureCollectionIterator, isMultipleNested, size |
Methods inherited from interface ucar.nc2.ft.FeatureCollection |
---|
getCollectionFeatureType, getName |
Method Detail |
---|
boolean hasNext() throws IOException
IOException
- on read errorStationTimeSeriesFeature next() throws IOException
IOException
- on read errorvoid finish()
PointFeatureIterator.finish()
void resetIteration() throws IOException
IOException
- on read errorStationTimeSeriesFeatureCollection subset(List<Station> stations) throws IOException
stations
- only contain these stations
IOException
- on i/o errorStationTimeSeriesFeatureCollection subset(LatLonRect boundingBox) throws IOException
subset
in interface NestedPointFeatureCollection
boundingBox
- spatial subset. may be null
IOException
- on i/o errorStationTimeSeriesFeature getStationFeature(Station s) throws IOException
s
- get data for this station, must have come from this Collection
IOException
- on i/o errorStation getStation(PointFeature feature) throws IOException
feature
- PointFeature obtained from a StationTimeSeriesFeature in this collection
IOException
- on i/o errorPointFeatureCollection flatten(List<String> stations, DateRange dateRange, List<VariableSimpleIF> varList) throws IOException
stations
- only contain these stations; if null or empty use alldateRange
- only points in this date range. may be null.varList
- only these member variables. may be null. currently ignored
IOException
- on read error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |