Closed crazyzlj closed 3 years ago
手动点赞
Hillslope algorithm in Whitebox GAT may have a bug in handling the situation that converging points of two upstream are adjacent to the head stream cell of their downstream (e.g., Fig. 1). The result can be found in Fig. 2. Fig. 1 Example of stream link with the arrow indicates D8 flow direction
Fig.2 The hillslope result derived by Whitebox GAT 3.4.0.
After careful review, I have implemented a correct version integrated into the preprocessing script of SEIMS in Python. The result is shown in Fig. 3.
Fig. 3 The hillslope result derived by SEIMS.
I have started an issue at Whitebox GAT's Github page.
增加了坡面划分代码
代码位于
seims/preprocess/sd_hillslope.py
输入数据为河网栅格(河网值大于0),D8流向栅格
输出数据为编码后的坡面栅格
代码思路借鉴Whitebox GAT v3.4.0 --> HydroTools --> Hillslopes
请有兴趣的同学一起测试、完善
Latest update: 2017-7-21