hillshade#
- hillshade(xds: str | CloudPath | Path | Tuple[ndarray | MaskedArray, dict] | DataArray | Dataset | DatasetReader | DatasetWriter, azimuth: float = 315, zenith: float = 45) DataArray | Dataset [source]#
Compute the hillshade of a DEM from an azimuth and elevation angle (in degrees).
Goal: replace gdaldem CLI
NB: altitude = zenith
References: