opengeos / whitebox-python

WhiteboxTools Python Frontend

Home Page:https://pypi.org/project/whitebox/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Discontinuous streams

InsolublePancake opened this issue · comments

  • whitebox version: 2.1.4
  • Python version: 3.8
  • Operating System: Scientific Linux (Rocky 8)

Description

This is probably not an issue with the tools, but am struggling to extract a continuous stream network from a DEM. I've been experimenting with it for some time but have been unable to improve on what I have now, which is 95% of a drainage network, but with intermittent gaps. The gaps occur where the downhill slope flattens off, even though there is still an obvious channel. I'm guessing that issue originates at the breach_depressions_least_cost stage, but I've experimented with the parameters and can't improve on what I have now, which is no good.

Discontinuous_streams

What I Did

dem.zip

My method is:

breach_depressions_least_cost: dist=10, max_cost=100, min_dist=True, fill=True,
d8_flow_accumulation: out_type="catchment area"
extract_streams: threshold=3000

Regarding the parameters. I've experimented with a wide range of values for breach depressions dist and max_cost. The values I've shown here work for most of the DEM, but still leave gaps in the stream network.

Any help would be appreciated.

Thanks,
Rick

The whitebox package is only a wrapper of WhiteboxTools. It the tool can run and produce results, then it is not a whitebox issue. I would encourage to ask questions at https://groups.google.com/g/whiteboxtools

There is a known issue with the breach_depressions_least_cost tool in the current version of WhiteboxTools that can result in some small single-cell pits remaining after treatment. I am currently recommending that people do a quick pass with the FillDepressionsWangAndLiu tool after running breaching to ensure that all pits are removed. This will be fixed in the next release of WhiteboxTools, which I am hoping to release in the next two weeks. If you can't wait until then, the fix is already available in Whitebox Workflows for Python.

Oh, and Qiusheng is correct, this is an issue that belongs on the WhiteboxTools github repo, instead of here.

Hi @jblindsay do you have an ETA for this breach derpessions bug fix?