in1Data.getInput.getThickness¶
- getThickness(inputSimFiles, avaDir, modName, cfgInitial)[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
cfg (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)
cfgFilesRels (list) – list of updated ini files - one for each release Scenario