hydromt_sfincs.components.grid.SfincsElevation.create#

SfincsElevation.create(elevation_list: List[dict], buffer_cells: int = 0, interp_method: str = 'linear')[source]#

Interpolate topobathy (dep) data to the model grid.

Adds model grid layers:

  • dep: combined elevation/bathymetry [m+ref]

Parameters:
  • elevation_list (List[dict]) – List of dictionaries with topobathy data, each containing a dataset name or Path (elevation) and optional merge arguments e.g.: [{‘elevation’: merit_hydro, ‘zmin’: 0.01}, {‘elevation’: gebco, ‘offset’: 0, ‘merge_method’: ‘first’, ‘reproj_method’: ‘bilinear’}] For a complete overview of all merge options, see hydromt.workflows.merge_multi_dataarrays()

  • buffer_cells (int, optional) – Number of cells between datasets to ensure smooth transition of bed levels, by default 0

  • interp_method (str, optional) – Interpolation method used to fill the buffer cells , by default “linear”