linopy.model.Model.to_netcdf#
- Model.to_netcdf(*args, **kwargs)#
Write out the model to a netcdf file.
- Parameters:
m (
linopy.Model
) – Model to write out.*args – Arguments passed to
xarray.Dataset.to_netcdf
.**kwargs (
TYPE
) – Keyword arguments passed toxarray.Dataset.to_netcdf
.