hydromt_sfincs.components.quadtree.SfincsQuadtreeInfiltration.create_constant#

SfincsQuadtreeInfiltration.create_constant(qinf: str | Path | DataArray | Dataset | None = None, lulc: str | Path | DataArray | Dataset | None = None, reclass_table: str | Path | DataFrame | None = None, reproj_method: str = 'average', nrmax: int = 2000) → None[source]#

Create spatially varying constant infiltration rate.

Adds model layers to SfincsModel.quadtree_grid.data:

  • qinf map: constant infiltration rate [mm/hr]

Parameters:
  • qinf (str, Path, or RasterDataset) – Spatially varying infiltration rates [mm/hr]. If this is an xr.Dataset, it must contain a qinf variable.

  • lulc (str, Path, or RasterDataset) – Land-use dataset. Must be combined with reclass_table.

  • reclass_table (str, Path, or pd.DataFrame) – Reclassification table with a qinf column to convert land-use classes to infiltration rates [mm/hr].

  • reproj_method (str, optional) – Resampling method for reprojecting source data to quadtree blocks.

  • nrmax (int, optional) – Maximum number of cells per quadtree block.