hydromt_sfincs.utils.write_drn#

hydromt_sfincs.utils.write_drn(fn: str | Path, gdf_drainage: GeoDataFrame, fmt='%.1f') None[source]#

Write structure files from list of dictionaries.

Parameters:
  • fn (str, Path) – Path to structure file.

  • drainage (gpd.GeoDataFrame) – Dataframe with drainage structure parameters and geometry.

  • fmt (str) – Format for coordinate values.