def initializeSettings(self):
     AlgorithmProvider.initializeSettings(self)
     ProcessingConfig.addSetting(
         Setting(self.getDescription(), GPFUtils.BEAM_FOLDER,
                 "BEAM install directory",
                 GPFUtils.programPath(GPFUtils.beamKey())))
     ProcessingConfig.addSetting(
         Setting(self.getDescription(), GPFUtils.BEAM_THREADS,
                 "Maximum number of parallel (native) threads", 4))
Beispiel #2
0
 def initializeSettings(self):
     AlgorithmProvider.initializeSettings(self)
     ProcessingConfig.addSetting(
         Setting(self.getDescription(), GPFUtils.SNAP_FOLDER,
                 "SNAP install directory",
                 GPFUtils.programPath(GPFUtils.snapKey())))
     ProcessingConfig.addSetting(
         Setting(self.getDescription(), GPFUtils.SNAP_THREADS,
                 "Maximum number of parallel (native) threads", 4))
     ProcessingConfig.addSetting(
         Setting(self.getDescription(), GPFUtils.GPF_MODELS_FOLDER,
                 "GPF models' directory", GPFUtils.modelsFolder()))
     ProcessingConfig.addSetting(
         Setting(self.getDescription(), GPFUtils.S1TBX_ACTIVATE,
                 "Activate Sentinel-1 toolbox", False))
     ProcessingConfig.addSetting(
         Setting(self.getDescription(), GPFUtils.S2TBX_ACTIVATE,
                 "Activate Sentinel-2 toolbox", False))