public abstract class StationTimeSeriesCollectionImpl extends PointFeatureCCImpl implements StationTimeSeriesFeatureCollection
| Modifier and Type | Field and Description |
|---|---|
protected PointFeatureCollectionIterator |
localIterator |
collectionFeatureType| Constructor and Description |
|---|
StationTimeSeriesCollectionImpl(String name,
CalendarDateUnit timeUnit,
String altUnits) |
getCollectionFeatureTypegetAltUnits, getCalendarDateRange, getExtraVariables, getInfo, getName, getNobs, getTimeUnit, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAltUnits, getCalendarDateRange, getCollectionFeatureType, getExtraVariables, getName, getTimeUnit, sizeforEach, spliteratorprotected PointFeatureCollectionIterator localIterator
public StationTimeSeriesCollectionImpl(String name, CalendarDateUnit timeUnit, String altUnits)
protected StationHelper getStationHelper()
protected abstract StationHelper createStationHelper() throws IOException
IOExceptionpublic LatLonRect getBoundingBox()
DsgFeatureCollectiongetBoundingBox in interface DsgFeatureCollectiongetBoundingBox in class DsgCollectionImplpublic List<StationFeature> getStationFeatures() throws IOException
getStationFeatures in interface StationTimeSeriesFeatureCollectionIOExceptionpublic List<StationFeature> getStationFeatures(List<String> stnNames)
getStationFeatures in interface StationTimeSeriesFeatureCollectionpublic List<StationFeature> getStationFeatures(LatLonRect boundingBox) throws IOException
getStationFeatures in interface StationTimeSeriesFeatureCollectionIOExceptionpublic StationFeature findStationFeature(String name)
findStationFeature in interface StationTimeSeriesFeatureCollectionpublic StationTimeSeriesFeature getStationTimeSeriesFeature(StationFeature s)
getStationTimeSeriesFeature in interface StationTimeSeriesFeatureCollectionpublic StationTimeSeriesFeatureCollection subset(LatLonRect boundingBox) throws IOException
subset in interface StationTimeSeriesFeatureCollectionIOExceptionpublic StationTimeSeriesFeatureCollection subset(LatLonRect boundingBox, CalendarDateRange dateRange) throws IOException
subset in interface StationTimeSeriesFeatureCollectionIOExceptionpublic StationTimeSeriesFeatureCollection subset(List<StationFeature> stations) throws IOException
subset in interface StationTimeSeriesFeatureCollectionIOExceptionpublic StationTimeSeriesFeatureCollection subset(List<StationFeature> stnsWanted, CalendarDateRange dateRange) throws IOException
subset in interface StationTimeSeriesFeatureCollectionIOExceptionpublic StationTimeSeriesFeatureCollection subsetFeatures(List<StationFeature> stationsFeatures) throws IOException
subsetFeatures in interface StationTimeSeriesFeatureCollectionIOExceptionpublic PointFeatureCollection flatten(List<String> stationNames, CalendarDateRange dateRange, List<VariableSimpleIF> varList) throws IOException
StationTimeSeriesFeatureCollectionflatten in interface StationTimeSeriesFeatureCollectionstationNames - 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 errorpublic PointFeatureCollection flatten(LatLonRect boundingBox, CalendarDateRange dateRange) throws IOException
flatten in interface StationTimeSeriesFeatureCollectionIOExceptionpublic StationFeature getStationFeature(PointFeature flatPointFeature) throws IOException
getStationFeature in interface StationTimeSeriesFeatureCollectionIOExceptionpublic Iterator<StationTimeSeriesFeature> iterator()
iterator in interface Iterable<StationTimeSeriesFeature>public IOIterator<PointFeatureCollection> getCollectionIterator() throws IOException
PointFeatureCCgetCollectionIterator in interface PointFeatureCCIOExceptionpublic PointFeatureCollectionIterator getPointFeatureCollectionIterator() throws IOException
getPointFeatureCollectionIterator in interface StationTimeSeriesFeatureCollectionIOExceptionpublic boolean hasNext()
throws IOException
StationTimeSeriesFeatureCollectionhasNext in interface StationTimeSeriesFeatureCollectionIOException - on read errorpublic void finish()
StationTimeSeriesFeatureCollectionfinish in interface StationTimeSeriesFeatureCollectionPointFeatureIterator.close()public StationTimeSeriesFeature next() throws IOException
StationTimeSeriesFeatureCollectionnext in interface StationTimeSeriesFeatureCollectionIOException - on read errorpublic void resetIteration()
throws IOException
StationTimeSeriesFeatureCollectionresetIteration in interface StationTimeSeriesFeatureCollectionIOException - on read error