Package ucar.nc2.ft
Interface StationProfileFeatureCollection
-
- All Superinterfaces:
DsgFeatureCollection,Iterable<StationProfileFeature>,PointFeatureCCC
- All Known Implementing Classes:
StandardStationProfileCollectionImpl,StationProfileCollectionImpl
public interface StationProfileFeatureCollection extends PointFeatureCCC, Iterable<StationProfileFeature>
A collection of StationProfileFeatures- Since:
- Feb 29, 2008
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StationFeaturefindStationFeature(String name)PointFeatureCCIteratorgetNestedPointFeatureCollectionIterator()Deprecated.use foreachList<StationFeature>getStationFeatures()List<StationFeature>getStationFeatures(List<String> stnNames)List<StationFeature>getStationFeatures(LatLonRect boundingBox)StationProfileFeaturegetStationProfileFeature(StationFeature s)booleanhasNext()Deprecated.use foreachStationProfileFeaturenext()Deprecated.use foreachvoidresetIteration()Deprecated.use foreachStationProfileFeatureCollectionsubset(List<StationFeature> stations)StationProfileFeatureCollectionsubset(List<StationFeature> stns, CalendarDateRange dateRange)StationProfileFeatureCollectionsubset(LatLonRect boundingBox)StationProfileFeatureCollectionsubset(LatLonRect boundingBox, CalendarDateRange dateRange)-
Methods inherited from interface ucar.nc2.ft.DsgFeatureCollection
getAltUnits, getBoundingBox, getCalendarDateRange, getCollectionFeatureType, getExtraVariables, getName, getTimeUnit, size
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface ucar.nc2.ft.PointFeatureCCC
getCollectionIterator
-
-
-
-
Method Detail
-
getStationFeatures
List<StationFeature> getStationFeatures()
-
getStationFeatures
List<StationFeature> getStationFeatures(List<String> stnNames)
-
getStationFeatures
List<StationFeature> getStationFeatures(LatLonRect boundingBox)
-
findStationFeature
StationFeature findStationFeature(String name)
-
getStationProfileFeature
StationProfileFeature getStationProfileFeature(StationFeature s)
-
subset
StationProfileFeatureCollection subset(List<StationFeature> stations)
-
subset
StationProfileFeatureCollection subset(LatLonRect boundingBox)
-
subset
StationProfileFeatureCollection subset(List<StationFeature> stns, CalendarDateRange dateRange)
-
subset
StationProfileFeatureCollection subset(LatLonRect boundingBox, CalendarDateRange dateRange) throws IOException
- Throws:
IOException
-
hasNext
boolean hasNext() throws IOExceptionDeprecated.use foreachUse the internal iterator to check if there is another StationProfileFeature in the iteration.- Returns:
- true is there is another StationProfileFeature in the iteration.
- Throws:
IOException- on read error
-
next
StationProfileFeature next() throws IOException
Deprecated.use foreachUse the internal iterator to get the next StationProfileFeature in the iteration. You must call hasNext() before you call this.- Returns:
- the next StationProfileFeature in the iteration
- Throws:
IOException- on read error
-
resetIteration
void resetIteration() throws IOExceptionDeprecated.use foreachReset the internal iterator for another iteration over the StationProfileFeature in this Collection.- Throws:
IOException- on read error
-
getNestedPointFeatureCollectionIterator
PointFeatureCCIterator getNestedPointFeatureCollectionIterator() throws IOException
Deprecated.use foreach- Throws:
IOException
-
-