hydromt_wflow.WflowSedimentModel.clip_grid#

WflowSedimentModel.clip_grid(region, buffer=0, align=None, crs=4326)#

Clip grid to subbasin.

Parameters:
  • region (dict) – See models.wflow.WflowModel.setup_basemaps()

  • buffer (int, optional) – Buffer around subbasin in number of pixels, by default 0

  • align (float, optional) – Align bounds of region to raster with resolution <align>, by default None

  • crs (int, optional) – Default crs of the grid to clip.

Returns:

Clipped grid.

Return type:

xarray.DataSet