com1DFA.com1DFA.com1DFAPostprocess
- com1DFAPostprocess(simDF, tCPUDF, simDFExisting, cfgMain, dem, reportDictList, exportData)[source]
postprocessing of simulation results: save configuration to csv, create plots and report
- Parameters
simDF (pandas DataFrame) – dataframe with one line per simulation and info on parameters used
tCPUDF – computation time
simDFExisting (pandas DataFrame) – dataframe with one line per simulation and info on parameters used before simulations have been performed
cfgMain (configparser object) – global avaframe config
dem (dict) – dem dictionary
reportDictList (list) – list of dictionaries for each simulation with info for report creation
exportData (bool) – if True result fields are exported and plots generated
- Returns
dem (dict) – dictionary with dem header and raster data (that has been used for final sim)
plotDict (dict) – information on result plot paths
reportDictList (list) – list of report dictionaries for all performed simulations
simDFNew (pandas dataFrame) – configuration dataFrame of the simulations computed and the ones that have been already in the Outputs folder (if no simulation computed, configuration dataFrame of the already existing ones)