in3Utils.fileHandlerUtils.makeSimFromResDF
- makeSimFromResDF(avaDir, comModule, inputDir='', simName='')[source]
Create a dataFrame that contains all info on simulations in output/comModule/peakFiles
One line for each simulation - so all peakfiles that belong to one simulation are listed in one line that corresponds to that simulation
- Parameters
avaDir (str) – path to avalanche directory
comModule (str) – module used to create the results
inputDir (str) – optional - path to directory of simulation results
simName (str) – optional - key phrase to be found in the simulation result name
- Returns
dataDF (dataFrame) – dataframe with for each simulation, the full file path, file name, release area scenario, simulation type (null, entres, etc.), model type (dfa, ref, etc.), simID, path to result files (ppr, pft, etc.), simulation name, cell size and optional name of avalanche, optional time step
resTypeListAll (list) – list of res types available for all simulations