in1Data.getInput.getInputDataCom1DFA

getInputDataCom1DFA(avaDir, cfg)[source]
Fetch input datasets required for simulation, duplicated function because

simulation type set differently in com1DFA compared to com1DFAOrig: TODO: remove duplicate once it is not required anymore

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

  • cfg (dict) – configuration read from com1DFA simulation ini file

Returns

inputSimFiles – dictionary with all the input files: demFile : str (first element of list)

list of full path to DEM .asc file

relFileslist

list of full path to release area scenario .shp files

secondaryReleaseFilestr

full path to secondary release area .shp file

entFilestr

full path to entrainment area .shp file

resFilestr

full path to resistance area .shp file

entResInfoflag dict

flag if Yes entrainment and/or resistance areas found and used for simulation flag True if a Secondary Release file found and activated

Return type

dict