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
It seems that PR #132, by changing the default engine from flox to numpy reactivated the bug of #101 : `func='count`` doesn't work on arrays of dtype 'O' with engine 'numpy'. Which means cftime arrays in most cases.
As we can't change the default engine that xarray uses (I think?), this means that this precise case is broken in xarray too.
Well haha, I realize this is kind of a corner case and the linked commit above changed our code so that we don't rely on this anymore. It's only for a sanity check... I'll push something here and see if I can add a xarray test!
It seems that PR #132, by changing the default engine from
flox
tonumpy
reactivated the bug of #101 : `func='count`` doesn't work on arrays of dtype 'O' with engine 'numpy'. Which means cftime arrays in most cases.As we can't change the default engine that xarray uses (I think?), this means that this precise case is broken in xarray too.
Could we simply remove
count
from the line here?flox/flox/xarray.py
Line 299 in b21b040
Sorry, I should add an example!
Raises:
The text was updated successfully, but these errors were encountered: