hydromt_delft3dfm.utils.write_crosssections#

hydromt_delft3dfm.utils.write_crosssections(gdf: GeoDataFrame, savedir: str) Tuple[str, str][source]#

Write crosssections into hydrolib-core crsloc and crsdef objects.

Parameters:
  • gdf (geopandas.GeoDataFrame) – gdf containing the crosssections

  • savedir (str) – path to the directory where to save the file.

Returns:

  • crsdef_fn (str) – relative filepath to crsdef file.

  • crsloc_fn (str) – relative filepath to crsloc file.