passaH2O / pygeoflood

Compound flood mapping program based on high-resolution terrain analyses
https://passah2o.github.io/pygeoflood/
GNU General Public License v3.0
7 stars 0 forks source link

identify_channel_heads() producing stochastic results #7

Closed mdp0023 closed 1 month ago

mdp0023 commented 1 month ago

Ran the function 6 times with the same exact inputs but getting different channel heads each time. Sometimes they are similar, sometimes they are completely different. All appear to viable channel heads, not sure why they are not all being returned each time

mdp0023 commented 1 month ago

I believe the bug is somewhere in jit_channel_heads() function in tools.py. Another part of this bug is that it is creating a single channel head point for some channel heads, but then one channel head is receiving hundreds of points