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 kind of dataarray exists in CMIP datasets. x,y have absolutely no data (no values, no attrs) associated with them, and so guess_coord_axis does not do anything.
We could have .cf.guess_coord_axis(add_indexes=True) that effectively does
da["x"] =np.arange(da.sizes["x"])
da["y"] =np.arange(da.sizes["y"])
# now do the guessing
This will assign axis='X' and axis='Y' appropriately. I think this would be an OK opt-in feature, though we need a better name than add_indexes.