slope#
- slope(xds: str | CloudPath | Path | tuple[ndarray | MaskedArray, dict] | DataArray | Dataset | DatasetReader | DatasetWriter, in_pct: bool = False, in_rad: bool = False, **kwargs) DataArray | Dataset [source]#
Compute the slope of a DEM (in degrees).
Goal: replace gdaldem CLI