hydromt.gis.DataArray.raster.density_grid#

gis.DataArray.raster.density_grid()#

Return the density in [unit/m2] of raster(s).

The cell areas are calculated using area_grid().

Returns:

ds_out – The density in [unit/m2] of the raster.

Return type:

xarray.DataArray or xarray.DataSet