hydromt_wflow.WflowSedimentModel.clip#
- WflowSedimentModel.clip(region: dict, inverse_clip: bool = False, clip_forcing: bool = True, clip_states: bool = True, crs: int = 4326, **kwargs)[source]#
Clip model to region.
First the staticmaps are clipped to the region. Then the staticgeoms are re-generated to match the new grid for basins and rivers and clipped for the others. Finally the forcing and states are clipped to the new grid extent.
- Parameters:
region (dict) – See
models.wflow_base.WflowBaseModel.setup_basemaps()
inverse_clip (bool, optional) – Flag to perform “inverse clipping”: removing an upstream part of the model instead of the subbasin itself, by default False
clip_forcing (bool, optional) – Flag to clip the forcing to the new grid extent, by default True
clip_states (bool, optional) – Flag to clip the states to the new grid extent, by default True
crs (int, optional) – Default crs of the grid to clip.
**kwargs (dict) – Additional keyword arguments passed to
clip_geom()