Bug Description
If forest = True and either forestModule = forestFriction or forestModule = forestDetrainment in the (local_)com4FlowPyCfg.ini and the provided forest layer is not scaled correctly in the interval [0, ..., 1] this can lead to some runtime warnings and eventually to RAM overflow (likely to some infinite loop).
Versions
Likely applies to all versions of com4FlowPy which have the forestModule configurable via the (local_)com4FlowPyCfg.ini
Suggested Fix
add a check for valid data range of the forest-layer in com4FlowPy.checkInputParameterValues() or com4FlowPy.checkInputLayerDimensions()
Bug Description
If
forest = Trueand eitherforestModule = forestFrictionorforestModule = forestDetrainmentin the(local_)com4FlowPyCfg.iniand the providedforestlayer is not scaled correctly in the interval[0, ..., 1]this can lead to some runtime warnings and eventually to RAM overflow (likely to some infinite loop).Versions
Likely applies to all versions of com4FlowPy which have the
forestModuleconfigurable via the(local_)com4FlowPyCfg.iniSuggested Fix
add a check for valid data range of the forest-layer in
com4FlowPy.checkInputParameterValues()orcom4FlowPy.checkInputLayerDimensions()