Terrain Ruggedness index GDAL https://gdal.org/programs/gdaldem.html https://gdal.org/python/osgeo.gdal-module.html TRI/TPI ctrl+f