xrspatial.hydro.flow_direction_d8
How xarray-spatial runs Flow Direction: xrspatial.hydro.flow_direction_d8.
| Engine | xarray-spatial |
|---|---|
| Tool name | xrspatial.hydro.flow_direction_d8 |
| Interface | python |
| Implements | Flow Direction |
| Documentation | Not stated |
| Effects | modifies input: no, network: no |
| Notes | Not stated |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
agg | xr.DataArray | yes | Not stated | Not stated | Not stated |
name | str | no | flow_direction | Not stated | Not stated |
boundary | str | no | nan | Not stated | Not stated |
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
raster | agg | Not stated |
encoding | Not stated | always esri |
Differences from the operation
- Takes an xarray DataArray; edge cells are NaN by default (boundary = 'nan').
Harvested by the python-packages harvester from engine version
0.10.20. Names can change when an engine is harvested again.