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
{{ message }}
Repository navigation
add_bounds creates broken dataset with xarray's new keep_attrs default #607
Since "2025.11.0", xarray's default for keep_attrs is now True. When we call ds.cf.add_bounds(...) the attributes from the coordinate are copied over to the created bounds, which is incorrect and breaks cf-xarray as the new bounds are now also detected as a coordinate.
Activity
dcherian commentedon Dec 5, 2025
yes bounds variables are supposed to inherit attributes from their "parent". This would be a good change to make