You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This set of lines prevents users from writing files with a handcrafted coordinates attribute. This is useful when not all non-dimensional coordinates in a Dataset are appropriate for every data variable in a dataset.
It seems to me like we should only automatically set "coordinates" when "coordinates" not in attrs. We could raise a warning saying that setting attrs["coordinates"] prevents full roundtripping of Datasets.
What do you think?
The text was updated successfully, but these errors were encountered:
This set of lines prevents users from writing files with a handcrafted
coordinates
attribute. This is useful when not all non-dimensional coordinates in a Dataset are appropriate for every data variable in a dataset.xarray/xarray/conventions.py
Lines 667 to 675 in 16fdac9
It seems to me like we should only automatically set "coordinates" when
"coordinates" not in attrs
. We could raise a warning saying that settingattrs["coordinates"]
prevents full roundtripping of Datasets.What do you think?
The text was updated successfully, but these errors were encountered: