Experimental

Calculates the principal curvature direction angle (degrees).

geomorphometry terrain curvature principal_curvature_direction legacy-port

## Parameters

Name | Description | Required | Default
--- | --- | --- | ---
`input` | Input DEM raster path or typed raster object. | Required | `dem.tif`
`z_factor` | Optional z conversion factor (default 1.0). Alias: zfactor. | Optional | `1.0`
`log_transform` | Optional log-transform of output values (default false). Alias: log. | Optional | `False`
`output` | Optional output path. If omitted, result is stored in memory. | Optional | —

## Examples

Calculates principal_curvature_direction from a DEM.

    wbe.principal_curvature_direction(input='dem.tif', log_transform=False, output='principal_curvature_direction.tif', z_factor=1.0)

## Project Links

WbW Homepage User Manual Support WbW