xarray-custom is a great idea -- thanks for the project! What I was actually looking for was a way to provide this sort of functionality for a dataset, rather than a dataarray. Is this on the roadmap?