๐Ÿพ Xarray is now 10 years old! ๐ŸŽ‰

xarray.backends.ScipyDataStore.set_variables

xarray.backends.ScipyDataStore.set_variables#

ScipyDataStore.set_variables(variables, check_encoding_set, writer, unlimited_dims=None)[source]#

This provides a centralized method to set the variables on the data store.

Parameters:
  • variables (dict-like) โ€“ Dictionary of key/value (variable name / xr.Variable) pairs

  • check_encoding_set (list-like) โ€“ List of variables that should be checked for invalid encoding values

  • writer (ArrayWriter)

  • unlimited_dims (list-like) โ€“ List of dimension names that should be treated as unlimited dimensions.