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) |
getCollectionFeatureType
getAltUnits, getCalendarDateRange, getExtraVariables, getInfo, getName, getNobs, getTimeUnit, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAltUnits, getCalendarDateRange, getCollectionFeatureType, getExtraVariables, getName, getTimeUnit, size
forEach, spliterator
protected PointFeatureCollectionIterator localIterator
public StationTimeSeriesCollectionImpl(String name, CalendarDateUnit timeUnit, String altUnits)
protected StationHelper getStationHelper()
protected abstract StationHelper createStationHelper() throws IOException
IOException
public LatLonRect getBoundingBox()
DsgFeatureCollection
getBoundingBox
in interface DsgFeatureCollection
getBoundingBox
in class DsgCollectionImpl
public List<StationFeature> getStationFeatures() throws IOException
getStationFeatures
in interface StationTimeSeriesFeatureCollection
IOException
public List<StationFeature> getStationFeatures(List<String> stnNames)
getStationFeatures
in interface StationTimeSeriesFeatureCollection
public List<StationFeature> getStationFeatures(LatLonRect boundingBox) throws IOException
getStationFeatures
in interface StationTimeSeriesFeatureCollection
IOException
public StationFeature findStationFeature(String name)
findStationFeature
in interface StationTimeSeriesFeatureCollection
public StationTimeSeriesFeature getStationTimeSeriesFeature(StationFeature s)
getStationTimeSeriesFeature
in interface StationTimeSeriesFeatureCollection
public StationTimeSeriesFeatureCollection subset(LatLonRect boundingBox) throws IOException
subset
in interface StationTimeSeriesFeatureCollection
IOException
public StationTimeSeriesFeatureCollection subset(LatLonRect boundingBox, CalendarDateRange dateRange) throws IOException
subset
in interface StationTimeSeriesFeatureCollection
IOException
public StationTimeSeriesFeatureCollection subset(List<StationFeature> stations) throws IOException
subset
in interface StationTimeSeriesFeatureCollection
IOException
public StationTimeSeriesFeatureCollection subset(List<StationFeature> stnsWanted, CalendarDateRange dateRange) throws IOException
subset
in interface StationTimeSeriesFeatureCollection
IOException
public StationTimeSeriesFeatureCollection subsetFeatures(List<StationFeature> stationsFeatures) throws IOException
subsetFeatures
in interface StationTimeSeriesFeatureCollection
IOException
public PointFeatureCollection flatten(List<String> stationNames, CalendarDateRange dateRange, List<VariableSimpleIF> varList) throws IOException
StationTimeSeriesFeatureCollection
flatten
in interface StationTimeSeriesFeatureCollection
stationNames
- 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 StationTimeSeriesFeatureCollection
IOException
public StationFeature getStationFeature(PointFeature flatPointFeature) throws IOException
getStationFeature
in interface StationTimeSeriesFeatureCollection
IOException
public Iterator<StationTimeSeriesFeature> iterator()
iterator
in interface Iterable<StationTimeSeriesFeature>
public IOIterator<PointFeatureCollection> getCollectionIterator() throws IOException
PointFeatureCC
getCollectionIterator
in interface PointFeatureCC
IOException
public PointFeatureCollectionIterator getPointFeatureCollectionIterator() throws IOException
getPointFeatureCollectionIterator
in interface StationTimeSeriesFeatureCollection
IOException
public boolean hasNext() throws IOException
StationTimeSeriesFeatureCollection
hasNext
in interface StationTimeSeriesFeatureCollection
IOException
- on read errorpublic void finish()
StationTimeSeriesFeatureCollection
finish
in interface StationTimeSeriesFeatureCollection
PointFeatureIterator.close()
public StationTimeSeriesFeature next() throws IOException
StationTimeSeriesFeatureCollection
next
in interface StationTimeSeriesFeatureCollection
IOException
- on read errorpublic void resetIteration() throws IOException
StationTimeSeriesFeatureCollection
resetIteration
in interface StationTimeSeriesFeatureCollection
IOException
- on read error