CMS has put together a blog entry about using the
preprocess argument to
xarray.open_mfdataset() here: More efficent use of xarray.open_mfdataset() — CLEX CMS Blog. I’m sure many of you (especially the COSMIA folks) already know about this, but when I went looking for examples and tutorials there wasn’t much around. I hope some people find this helpful!