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
Hi everyone. I just wanted to make sure you are aware of the flox package. You might want to consider using it with Xarray if you are doing a lot of grouping and resampling operations. I am exploring flox integration in xCDAT in #217 and #490.
Significantly faster groupby calculations are now possible through a new-ish package in the Xarray/Dask/Pangeo ecosystem called flox. Practically, this means faster climatologies, faster resampling, faster histogramming, and faster compositing of array datasets. It also means that veryverymanydiscussions in the Pangeo community are now closed 🎉 😱 🤯 🥳.
Run mamba install flox and xarray>=2022.06.0 will use it by default for .groupby, .groupby_bins, and .resample!
A lot of effort was spent in ensuring backwards compatibility, so your workloads should only work better. Let us know if it does not
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone. I just wanted to make sure you are aware of the flox package. You might want to consider using it with Xarray if you are doing a lot of grouping and resampling operations. I am exploring flox integration in xCDAT in #217 and #490.
Here is the Xarray blog post about it: https://xarray.dev/blog/flox
Beta Was this translation helpful? Give feedback.
All reactions