Hello,
I was reading the documentation for GRASS GIS’s r.fill.dir module and came across this statement:
“In some cases, it may be necessary to run r.fill.dir repeatedly (using output from one run as input to the next run) before all of the problem areas are filled.”
I am trying to understand why this happens. Is it only required when the -f flag is activated? I tested this by running r.fill.dir multiple times on a DEM, and it indeed took multiple runs to fill all the depressions.
I tried analyzing the code, but it’s still unclear why multiple runs are needed. Why can’t it fill all the depressions in a single run?
I would appreciate any pointers or explanations regarding this.
Thanks!