hydromt_sfincs.components.grid.SfincsInitialConditions.create#
- SfincsInitialConditions.create(ini: str | Path | DataArray, fill_value: float = -9999.0, reproj_method='average')[source]#
Setup spatially varying initial water level (inifile).
Adds and overwrites model layers to SfincsModel.grid.data:
ini map: initial water level [m+ref]
- Parameters:
ini (
str,Path,RasterDataset) – Spatially varying initial water level [m+ref]reproj_method (
str, optional) – Resampling method for reprojecting the initial water level data to the model grid. By default ‘average’. For more information see,hydromt.raster.RasterDataArray.reproject_like()fill_value (
float, optional) – Fill value for areas without data, by default -9999.0. For cells with initial water levels of -9999.0, the SFINCS kernel will set the initial water level to the bed level.