write_xarray_to_file#

mhm_tools.common.file_handler.write_xarray_to_file(ds, file_path, var_name=None, create_folder=True, encoding=None, engine='netcdf4', resolution=None)[source]#

Write xarray Datasets to file with file type depending on the file suffix.