com2AB.com2AB.com2ABMain¶
- com2ABMain(cfg, avalancheDir)[source]¶
Main AlphaBeta model function
Loops on the given AvaPaths and runs com2AB to compute AlpahBeta model
- Parameters
cfg (configparser) – configparser with all requiered fields in com2ABCfg.ini
avalancheDir (str) – path to directory of avalanche to analyze
- Returns
pathDict (dict) – dictionary with AlphaBeta inputs
dem (dict) – dem dictionary used to get the avaProfile from the avaPath
splitPoint (dict) – split point dict
eqParams (dict) – dict containing the AB model parameters (produced by setEqParameters and depends on the com2ABCfg.ini)
resAB (dict) – dictionary with AlphaBeta model results