public PointFeatureCollection flatten(List<String> stations, CalendarDateRange dateRange, List<VariableSimpleIF> varList) throws IOException { if ((stations == null) || (stations.size() == 0)) return new StationTimeSeriesCollectionFlattened(this, dateRange); initStationHelper(); List<Station> subsetStations = stationHelper.getStations(stations); return new StationTimeSeriesCollectionFlattened(new StationTimeSeriesCollectionSubset(this, subsetStations), dateRange); }
@Override @Nonnull public PointFeatureIterator getPointFeatureIterator() throws IOException { return new PointIteratorFlatten( from.getPointFeatureCollectionIterator(), null, this.getCalendarDateRange()); }
public StationTimeSeriesCollectionFlattened(StationTimeSeriesCollectionImpl from, CalendarDateRange dateRange) { super( from.getName(), from.getTimeUnit(), from.getAltUnits()); this.from = from; if (dateRange != null) { getInfo(); info.setCalendarDateRange(dateRange); } }
public PointFeatureCollection flatten(List<String> stationNames, CalendarDateRange dateRange, List<VariableSimpleIF> varList) throws IOException { if ((stationNames == null) || (stationNames.size() == 0)) return new StationTimeSeriesCollectionFlattened(this, dateRange); List<StationFeature> subsetStations = getStationHelper().getStationFeaturesFromNames(stationNames); return new StationTimeSeriesCollectionFlattened(new StationTimeSeriesCollectionSubset(this, subsetStations), dateRange); }
@Override public PointFeatureCollection flatten(List<String> stationNames, CalendarDateRange dateRange, List<VariableSimpleIF> varList) throws IOException { if ((stationNames == null) || (stationNames.size() == 0)) return new StationTimeSeriesCollectionFlattened(this, dateRange); List<StationFeature> subsetStations = getStationHelper().getStationFeaturesFromNames(stationNames); return new StationTimeSeriesCollectionFlattened(new StationSubset(this, subsetStations), dateRange); }
public PointFeatureCollection flatten(LatLonRect boundingBox, CalendarDateRange dateRange) throws IOException { if (boundingBox == null) return new StationTimeSeriesCollectionFlattened(this, dateRange); initStationHelper(); List<Station> subsetStations = stationHelper.getStations(boundingBox); return new StationTimeSeriesCollectionFlattened(new StationTimeSeriesCollectionSubset(this, subsetStations), dateRange); }
public PointFeatureCollection flatten(LatLonRect boundingBox, CalendarDateRange dateRange) throws IOException { if (boundingBox == null) return new StationTimeSeriesCollectionFlattened(this, dateRange); List<StationFeature> subsetStations = getStationHelper().getStationFeatures(boundingBox); return new StationTimeSeriesCollectionFlattened(new StationTimeSeriesCollectionSubset(this, subsetStations), dateRange); }
@Override public PointFeatureCollection flatten(LatLonRect boundingBox, CalendarDateRange dateRange) throws IOException { if (boundingBox == null) return new StationTimeSeriesCollectionFlattened(this, dateRange); List<StationFeature> subsetStations = getStationHelper().getStationFeatures(boundingBox); return new StationTimeSeriesCollectionFlattened(new StationSubset(this, subsetStations), dateRange); }