flow_accumulation
Computes D8 flow accumulation from a DEM, filling depressions first. Outputs upslope cell count or specific catchment area as a GeoTIFF for hydrology and watershed analysis.
Instructions
D8 flow accumulation from a DEM (GeoTIFF in/out). Depressions are filled first.
out_type: 'cells' (upslope cell count, includes the cell itself) or 'sca' (specific catchment area). log_transform=True for visualization-friendly values. Requires the [whitebox] extra.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dem_path | Yes | ||
| out_type | No | cells | |
| output_path | Yes | ||
| log_transform | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||