argopy.stores.memorystore.open_dataset

argopy.stores.memorystore.open_dataset#

memorystore.open_dataset(path, errors: Literal['raise', 'ignore', 'silent'] = 'raise', lazy: bool = False, xr_opts: dict = {}, **kwargs) Dataset#

Create a xarray.Dataset from a local path pointing to a netcdf file

Parameters:
  • path (str) – The local path of the netcdf file to open

  • errors

  • lazy (bool, default=False) – Define if we should try to open the netcdf dataset lazily or not

  • xr_opts – Arguments to be passed to xarray.open_dataset()

Return type:

xarray.Dataset