public class RemoteStationCollection extends StationTimeSeriesCollectionImpl
| Modifier and Type | Field and Description | 
|---|---|
protected LatLonRect | 
boundingBoxSubset  | 
protected CalendarDateRange | 
dateRangeSubset  | 
localIteratoraltUnits, collectionFeatureType, extras, name, npts, timeUnit| Constructor and Description | 
|---|
RemoteStationCollection(java.lang.String uri,
                       DateUnit timeUnit,
                       java.lang.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(java.util.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, subsetFeaturesflatten, getAltUnits, getCollectionFeatureType, getExtraVariables, getName, getTimeUnit, isMultipleNested, setSize, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitflatten, getAltUnits, getExtraVariables, getTimeUnit, isMultipleNested, sizegetCollectionFeatureType, getNameprotected LatLonRect boundingBoxSubset
protected CalendarDateRange dateRangeSubset
public RemoteStationCollection(java.lang.String uri,
                               DateUnit timeUnit,
                               java.lang.String altUnits)
uri - cdmremote endpointprotected StationHelper createStationHelper() throws java.io.IOException
createStationHelper in class StationTimeSeriesCollectionImpljava.io.IOExceptionpublic Station getStation(PointFeature feature) throws java.io.IOException
StationTimeSeriesFeatureCollectiongetStation in interface StationTimeSeriesFeatureCollectiongetStation in class StationTimeSeriesCollectionImplfeature - PointFeature obtained from a StationTimeSeriesFeature in this collectionjava.io.IOException - on i/o errorpublic StationTimeSeriesFeatureCollection subset(java.util.List<Station> stations) throws java.io.IOException
StationTimeSeriesFeatureCollectionsubset in interface StationTimeSeriesFeatureCollectionsubset in class StationTimeSeriesCollectionImplstations - only contain these stationsjava.io.IOException - on i/o errorpublic StationTimeSeriesFeatureCollection subset(LatLonRect boundingBox) throws java.io.IOException
StationTimeSeriesFeatureCollectionsubset in interface NestedPointFeatureCollectionsubset in interface StationTimeSeriesFeatureCollectionsubset in class StationTimeSeriesCollectionImplboundingBox - spatial subset. may be nulljava.io.IOException - on i/o errorpublic PointFeatureCollection flatten(LatLonRect boundingBox, CalendarDateRange dateRange) throws java.io.IOException
NestedPointFeatureCollectionflatten in interface NestedPointFeatureCollectionflatten in class StationTimeSeriesCollectionImplboundingBox - only points in this lat/lon bounding box. may be null.dateRange - only points in this date range. may be null.java.io.IOException - on read error