Doing this does not work
self.store_coords('name','a string')
It results in xarray throwing an error about there already being a scalar called 'name'.
What does work is:
self.store_coords('name',['a string'])
Put brackets around the string to make it a list.
It seems that np.asarray that is used in store_coords doesn't present a string in a format that xarray likes.
Doing this does not work
It results in xarray throwing an error about there already being a scalar called 'name'.
What does work is:
Put brackets around the string to make it a list.
It seems that np.asarray that is used in store_coords doesn't present a string in a format that xarray likes.