Skip to content

[com4FlowPy]: RAM overflow if forest-layer (FSI) is provided in wrong scaling #1212

@ahuber-bfw

Description

@ahuber-bfw

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions