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); }
public StationTimeSeriesFeatureCollection subset(List<Station> stations) throws IOException { if (stations == null) return this; List<StationFeature> stationsFeatures = getStationHelper().getStationFeatures(stations); return new StationTimeSeriesCollectionSubset(this, stationsFeatures); }
public StationTimeSeriesCollectionFlattened(StationTimeSeriesCollectionImpl from, CalendarDateRange dateRange) { super( from.getName(), from.getTimeUnit(), from.getAltUnits()); this.from = from; if (dateRange != null) { getInfo(); info.setCalendarDateRange(dateRange); } }
StationProfileFeatureCollectionSubset(StationProfileCollectionImpl from, List<Station> stations) { super( from.getName()); this.from = from; stationHelper = new StationHelper(); stationHelper.setStations(stations); }
StationTimeSeriesCollectionSubset(StationTimeSeriesCollectionImpl from, List<Station> stations) { super(from.getName()); this.from = from; this.stationHelper = new StationHelper(); this.stationHelper.setStations(stations); }
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(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); }
@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 PointFeature factory(StationImpl s, StructureData sdata, int recno) { if (s == null) return new RecordPointObs(sdata, recno); else return new RecordStationObs(s, sdata, recno); }
@Override public PointFeatureCCIterator getNestedPointFeatureCollectionIterator() throws IOException { return new PointFeatureCCIteratorFiltered( from.getNestedPointFeatureCollectionIterator(), new Filter()); }
@Override public PointFeatureIterator getPointFeatureIterator() throws IOException { return new PointIteratorFiltered(from.getPointFeatureIterator(), filter_bb, filter_date); } }
public PointFeatureIterator getPointFeatureIterator(int bufferSize) throws IOException { // LOOK need the isMultipleNested case return new PointIteratorFlatten( from.getPointFeatureCollectionIterator(bufferSize), this.boundingBox, this.dateRange); } }
@Override public PointFeatureIterator getPointFeatureIterator() throws IOException { return new PointIteratorFlatten( from.getCollectionIterator(), filter_bb, filter_date); } }
@Override public List<StationFeature> getStationFeatures() throws IOException { return getStationHelper().getStationFeatures(); } }
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); }
public PointFeature factory(StationImpl s, StructureData sdata, int recno) { if (s == null) return new RecordPointObs(sdata, recno); else return new RecordStationObs(s, sdata, recno); }
@Override public PointFeatureIterator getPointFeatureIterator(int bufferSize) throws IOException { // LOOK need the isMultipleNested case return new PointIteratorFlatten( from.getPointFeatureCollectionIterator(bufferSize), this.boundingBox, this.dateRange); } }
public PointFeature factory(StationImpl s, StructureData sdata, int recno) { if (s == null) return new RecordPointObs(sdata, recno); else return new RecordStationObs(s, sdata, recno); }