Skip to content

The length in net_startup is only cut in case there are less then 2 lengths

Maren Kaluza requested to merge kaluza/mhm:bugfix-percentile into develop

When the network is setup for small river networks the mRM setup failed. The reason for that was that the cell distances were cut after the 60th percentile and set to a fix value. But for small setups the array has too few values. Now, when calling the percentile subroutine another if clause tests if there are enough values.

Merge request reports