ana3AIMEC.ana3AIMEC.fullAimecAnalysis

fullAimecAnalysis(avalancheDir, cfg, inputDir='', demFileName='')[source]

fetch all data required to run aimec analysis, setup pathDict and reference sim, read the inputs, perform checks if all required data is available, run main aimec

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

  • cfg (configparser object) – main aimec configuration settings

  • inputDir (str or pathlib path) – optional- directory where peak files are located, if ‘’, avaDir/Outputs/comMod/peakFiles is set

  • demFileName (pathlib path) – path to dem file

Returns

  • rasterTransfo (dict) – domain transformation information

  • resAnalysisDF (dataFrame) – results of ana3AIMEC analysis

  • plotDict (dict) – dictionary for report

  • newRasters (dict) – dictionary containing pressure, velocity and flow thickness rasters after transformation for the reference and the current simulation