linopy.io.read_netcdf

Contents

linopy.io.read_netcdf#

linopy.io.read_netcdf(path, **kwargs)#

Read in a model from a netcdf file.

Parameters:
  • path (path_like) – Path of the stored model.

  • **kwargs – Keyword arguments passed to xarray.load_dataset.

Returns:

m (linopy.Model)