hydromt_delft3dfm.utils.write_meteo#

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

Write 2d meteo forcing from forcing dict.

Note! only forcing file (.bc) is written in this function. Use utils.write_ext() for writing external forcing (.ext) file.

Parameters:
  • forcing (dict of xarray DataArray) – Dict of boundary DataArray. Only forcing that startswith “meteo” 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.