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(java.util.List<java.lang.String> stations,
CalendarDateRange dateRange,
java.util.List<VariableSimpleIF> varList)
Flatten into a PointFeatureCollection, discarding connectedness information.
|
PointFeatureCollection |
flatten(java.util.List<java.lang.String> stations,
DateRange dateRange,
java.util.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.
|
java.util.List<StationFeature> |
getStationFeatures()
Get list of stations as StationFeatures
|
java.util.List<StationFeature> |
getStationFeatures(LatLonRect boundingBox) |
java.util.List<StationFeature> |
getStationFeatures(java.util.List<java.lang.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(java.util.List<Station> stations)
Get a subsetted StationCollection based on a list of Stations.
|
StationTimeSeriesFeatureCollection |
subsetFeatures(java.util.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 java.io.IOException
java.io.IOException
- on read errorStationTimeSeriesFeature next() throws java.io.IOException
java.io.IOException
- on read errorvoid finish()
PointFeatureIterator.finish()
void resetIteration() throws java.io.IOException
java.io.IOException
- on read errorStationTimeSeriesFeatureCollection subset(java.util.List<Station> stations) throws java.io.IOException
stations
- only contain these stationsjava.io.IOException
- on i/o errorStationTimeSeriesFeatureCollection subsetFeatures(java.util.List<StationFeature> stations) throws java.io.IOException
stations
- only contain these stationsjava.io.IOException
- on i/o errorStationTimeSeriesFeatureCollection subset(LatLonRect boundingBox) throws java.io.IOException
subset
in interface NestedPointFeatureCollection
boundingBox
- spatial subset. may be nulljava.io.IOException
- on i/o errorStationTimeSeriesFeature getStationFeature(Station s) throws java.io.IOException
s
- get data for this station, must have come from this Collectionjava.io.IOException
- on i/o errorStation getStation(PointFeature feature) throws java.io.IOException
feature
- PointFeature obtained from a StationTimeSeriesFeature in this collectionjava.io.IOException
- on i/o errorjava.util.List<StationFeature> getStationFeatures() throws java.io.IOException
java.io.IOException
- on i/o errorjava.util.List<StationFeature> getStationFeatures(java.util.List<java.lang.String> stnNames) throws java.io.IOException
java.io.IOException
java.util.List<StationFeature> getStationFeatures(LatLonRect boundingBox) throws java.io.IOException
java.io.IOException
PointFeatureCollection flatten(java.util.List<java.lang.String> stations, CalendarDateRange dateRange, java.util.List<VariableSimpleIF> varList) throws java.io.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 ignoredjava.io.IOException
- on read errorPointFeatureCollection flatten(java.util.List<java.lang.String> stations, DateRange dateRange, java.util.List<VariableSimpleIF> varList) throws java.io.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 ignoredjava.io.IOException
- on read error