ana5Utils.DFAPathGeneration.generatePathAndSplitpoint

generatePathAndSplitpoint(avalancheDir, cfgDFAPath, cfgMain, runDFAModule)[source]

Parameters: avalancheDir (str):

path to the avalanche directory

cfgDFAPath (configParser object):

DFAPath configuration

cfgMain (configParser object):

main avaframe configuration

runDFAModule (bool):

whether to run the DFA module (True) or load existing results (False)

Returns

  • massAvgPath (pathlib) – file path to the mass-averaged path result saved as a shapefile

  • splitPoint (pathlib) – file path to the split point result saved as a shapefile