ana5Utils.DFAPathGeneration.resamplePath

resamplePath(cfg, dem, avaProfile)[source]

resample the path profile and keep track of indStartMassAverage and indEndMassAverage :Parameters: * cfg (configParser) –

configuration object with:
nCellsResample: int

resampling length is given by nCellsResample*demCellSize

  • dem (dict) – dem dict

  • avaProfile (dict) – profile to be resampled

Returns

avaProfile – resampled path profile

Return type

dict