hydromt.DataArray.raster.density_grid#
- DataArray.raster.density_grid()#
Returns 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