public abstract class StationProfileCollectionImpl extends PointFeatureCCCImpl implements StationProfileFeatureCollection
Modifier and Type | Class and Description |
---|---|
class |
StationProfileCollectionImpl.NestedCollectionIOIteratorAdapter<T> |
Modifier and Type | Field and Description |
---|---|
protected PointFeatureCCIterator |
localIterator |
collectionFeatureType
Constructor and Description |
---|
StationProfileCollectionImpl(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
getNestedPointFeatureCollectionIterator
getCollectionIterator
getAltUnits, getCalendarDateRange, getCollectionFeatureType, getExtraVariables, getName, getTimeUnit, size
forEach, spliterator
protected PointFeatureCCIterator localIterator
public StationProfileCollectionImpl(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 StationProfileFeatureCollection
IOException
public List<StationFeature> getStationFeatures(List<String> stnNames)
getStationFeatures
in interface StationProfileFeatureCollection
public List<StationFeature> getStationFeatures(LatLonRect boundingBox) throws IOException
getStationFeatures
in interface StationProfileFeatureCollection
IOException
public StationFeature findStationFeature(String name)
findStationFeature
in interface StationProfileFeatureCollection
public StationProfileFeature getStationProfileFeature(StationFeature s) throws IOException
getStationProfileFeature
in interface StationProfileFeatureCollection
IOException
public StationProfileCollectionImpl subset(List<StationFeature> stations) throws IOException
subset
in interface StationProfileFeatureCollection
IOException
public StationProfileCollectionImpl subset(LatLonRect boundingBox) throws IOException
subset
in interface StationProfileFeatureCollection
IOException
public StationProfileFeatureCollection subset(LatLonRect boundingBox, CalendarDateRange dateRange) throws IOException
subset
in interface StationProfileFeatureCollection
IOException
public StationProfileCollectionImpl subset(List<StationFeature> stnsWanted, CalendarDateRange dateRange) throws IOException
subset
in interface StationProfileFeatureCollection
IOException
public int compareTo(Station so)
public Iterator<StationProfileFeature> iterator()
iterator
in interface Iterable<StationProfileFeature>
public boolean hasNext() throws IOException
StationProfileFeatureCollection
hasNext
in interface StationProfileFeatureCollection
IOException
- on read errorpublic StationProfileFeature next() throws IOException
StationProfileFeatureCollection
next
in interface StationProfileFeatureCollection
IOException
- on read errorpublic void resetIteration() throws IOException
StationProfileFeatureCollection
resetIteration
in interface StationProfileFeatureCollection
IOException
- on read error