tri

Luo_Suppe2026-08-15

gma.etools.tri

function tri(in_src, out_dst, compute_edges = None, band = 1, **kwargs):

Calculate Terrain Ruggedness Index 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.


Last Updated 8/15/2026, 8:42:21 AM