public class RemoteStationCollection extends StationTimeSeriesCollectionImpl
| Modifier and Type | Field and Description |
|---|---|
protected LatLonRect |
boundingBoxSubset |
protected CalendarDateRange |
dateRangeSubset |
localIterator, stationHelpernpts| Modifier | Constructor and Description |
|---|---|
|
RemoteStationCollection(String uri)
Constructor.
|
protected |
RemoteStationCollection(String uri,
StationHelper sh)
Constructor for a subset.
|
| Modifier and Type | Method and Description |
|---|---|
PointFeatureCollection |
flatten(LatLonRect boundingBox,
DateRange dateRange) |
Station |
getStation(PointFeature feature)
Get the station that belongs to this feature
|
protected void |
initStationHelper()
initialize the stationHelper.
|
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, flatten, getBoundingBox, getNestedPointFeatureCollectionIterator, getPointFeatureCollectionIterator, getStation, getStationFeature, getStations, getStations, getStations, hasNext, next, resetIterationgetCollectionFeatureType, getName, isMultipleNested, setSize, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisMultipleNested, sizegetCollectionFeatureType, getNameprotected LatLonRect boundingBoxSubset
protected CalendarDateRange dateRangeSubset
public RemoteStationCollection(String uri)
uri - cdmremote endpointprotected RemoteStationCollection(String uri, StationHelper sh)
uri - cdmremote endpointsh - station Helper subset or null.protected void initStationHelper()
initStationHelper in class StationTimeSeriesCollectionImplpublic Station getStation(PointFeature feature) throws IOException
StationTimeSeriesFeatureCollectiongetStation in interface StationTimeSeriesFeatureCollectiongetStation in class StationTimeSeriesCollectionImplfeature - PointFeature obtained from a StationTimeSeriesFeature in this collectionIOException - on i/o errorpublic StationTimeSeriesFeatureCollection subset(List<Station> stations) throws IOException
StationTimeSeriesFeatureCollectionsubset in interface StationTimeSeriesFeatureCollectionsubset in class StationTimeSeriesCollectionImplstations - only contain these stationsIOException - on i/o errorpublic StationTimeSeriesFeatureCollection subset(LatLonRect boundingBox) throws IOException
StationTimeSeriesFeatureCollectionsubset in interface NestedPointFeatureCollectionsubset in interface StationTimeSeriesFeatureCollectionsubset in class StationTimeSeriesCollectionImplboundingBox - spatial subset. may be nullIOException - on i/o errorpublic PointFeatureCollection flatten(LatLonRect boundingBox, DateRange dateRange) throws IOException
flatten in interface NestedPointFeatureCollectionflatten in class OneNestedPointCollectionImplIOExceptionCopyright © 1999-2012 UCAR/Unidata. All Rights Reserved.