hydromt_delft3dfm.utils.write_2dboundary#

hydromt_delft3dfm.utils.write_2dboundary(forcing: Dict, savedir: str, ext_fn: str = None) list[dict][source]#

Write 2 boundary forcings from forcing dict.

Note! forcing file (.bc) and forcing locations (.pli) are written in this function. Use external forcing (.ext) file will be extended.

Parameters:
  • forcing (dict of xarray DataArray) – Dict of boundary DataArray. Only forcing that startswith “boundary” will be recognised.

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

  • ext_fn (str or Path, optional) – Path of the external forcing file (.ext) in which this function will append to.