hydromt_sfincs.components.quadtree.SfincsQuadtreeRoughness.create#
- SfincsQuadtreeRoughness.create(roughness_list: List[dict], manning_land: float = 0.05, manning_sea: float = 0.02, rgh_lev_land: int = 0, nrmax: int = 2000)[source]#
Interpolate roughness (Manning’s n) data to the model grid.
Adds model grid layers:
manning: combined roughness [s/m^(1/3)]
- Parameters:
roughness_list (
List[dict], optional) – List of dictionaries with Manning’s n datasets. Each dictionary should at least contain one of the following: * (1) manning: filename (or Path) of gridded data with manning values * (2) lulc (and reclass_table) :a combination of a filename of gridded landuse/landcover and a mapping table. In additon, optional merge arguments can be provided e.g.: merge_method, gdf_valid_fnmanning_land (
float, optional) – Constant manning roughness values for land and sea, by default 0.04 and 0.02 s.m-1/3 Note that these values are only used when no Manning’s n datasets are provided, or to fill the nodata valuesmanning_sea (
float, optional) – Constant manning roughness values for land and sea, by default 0.04 and 0.02 s.m-1/3 Note that these values are only used when no Manning’s n datasets are provided, or to fill the nodata valuesrgh_lev_land (
float, optional) – Elevation level to distinguish land and sea roughness (when using manning_land and manning_sea), by default 0.0nrmax (
int, optional) – Maximum number of points to interpolate in a single chunk, by default 2000.