Nov 21, 2024 4m read Patrick Hoefler This post was originally published on the Xarray blog . Running large-scale GroupBy-Map patterns with Xarray that are backed by Dask arrays is an essential part of a lot of typical geospatial workloads. Detrending is a very common operation where this pattern is needed.