xarray.backends.NetCDF4DataStore.encode_attribute

NetCDF4DataStore.encode_attribute(self, a)

encode one attribute