in1Data.getInput.getInputData¶
- getInputData(avaDir, cfg)[source]¶
- Fetch input datasets required for simulation, duplicated function because
simulation type set differently in com1DFAOrig compared to com1DFA: TODO: remove duplicate once it is not required anymore
- Parameters
avaDir (str) – path to avalanche directory
cfg (dict) – configuration read from com1DFA simulation ini file
- Returns
demFile[0] (str (first element of list)) – list of full path to DEM .asc file
relFiles (list) – list of full path to release area scenario .shp files
entFile (str) – full path to entrainment area .shp file
resFile (str) – full path to resistance area .shp file
entResInfo (flag dict) – flag if Yes entrainment and/or resistance areas found and used for simulation