hydromt_sfincs.components.quadtree.SfincsQuadtreeInitialConditions.create#

SfincsQuadtreeInitialConditions.create(zsini: str | Path, fill_value: float = -9999.0, reproj_method='average')[source]#

Setup spatially varying initial water level (ncinifile).

Adds and overwrites model layers to SfincsModel.quadtree_grid.data:

  • zs map: initial water level [m+ref]

Parameters:
  • zsini (str, Path, RasterDataset) – Spatially varying initial water level [m+ref]

  • fill_value (float, optional) – Fill value for areas outside the polygon, by default -9999.0.

  • 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()