Commit b3073c2
committed
Extract D-inf flow accumulation into dedicated module and update hydrology API
- Move D-inf flow accumulation from flow_accumulation.py into
flow_accumulation_dinf.py with its own test file
- Update basin, watershed, stream_order, and stream_order_mfd to use
D8 flow direction consistently
- Add flow_accumulation_dinf to public API and docs
- Simplify flow_accumulation.py to D8-only logic1 parent e857705 commit b3073c2
File tree
10 files changed
+1284
-1109
lines changed- docs/source/reference
- xrspatial
- tests
10 files changed
+1284
-1109
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
35 | 42 | | |
36 | 43 | | |
37 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | | - | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
368 | 371 | | |
369 | 372 | | |
370 | 373 | | |
| |||
0 commit comments