hydromt_sfincs.SfincsModel.setup_structures#

SfincsModel.setup_structures(structures: str | Path | GeoDataFrame, stype: str, dz: float | None = None, merge: bool = True, **kwargs)[source]#

Setup thin dam or weir structures.

Adds model layer (depending on stype):

  • thd geom: thin dam

  • weir geom: weir / levee

Parameters:
  • structures (str, Path) – Path, data source name, or geopandas object to structure line geometry file. The “name” (for thd and weir), “z” and “par1” (for weir only) variables are optional. For weirs: dz must be provided if gdf has no “z” column or ZLineString; “par1” defaults to 0.6 if gdf has no “par1” column.

  • stype ({'thd', 'weir'}) – Structure type.

  • merge (bool, optional) – If True, merge with existing’stype’ structures, by default True.

  • dz (float, optional) – If provided, for weir structures the z value is calculated from the model elevation (dep) plus dz.