Package ucar.nc2.ft
Interface StationTimeSeriesFeatureCollection
-
- All Superinterfaces:
DsgFeatureCollection
,Iterable<StationTimeSeriesFeature>
,PointFeatureCC
,StationFeatureCollection
- All Known Implementing Classes:
CompositeStationCollection
,StandardStationCollectionImpl
,StationCollectionStream
,StationTimeSeriesCollectionImpl
public interface StationTimeSeriesFeatureCollection extends StationFeatureCollection, PointFeatureCC, Iterable<StationTimeSeriesFeature>
A collection of StationTimeSeriesFeature.
-
-
Method Summary
-
Methods inherited from interface ucar.nc2.ft.DsgFeatureCollection
getAltName, getAltUnits, getBoundingBox, getCalendarDateRange, getCollectionFeatureType, getCoordinateVariables, getExtraVariables, getName, getTimeName, getTimeUnit, size
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface ucar.nc2.ft.PointFeatureCC
getCollectionIterator
-
-
-
-
Method Detail
-
getStationFeatures
List<StationFeature> getStationFeatures()
- Specified by:
getStationFeatures
in interfaceStationFeatureCollection
-
getStationFeatures
List<StationFeature> getStationFeatures(List<String> stnNames)
- Specified by:
getStationFeatures
in interfaceStationFeatureCollection
-
getStationFeatures
List<StationFeature> getStationFeatures(LatLonRect boundingBox)
- Specified by:
getStationFeatures
in interfaceStationFeatureCollection
-
findStationFeature
StationFeature findStationFeature(String name)
- Specified by:
findStationFeature
in interfaceStationFeatureCollection
-
getStationTimeSeriesFeature
StationTimeSeriesFeature getStationTimeSeriesFeature(StationFeature s)
-
subset
StationTimeSeriesFeatureCollection subset(List<StationFeature> stations)
-
subset
StationTimeSeriesFeatureCollection subset(LatLonRect boundingBox) throws IOException
- Throws:
IOException
-
subset
StationTimeSeriesFeatureCollection subset(List<StationFeature> stns, CalendarDateRange dateRange) throws IOException
- Throws:
IOException
-
subset
StationTimeSeriesFeatureCollection subset(LatLonRect boundingBox, CalendarDateRange dateRange) throws IOException
- Throws:
IOException
-
flatten
PointFeatureCollection flatten(List<String> stations, CalendarDateRange dateRange, List<VariableSimpleIF> varList)
Flatten into a PointFeatureCollection, discarding connectedness information.- Parameters:
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- Returns:
- a PointFeatureCollection, may be null if its empty.
-
flatten
PointFeatureCollection flatten(LatLonRect llbbox, CalendarDateRange dateRange) throws IOException
- Throws:
IOException
-
getStationFeature
StationFeature getStationFeature(PointFeature flatPointFeature)
-
subsetFeatures
StationTimeSeriesFeatureCollection subsetFeatures(List<StationFeature> stations)
-
hasNext
boolean hasNext() throws IOException
Deprecated.use foreachUse the internal iterator to check if there is another StationTimeSeriesFeature in the iteration.- Returns:
- true is there is another StationTimeSeriesFeature in the iteration.
- Throws:
IOException
- on read error
-
next
StationTimeSeriesFeature next() throws IOException
Deprecated.use foreachUse the internal iterator to get the next StationTimeSeriesFeature in the iteration. You must call hasNext() before you call this.- Returns:
- the next StationTimeSeriesFeature in the iteration
- Throws:
IOException
- on read error
-
finish
void finish()
Deprecated.use foreachMake sure that the internal iterator is complete, and recover resources. You must complete the iteration (until hasNext() returns false) or call finish().- See Also:
PointFeatureIterator.close()
-
resetIteration
void resetIteration()
Deprecated.use foreachReset the internal iterator for another iteration over the StationTimeSeriesFeatures in this Collection.
-
getPointFeatureCollectionIterator
PointFeatureCollectionIterator getPointFeatureCollectionIterator()
Deprecated.use foreach
-
-