com1DFA.com1DFA.com1DFAMain

com1DFAMain(avalancheDir, cfgMain, cfgFile='')[source]

preprocess information from ini and run all desired simulations, create outputs and reports

Parameters
  • avalancheDir (str or pathlib Path) – path to avalanche data

  • cfgMain (configparser object) – main configuration of AvaFrame

  • cfgFile (str or pathlib Path) – path to configuration file if overwrite is desired - optional

Returns

  • dem (dict) – dictionary with dem header and raster data (that has been used for computations)

  • plotDict (dict) – information on result plot paths

  • reportDictList (list) – list of report dictionaries for all performed simulations

  • simDF (pandas dataFrame) – configuration dataFrame of the simulations computed (if no simulation computed, configuration dataFrame of the already existing ones)