public abstract class StationProfileFeatureImpl extends PointFeatureCCImpl implements StationProfileFeature
| Modifier and Type | Class and Description |
|---|---|
static class |
StationProfileFeatureImpl.StationProfileFeatureSubset |
| Modifier and Type | Field and Description |
|---|---|
protected PointFeatureCollectionIterator |
localIterator |
protected StationFeature |
stationFeature |
protected int |
timeSeriesNpts |
collectionFeatureType| Constructor and Description |
|---|
StationProfileFeatureImpl(StationFeature s,
CalendarDateUnit timeUnit,
String altUnits,
int npts) |
| Modifier and Type | Method and Description |
|---|---|
int |
getNobs() |
Station |
getStation() |
boolean |
hasNext()
Use the internal iterator to check if there is another ProfileFeature in the iteration.
|
Iterator<ProfileFeature> |
iterator() |
ProfileFeature |
next()
Use the internal iterator to get the next ProfileFeature in the iteration.
|
void |
resetIteration()
Reset the internal iterator for another iteration over the ProfileFeature in this Collection.
|
int |
size()
The number of Features in the collection.
|
StationProfileFeature |
subset(CalendarDateRange dateRange)
Subset this collection by dateRange
|
StationProfileFeature |
subset(LatLonRect boundingBox) |
getCollectionFeatureTypegetAltUnits, getBoundingBox, getCalendarDateRange, getExtraVariables, getInfo, getName, getTimeUnitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFeatureData, getPointFeatureCollectionIterator, getProfileByDate, getTimesgetCollectionIteratorgetAltUnits, getBoundingBox, getCalendarDateRange, getCollectionFeatureType, getExtraVariables, getName, getTimeUnitforEach, spliteratorprotected int timeSeriesNpts
protected StationFeature stationFeature
protected PointFeatureCollectionIterator localIterator
public StationProfileFeatureImpl(StationFeature s, CalendarDateUnit timeUnit, String altUnits, int npts)
public int getNobs()
getNobs in class DsgCollectionImplpublic Station getStation()
getStation in interface StationFeaturepublic int size()
DsgFeatureCollectionsize in interface DsgFeatureCollectionsize in interface StationProfileFeaturesize in class DsgCollectionImplpublic StationProfileFeature subset(LatLonRect boundingBox)
public StationProfileFeature subset(CalendarDateRange dateRange)
StationProfileFeaturesubset in interface StationProfileFeaturedateRange - only points in this date range. may be null.public Iterator<ProfileFeature> iterator()
iterator in interface Iterable<ProfileFeature>public boolean hasNext()
throws IOException
StationProfileFeaturehasNext in interface StationProfileFeatureIOException - on read errorpublic ProfileFeature next() throws IOException
StationProfileFeaturenext in interface StationProfileFeatureIOException - on read errorpublic void resetIteration()
throws IOException
StationProfileFeatureresetIteration in interface StationProfileFeatureIOException - on read error