raster_tools.surface.surface_area_3d#
- raster_tools.surface.surface_area_3d(raster)[source]#
Calculates the 3D surface area of each raster cell for each raster band.
The approach is based on Jense, 2004.
- Parameters
raster (Raster or path str) – The raster to perform the calculation on (typically an elevation surface).
- Returns
The resulting raster of 3D surface area. The bands will have the same shape as the original Raster.
- Return type
Raster
References