hydromt_sfincs.workflows.burn_river_rect#

hydromt_sfincs.workflows.burn_river_rect(da_elv: ~xarray.core.dataarray.DataArray, gdf_riv: ~geopandas.geodataframe.GeoDataFrame, da_man: ~xarray.core.dataarray.DataArray = None, gdf_zb: ~geopandas.geodataframe.GeoDataFrame = None, gdf_riv_mask: ~geopandas.geodataframe.GeoDataFrame = None, segment_length: float = 500, riv_bank_q: float = 0.5, rivwth_name: str = 'rivwth', rivdph_name: str = 'rivdph', rivbed_name: str = 'rivbed', manning_name: str = 'manning', logger=<Logger hydromt_sfincs.workflows.bathymetry (WARNING)>)[source]#

Burn rivers with a rectangular cross profile into a DEM.

Parameters:
  • da_elv (xr.DataArray) – DEM and manning raster to burn river depth and manning values into

  • da_man (xr.DataArray) – DEM and manning raster to burn river depth and manning values into

  • gdf_riv (gpd.GeoDataFrame) – River center lines.

  • gdf_zb (gpd.GeoDataFrame, optional) – Point locations with a ‘rivbed’ river bed level [m+REF] column, by defualt None

  • gdf_riv_mask (gpd.GeoDataFrame, optional) – Mask in which to interpolate z values, by default None. If provided, ‘rivwth’ column is not required in gdf_riv.

  • segment_length (float, optional) – Approximate river segment length [m], by default 500

  • riv_bank_q (float, optional) – quantile [0-1] for river bank estimation, by default 0.25

  • rivwth_name (str, optional) – river width [m], depth [m], bed level [m+REF], & manning [s.m-1/3] column names in gdf_riv, by default “rivwth”, “rivdph”, “rivbed”, and “manning”

  • rivdph_name (str, optional) – river width [m], depth [m], bed level [m+REF], & manning [s.m-1/3] column names in gdf_riv, by default “rivwth”, “rivdph”, “rivbed”, and “manning”

  • rivbed_name (str, optional) – river width [m], depth [m], bed level [m+REF], & manning [s.m-1/3] column names in gdf_riv, by default “rivwth”, “rivdph”, “rivbed”, and “manning”

  • manning_name (str, optional) – river width [m], depth [m], bed level [m+REF], & manning [s.m-1/3] column names in gdf_riv, by default “rivwth”, “rivdph”, “rivbed”, and “manning”