Was having problems with later versions of xarray, so have pinned for now. Ideally we should figure out the problem so we can use the latest versions