com2AB.com2AB.readABinputs¶
- readABinputs(avalancheDir, path2Line='', path2SplitPoint='')[source]¶
Fetch inputs for AlpahBeta model
Get path to AlphaBeta model inputs (dem raster, avalanche path and split points)
- Parameters
avalancheDir (str) – path to directory of avalanche to analyze
path2Line (pathlib path) – pathlib path to altrnative line (if empty, reading the line from the input directory Inputs/LINES/*AB.shp)
path2SplitPoint (pathlib path) – pathlib path to altrnative splitPoint (if empty, reading the point from the input directory Inputs/LINES/*AB.shp)
- Returns
pathDict – dictionary with path to AlphaBeta inputs (dem, avaPath, splitPoint)
- Return type
dict