🍾 Xarray is now 10 years old! 🎉

xarray.backends.H5NetCDFStore.set_attributes

xarray.backends.H5NetCDFStore.set_attributes#

H5NetCDFStore.set_attributes(attributes)[source]#

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

Parameters:

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