xarray.backends.NetCDF4DataStore.encode

NetCDF4DataStore.encode(variables, attributes)[source]

Encode the variables and attributes in this store

Parameters
  • variables (dict-like) – Dictionary of key/value (variable name / xr.Variable) pairs

  • attributes (dict-like) – Dictionary of key/value (attribute name / attribute) pairs

Returns