[Bug]: xgcm
vertical regridder throws error ValueError: dimension temp_unique on 0th function argument to apply_ufunc with dask='parallelized' consists of multiple chunks, but is also a core dimension.
#670
Labels
type: bug
Inconsistencies or issues which will cause an issue or problem for users or implementors.
What happened?
I am copying the example from "Remap cloud fraction from model hybrid coordinate to pressure levels" to the SciPy notebook (PR #658) to serve as an example of vertical regridding.
I download the datasets from ESGF via http and opened them using
xc.open_dataset()
/xc.open_mfdataset()
.regridder.vertical()
raisesValueError: dimension temp_unique on 0th function argument to apply_ufunc with dask='parallelized' consists of multiple chunks, but is also a core dimension.
.This error is not raised when opening the datasets from ESGF via OPeNDAP (refer to MVCE).
What did you expect to happen? Are there are possible answers you came across?
Vertically regridding local
.nc
datasets should work the same as using the remote OPeNDAP dataset.I'm not sure why there is a difference in behavior.
Minimal Complete Verifiable Example (MVCE)
Relevant log output
Anything else we need to know?
No response
Environment
xcdat=0.7.1 and
main
xarray=2024.5.0
xgcm=0.8.1
The text was updated successfully, but these errors were encountered: