diff --git a/xbout/utils.py b/xbout/utils.py index 59960b4e..d190b460 100644 --- a/xbout/utils.py +++ b/xbout/utils.py @@ -87,4 +87,9 @@ def update_ny(name): update_ny('ny_inner') update_ny('MYSUB') + # Update attrs of coordinates to be consistent with da + for coord in da.coords: + da[coord].attrs = {} + _add_attrs_to_var(da, coord) + return da