コード例 #1
0
ファイル: L3FinalProcessor.java プロジェクト: maduhu/beam
  /** Trigger base class to load the temporal bin database provided with the request file */
  protected void loadTemporalDatabase() throws IOException, ProcessorException {
    getLogger().info(L3Constants.LOG_MSG_LOAD_TEMP_DB);

    temporalDB = new TemporalBinDatabase(context, BinDatabaseConstants.TEMP_DB_NAME);
    temporalDB.setNumVarsPerBand(context.getNumberOfAccumulatingVarsPerBand());
    temporalDB.open();

    if (context.getProcessedProducts().length < 1) {
      handleError(L3Constants.LOG_MSG_EMPTY_DB);
    }
    getLogger().info(ProcessorConstants.LOG_MSG_SUCCESS);
  }