ana3AIMEC.dfa2Aimec.getMBInfo

getMBInfo(avaDir, inputsDF, comMod, simName='')[source]

Get mass balance info for com1DFA module

The mass info should be located in the mass_XXX.txt file (XXX being the simulation name) The file should contain 3 columns (time, current, entrained) and the coresponding values for each time step

Parameters
  • avaDir (str) – path to avalanche directory

  • inputsDF (dataFrame) – simulation dataframe

  • comMod (str) – computational module name that has been used to produce simulation results

  • simName (str) – part or full name of the simulation name (if ‘’, look at all sims)

Returns

inputsDF – simulation dataframe with mass path information

Return type

dataFrame