com1DFA.com1DFA.setRelThIni¶
- setRelThIni(avaDir, modName, cfgInitial, cfgFile='')[source]¶
Add thickness values in configuration file according to thickness flags, ini settings or shapefile attributes and create one cfgFile for each releaseScenario
- Parameters
avaDir (str or pathlib path) – path to avalanche directory
modName (module) – computational module
cfgInitial (configparser object) – full configuration settings of com Module
cfgFile (str or pathlib path) – path to cfgFile to read overall configuration - optional if not provided the local or default config is used
- Returns
inputSimFilesAll (dict) – dictionary with infos about input data file paths and flags for entrainment, resistance
cfgFilesRels (list) – list of paths to one cfgFile for each releaseScenario with updated thickness values