コード例 #1
0
    @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;
    }
コード例 #2
0
 @Override
 public StationTimeSeriesFeature getStationFeature(Station s) throws IOException {
   StationFeature stnFeature = getStationHelper().getStationFeature(s);
   return new CompositeStationFeature(
       stnFeature, timeUnit, altUnits, stnFeature.getFeatureData(), dataCollection);
 }