in1Data.getInput.updateThicknessCfg

updateThicknessCfg(inputSimFiles, avaDir, modName, cfgInitial)[source]

add available release scenarios to ini file and set thickness values in ini files

Parameters
  • inputSimFiles (dict) – dictionary with info on release and entrainment file paths

  • avaDir (str or pathlib path) – path to avalanche directory

  • modName (computational module) – computational module

  • cfgInitial (configParser object) – configParser object with the current (and possibly overridden) configuration

Returns

  • inputSimFiles (dict) – updated dictionary with thickness info read from shapefile attributes now includes one separate dictionary for each release, entrainment or secondary release scenario with a thickness and id value for each feature (given as list)

  • cfgInitial (configparser object) – updated config object with release scenario, thickness info, etc.