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,StationTimeSeriesFeatureCollection
public class StationCollectionStream extends StationTimeSeriesCollectionImpl
Connect to remote Station Collection using cdmremote
-
-
Field Summary
Fields Modifier and Type Field Description protected LatLonRectboundingBoxSubsetprotected CalendarDateRangedateRangeSubset-
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 StationHelpercreateStationHelper()initialize the stationHelper.PointFeatureCollectionflatten(LatLonRect boundingBox, CalendarDateRange dateRange)StationTimeSeriesFeatureCollectionsubset(List<StationFeature> stations)StationTimeSeriesFeatureCollectionsubset(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
getAltUnits, getCalendarDateRange, getExtraVariables, getInfo, getName, getNobs, 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
getAltUnits, getCalendarDateRange, getCollectionFeatureType, getExtraVariables, getName, 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:
createStationHelperin classStationTimeSeriesCollectionImpl- Throws:
IOException
-
subset
public StationTimeSeriesFeatureCollection subset(List<StationFeature> stations)
- Specified by:
subsetin interfaceStationTimeSeriesFeatureCollection- Overrides:
subsetin classStationTimeSeriesCollectionImpl
-
subset
public StationTimeSeriesFeatureCollection subset(LatLonRect boundingBox)
- Specified by:
subsetin interfaceStationTimeSeriesFeatureCollection- Overrides:
subsetin classStationTimeSeriesCollectionImpl
-
flatten
public PointFeatureCollection flatten(LatLonRect boundingBox, CalendarDateRange dateRange)
- Specified by:
flattenin interfaceStationTimeSeriesFeatureCollection- Overrides:
flattenin classStationTimeSeriesCollectionImpl
-
-