roughness
Luo_Suppe2026-08-15
gma.etools.roughness
function roughness(in_src, out_dst, compute_edges = None, band = 1, **kwargs):
Calculate roughness from any supported DEM raster file!
Parameters:
in_src: str.
The input raster file path.
out_dst: str.
The output raster file path.
Optional:
compute_edges = bool. Default True.
Whether to compute raster edge data and data near no data values.
Setting values that are not True are treated as False.
band = int. Default 1.
Number of the element calculation band. Start with 1.
**kwargs:
Other parameters passed to translate.
Returns:
Type: DataSet.