public class RemoteStationCollection extends StationTimeSeriesCollectionImpl
Modifier and Type | Field and Description |
---|---|
protected LatLonRect |
boundingBoxSubset |
protected CalendarDateRange |
dateRangeSubset |
localIterator
altUnits, collectionFeatureType, extras, name, npts, timeUnit
Constructor and Description |
---|
RemoteStationCollection(String uri,
DateUnit timeUnit,
String altUnits)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected StationHelper |
createStationHelper()
initialize the stationHelper.
|
PointFeatureCollection |
flatten(LatLonRect boundingBox,
CalendarDateRange dateRange)
Flatten into a PointFeatureCollection, discarding connectedness information.
|
Station |
getStation(PointFeature feature)
Get the station that belongs to this feature
|
StationTimeSeriesFeatureCollection |
subset(LatLonRect boundingBox)
Get a subsetted StationCollection from a LatLonRect
|
StationTimeSeriesFeatureCollection |
subset(List<Station> stations)
Get a subsetted StationCollection based on a list of Stations.
|
finish, flatten, flatten, getBoundingBox, getNestedPointFeatureCollectionIterator, getPointFeatureCollectionIterator, getStation, getStationFeature, getStationFeatures, getStationFeatures, getStationFeatures, getStationHelper, getStations, getStations, getStations, hasNext, next, resetIteration, subsetFeatures
flatten, getAltUnits, getCollectionFeatureType, getExtraVariables, getName, getTimeUnit, isMultipleNested, setSize, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
flatten, getAltUnits, getExtraVariables, getTimeUnit, isMultipleNested, size
getCollectionFeatureType, getName
protected LatLonRect boundingBoxSubset
protected CalendarDateRange dateRangeSubset
protected StationHelper createStationHelper() throws IOException
createStationHelper
in class StationTimeSeriesCollectionImpl
IOException
public Station getStation(PointFeature feature) throws IOException
StationTimeSeriesFeatureCollection
getStation
in interface StationTimeSeriesFeatureCollection
getStation
in class StationTimeSeriesCollectionImpl
feature
- PointFeature obtained from a StationTimeSeriesFeature in this collectionIOException
- on i/o errorpublic StationTimeSeriesFeatureCollection subset(List<Station> stations) throws IOException
StationTimeSeriesFeatureCollection
subset
in interface StationTimeSeriesFeatureCollection
subset
in class StationTimeSeriesCollectionImpl
stations
- only contain these stationsIOException
- on i/o errorpublic StationTimeSeriesFeatureCollection subset(LatLonRect boundingBox) throws IOException
StationTimeSeriesFeatureCollection
subset
in interface NestedPointFeatureCollection
subset
in interface StationTimeSeriesFeatureCollection
subset
in class StationTimeSeriesCollectionImpl
boundingBox
- spatial subset. may be nullIOException
- on i/o errorpublic PointFeatureCollection flatten(LatLonRect boundingBox, CalendarDateRange dateRange) throws IOException
NestedPointFeatureCollection
flatten
in interface NestedPointFeatureCollection
flatten
in class StationTimeSeriesCollectionImpl
boundingBox
- only points in this lat/lon bounding box. may be null.dateRange
- only points in this date range. may be null.IOException
- on read errorCopyright © 1999–2018 UCAR/Unidata. All rights reserved.