public interface StationTimeSeriesFeatureCollection extends StationCollection, NestedPointFeatureCollection
Modifier and Type | Method and Description |
---|---|
void |
finish()
Make sure that the internal iterator is complete, and recover resources.
|
PointFeatureCollection |
flatten(List<String> stations,
CalendarDateRange dateRange,
List<VariableSimpleIF> varList)
Flatten into a PointFeatureCollection, discarding connectedness information.
|
PointFeatureCollection |
flatten(List<String> stations,
DateRange dateRange,
List<VariableSimpleIF> varList)
Deprecated.
use CalendarDateRange
|
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.
|
List<StationFeature> |
getStationFeatures()
Get list of stations as StationFeatures
|
List<StationFeature> |
getStationFeatures(LatLonRect boundingBox) |
List<StationFeature> |
getStationFeatures(List<String> stnNames) |
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.
|
StationTimeSeriesFeatureCollection |
subsetFeatures(List<StationFeature> stations)
Get a subsetted StationCollection based on a list of Stations.
|
getBoundingBox, getStation, getStations, getStations, getStations
flatten, flatten, getAltUnits, getExtraVariables, getNestedPointFeatureCollectionIterator, getPointFeatureCollectionIterator, getTimeUnit, isMultipleNested, size
getCollectionFeatureType, getName
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 stationsIOException
- on i/o errorStationTimeSeriesFeatureCollection subsetFeatures(List<StationFeature> stations) throws IOException
stations
- only contain these stationsIOException
- on i/o errorStationTimeSeriesFeatureCollection subset(LatLonRect boundingBox) throws IOException
subset
in interface NestedPointFeatureCollection
boundingBox
- spatial subset. may be nullIOException
- on i/o errorStationTimeSeriesFeature getStationFeature(Station s) throws IOException
s
- get data for this station, must have come from this CollectionIOException
- on i/o errorStation getStation(PointFeature feature) throws IOException
feature
- PointFeature obtained from a StationTimeSeriesFeature in this collectionIOException
- on i/o errorList<StationFeature> getStationFeatures() throws IOException
IOException
- on i/o errorList<StationFeature> getStationFeatures(List<String> stnNames) throws IOException
IOException
List<StationFeature> getStationFeatures(LatLonRect boundingBox) throws IOException
IOException
PointFeatureCollection flatten(List<String> stations, CalendarDateRange 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 ignoredIOException
- on read 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 ignoredIOException
- on read errorCopyright © 1999–2018 UCAR/Unidata. All rights reserved.