FillDepressions
How WhiteboxTools runs Fill Sinks: FillDepressions.
| Engine | WhiteboxTools |
|---|---|
| Tool name | FillDepressions |
| Interface | cli |
| Implements | Fill Sinks |
| Documentation | Not stated |
| Effects | modifies input: no, network: no |
| Notes | Not stated |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
dem | ExistingFile:Raster | yes | Not stated | Not stated | Not stated |
output | NewFile:Raster | yes | Not stated | Not stated | output |
fix_flats | Boolean | no | true | Not stated | Not stated |
flat_increment | Float | no | Not stated | Not stated | Not stated |
max_depth | Float | no | Not stated | Not stated | Not stated |
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
raster | dem | Not stated |
output | output | Not stated |
Differences from the operation
- fix_flats (default true) adds a small gradient across flats; max_depth limits how deep a depression is filled.
- WhiteboxTools 2.4.0: in the equivalence tests this tool panicked ('Error unwrapping output') in about a third of runs on a 20 by 20 raster, at random; FillDepressionsWangAndLiu and FillDepressionsPlanchonAndDarboux did not.
Harvested by the whitebox harvester from engine version
2.4.0. Names can change when an engine is harvested again.