in1Data.getInput.getThickness¶
- getThickness(inputSimFiles, avaDir, modName, cfgFile, cfg)[source]¶
add thickness of shapefiles to dictionary, create one ini file per releaseScenario 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
cfgFile (str) – path to cfgFile for reading overall config of comModule - if empty read local or default ini file
- 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)
cfgFilesRels (list) – list of updated ini files - one for each release Scenario