Package ucar.nc2.ft.point.remote
Class StationCollectionStream
- java.lang.Object
-
- ucar.nc2.ft.point.DsgCollectionImpl
-
- ucar.nc2.ft.point.PointFeatureCCImpl
-
- ucar.nc2.ft.point.StationTimeSeriesCollectionImpl
-
- ucar.nc2.ft.point.remote.StationCollectionStream
-
- All Implemented Interfaces:
Iterable<StationTimeSeriesFeature>
,DsgFeatureCollection
,PointFeatureCC
,StationFeatureCollection
,StationTimeSeriesFeatureCollection
public class StationCollectionStream extends StationTimeSeriesCollectionImpl
Connect to remote Station Collection using cdmremote
-
-
Field Summary
Fields Modifier and Type Field Description protected LatLonRect
boundingBoxSubset
protected CalendarDateRange
dateRangeSubset
-
Fields inherited from class ucar.nc2.ft.point.StationTimeSeriesCollectionImpl
localIterator
-
Fields inherited from class ucar.nc2.ft.point.PointFeatureCCImpl
collectionFeatureType
-
-
Constructor Summary
Constructors Constructor Description StationCollectionStream(String uri, CalendarDateUnit timeUnit, String altUnits)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StationHelper
createStationHelper()
initialize the stationHelper.PointFeatureCollection
flatten(LatLonRect boundingBox, CalendarDateRange dateRange)
StationTimeSeriesFeatureCollection
subset(List<StationFeature> stations)
StationTimeSeriesFeatureCollection
subset(LatLonRect boundingBox)
-
Methods inherited from class ucar.nc2.ft.point.StationTimeSeriesCollectionImpl
findStationFeature, finish, flatten, getBoundingBox, getCollectionIterator, getPointFeatureCollectionIterator, getStationFeature, getStationFeatures, getStationFeatures, getStationFeatures, getStationHelper, getStationTimeSeriesFeature, hasNext, iterator, next, resetIteration, subset, subset, subsetFeatures
-
Methods inherited from class ucar.nc2.ft.point.PointFeatureCCImpl
getCollectionFeatureType
-
Methods inherited from class ucar.nc2.ft.point.DsgCollectionImpl
getAltName, getAltUnits, getCalendarDateRange, getCoordinateVariables, getExtraVariables, getInfo, getName, getNobs, getTimeName, getTimeUnit, size
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ucar.nc2.ft.DsgFeatureCollection
getAltName, getAltUnits, getCalendarDateRange, getCollectionFeatureType, getCoordinateVariables, getExtraVariables, getName, getTimeName, getTimeUnit, size
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
boundingBoxSubset
protected LatLonRect boundingBoxSubset
-
dateRangeSubset
protected CalendarDateRange dateRangeSubset
-
-
Constructor Detail
-
StationCollectionStream
public StationCollectionStream(String uri, CalendarDateUnit timeUnit, String altUnits)
Constructor. defer metadata- Parameters:
uri
- cdmremote endpoint
-
-
Method Detail
-
createStationHelper
protected StationHelper createStationHelper() throws IOException
initialize the stationHelper.- Specified by:
createStationHelper
in classStationTimeSeriesCollectionImpl
- Throws:
IOException
-
subset
public StationTimeSeriesFeatureCollection subset(List<StationFeature> stations)
- Specified by:
subset
in interfaceStationTimeSeriesFeatureCollection
- Overrides:
subset
in classStationTimeSeriesCollectionImpl
-
subset
public StationTimeSeriesFeatureCollection subset(LatLonRect boundingBox)
- Specified by:
subset
in interfaceStationTimeSeriesFeatureCollection
- Overrides:
subset
in classStationTimeSeriesCollectionImpl
-
flatten
public PointFeatureCollection flatten(LatLonRect boundingBox, CalendarDateRange dateRange)
- Specified by:
flatten
in interfaceStationTimeSeriesFeatureCollection
- Overrides:
flatten
in classStationTimeSeriesCollectionImpl
-
-