Closed kuchaale closed 3 years ago
Another modification below:
temp = ds['u0'].attrs
comp_m.attrs['units'] = list(temp.values())[0].split(' / ')[-1]
I cannot see any change in definitions.py. Did you commit it?
I cannot see any change in definitions.py. Did you commit it?
Yeah, I forgot to commit the new version. I've done it just now.
We need to define units in the
sea
function in the following way:so that xarray handles them in the colorbar label.