pyremo.preproc.CFPreprocessor.write

CFPreprocessor.write(ds, outpath)

Write a forcing dataset to NetCDF.

Parameters:
  • ds (xarray.Dataset) – Dataset containing all required forcing variables.

  • outpath (str) – Directory path where the file will be created.

Returns:

str – Absolute path to the written forcing file.