hydromt_sfincs.SfincsModel.setup_dep#
- SfincsModel.setup_dep(datasets_dep: 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:
datasets_dep (List[dict]) – List of dictionaries with topobathy data, each containing a dataset name or Path (elevtn) and optional merge arguments e.g.: [{‘elevtn’: merit_hydro, ‘zmin’: 0.01}, {‘elevtn’: gebco, ‘offset’: 0, ‘merge_method’: ‘first’, reproj_method: ‘bilinear’}] For a complete overview of all merge options, see :py:function:~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”