@Override protected StationHelper createStationHelper() throws IOException { StationHelper stationHelper = new StationHelper(); stationHelper.setStations(stations); return stationHelper; }
@Override protected StationHelper createStationHelper() throws IOException { StationHelper stationHelper = new StationHelper(); stationHelper.setStations(stations); return stationHelper; }
public StationHelper subset(List<StationFeature> stns) throws IOException { StationHelper result = new StationHelper(); result.setStations( stns); return result; }
StationProfileFeatureCollectionSubset(StationProfileCollectionImpl from, List<Station> stations) { super( from.getName()); this.from = from; stationHelper = new StationHelper(); stationHelper.setStations(stations); }
@Override protected StationHelper createStationHelper() throws IOException { List<StationFeature> stations = from.getStationHelper().getStationFeatures(boundingBoxSubset); StationHelper stationHelper = new StationHelper(); stationHelper.setStations(stations); return stationHelper; }
public StationHelper subset(LatLonRect bb) throws IOException { StationHelper result = new StationHelper(); result.setStations( getStationFeatures(bb)); return result; }
public StationHelper subset(LatLonRect bb) throws IOException { StationHelper result = new StationHelper(); result.setStations( getStationFeatures(bb)); return result; }
@Override protected StationHelper createStationHelper() throws IOException { List<ucar.nc2.ft.point.StationFeature> stations = from.getStationHelper().getStationFeatures(boundingBoxSubset); StationHelper stationHelper = new StationHelper(); stationHelper.setStations(stations); return stationHelper; }
StationTimeSeriesCollectionSubset(StationTimeSeriesCollectionImpl from, List<Station> stations) { super(from.getName()); this.from = from; this.stationHelper = new StationHelper(); this.stationHelper.setStations(stations); }
@Override public StationTimeSeriesFeatureCollection subset(List<Station> stations) throws IOException { if (stations == null) return this; StationHelper sh = new StationHelper(); sh.setStations(stations); return new RemoteStationCollectionSubset(this, sh, null, null); }
public StationHelper subset(List<Station> stns) throws IOException { StationHelper result = new StationHelper(); result.setStations( getStationFeatures(stns)); return result; }
@Override protected StationHelper createStationHelper() throws IOException { StationHelper stationHelper = new StationHelper(); for (BufrCdmIndexProto.Station s : index.stations) stationHelper.addStation(new BufrStation(s)); return stationHelper; }
protected CompositeStationCollection(String name, TimedCollection dataCollection, List<Station> stns, List<VariableSimpleIF> dataVariables) throws IOException { super(name); this.dataCollection = dataCollection; TimedCollection.Dataset td = dataCollection.getPrototype(); if (td == null) throw new RuntimeException("No datasets in the collection"); if ((stns != null) && (stns.size() > 0)) { stationHelper = new StationHelper(); for (Station s : stns) stationHelper.addStation(new CompositeStationFeature(s, null, this.dataCollection)); } this.dataVariables = dataVariables; }
@Override protected void initStationHelper() { from.initStationHelper(); this.stationHelper = new StationHelper(); try { this.stationHelper.setStations(this.stationHelper.getStations(boundingBoxSubset)); } catch (IOException e) { throw new RuntimeException(e); } }
@Override protected StationHelper createStationHelper() throws IOException { StationHelper stationHelper = new StationHelper(); for (StationFeature stationFeat : this.stationFeats) { stationHelper.addStation(new CompositeStationFeature( stationFeat, timeUnit, altUnits, stationFeat.getFeatureData(), from.dataCollection)); } return stationHelper; } }
@Override protected StationHelper createStationHelper() throws IOException { StationHelper stationHelper = new StationHelper(); for (StationFeature stationFeat : this.stationFeats) { stationHelper.addStation(new CompositeStationFeature( stationFeat, timeUnit, altUnits, stationFeat.getFeatureData(), from.dataCollection)); } return stationHelper; } }
@Override protected StationHelper createStationHelper() throws IOException { StationHelper helper = new StationHelper(); String name = String.format("GridPointAt[%s]", latLonPoint.toString(3)); name = StringUtil2.replace(name.trim(), ' ', "_"); helper.addStation(new MyStationFeature(name, name, null, latLonPoint.getLatitude(), latLonPoint.getLongitude(), 0.0, dateUnit, null, -1)); return helper; }
@Override protected StationHelper createStationHelper() throws IOException { StationHelper stationHelper = new StationHelper(); StationProfileIterator iter = new StationProfileIterator(); while (iter.hasNext()) { stationHelper.addStation(iter.next()); } return stationHelper; }
@Override protected StationHelper createStationHelper() throws IOException { StationHelper stationHelper = new StationHelper(); try (StructureDataIterator siter = ft.getStationDataIterator()) { while (siter.hasNext()) { StructureData stationData = siter.next(); StationTimeSeriesFeature stfs = makeStation(stationData, siter.getCurrentRecno()); if (stfs != null) { stationHelper.addStation(stfs); } } } return stationHelper; }
@Override protected StationHelper createStationHelper() throws IOException { StationHelper stationHelper = new StationHelper(); StructureDataIterator siter = ft.getStationDataIterator(-1); try { while (siter.hasNext()) { StructureData stationData = siter.next(); StationTimeSeriesFeature s = makeStation(stationData, siter.getCurrentRecno()); if (s != null) { stationHelper.addStation(s); } } } finally { siter.finish(); } return stationHelper; }