hydromt_delft3dfm.utils.read_friction#
- hydromt_delft3dfm.utils.read_friction(gdf: GeoDataFrame, fm_model: FMModel) GeoDataFrame [source]#
Read friction files and add properties to branches geodataframe.
Assumes cross-sections have been read before to contain per branch frictionid.
- Parameters:
gdf (geopandas.GeoDataFrame) – gdf containing the crosssections
fm_model (hydrolib.core FMModel) – DflowFM model object from hydrolib
- Returns:
gdf_out – gdf containing the crosssections updated with the friction params
- Return type: