hydromt_sfincs.SfincsModel.setup_storage_volume#

SfincsModel.setup_storage_volume(storage_locs: str | Path | GeoDataFrame, volume: float | List[float] = None, height: float | List[float] = None, merge: bool = True)[source]#

Add storage volumes to the model. Note that this functionality only works for models with subgrid tables (regular grid or quadtree).

Adds model layer: * vol map: storage volume [m3] for green infrastructure

Parameters:
  • storage_locs (str, Path, or gpd.GeoDataFrame) – Storage location polygons or points. May include “volume” or “height” attributes.

  • volume (float or list of float, optional) – Storage volume [m3] per location. Used if not present in storage_locs.

  • height (float or list of float, optional) – Storage height [m] per polygon. Used if not present in storage_locs. Only applies to polygons.

  • merge (bool, optional) – If True, add to existing storage volumes. Default is True.