Hello,
It looks like an error has been introduced, maybe after v.2.2.3 with the valley depth module. The module fails to execute (either in the saga_gui or saga_cmd) using SAGA 2.2.6 and 2.2.7. This occurs irrespectively of grid size (i.e. it is not a memory issue), whereas the module appears to work fine in SAGA v. 2.2.3.
Also it looks like valley depth runs fine as part of the 'basic terrain analysis' suite, but not as a standalone module.
Steve
Anonymous
Hi Steve,
thanks for reporting. I've just committed a fix: https://sourceforge.net/p/saga-gis/code-0/2897/
Best regards,
Volker
hello steve, thanks volker for your fast fix. i was working on this bug at the same time and just committed my solution, because it also adds a fix for a correct ridge level calculation. in addition i created a tool chain that performs the same valley depth calculation (attached to this post), which you can download and use as temporary replacement for the original tool.
best regards,
olaf...
Thank you Olaf and Volker for fixing this so quickly.
Yes I have been running valley depth manually, i.e. inverting the DEM, extracting channels and using the vertical distance to channel network tool, so thanks for the tool chain.
PS: do you have any plans to integrate Python directly into SAGA in the future, so that tools could be developed in Python and accessed directly within SAGA? Or perhaps you want to keep algorithms in C++.
Best regards,
Steve
Sent from my iPhone
Related
Bugs:
#229Hi Steve,
there are no plans to integrate Python directly in SAGA. We only provide the possibilty to use the SAGA API in Python tools.
Best regards,
Volker