-
foxes.utils.write_nc(ds, fpath, round=
{}, complevel=5, nc_engine='netcdf4', verbosity=1, **kwargs)[source] Writes a dataset to netCDF file
ParametersΒΆ
- fpath: str
Path to the output file, should be nc
- round: dict or int
The rounding digits, falling back to defaults if variable not found. If int, applies to all variables.
- complevel: int
The compression level
- nc_engine: str
The NetCDF engine to use
- verbosity: int
The verbosity level, 0 = silent
- kwargs: dict, optional
Additional parameters for xarray.to_netcdf