Closed lee1043 closed 6 months ago
@jasonb5 Maybe this can be addressed in #613?
I'll followup this week and check with #613.
@jasonb5 Sounds good, thanks.
I reproduced this issue on the current latest version of xcdat (v0.6.1) and am trying to debug it.
This issue will be fixed by PR #613. Here is the PR review comment with more info on the root cause and solution.
@tomvothecoder @jasonb5 I confirmed that the above minimal code works well with #613.
What happened?
My actual use case is opening multiple netcdf files using
open_mfdataset
and do regrid using regrid2, and there were about half of CMIP6 models that regrid2 was failing. I tracked down to where the issue was coming from.I found that for those models, if I open a single netcdf file via
open_dataset
regrid2 works well, but if I open the same file viaopen_mfdataset
regrid2 fails.What did you expect to happen? Are there are possible answers you came across?
No response
Minimal Complete Verifiable Example (MVCE)
Relevant log output
Anything else we need to know?
I am using the latest xCDAT main branch version.
Environment
INSTALLED VERSIONS
commit: None python: 3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0] python-bits: 64 OS: Linux OS-release: 3.10.0-1160.108.1.el7.x86_64 machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: ('en_US', 'UTF-8') libhdf5: 1.14.3 libnetcdf: 4.9.2
xarray: 2024.2.0 pandas: 2.2.0 numpy: 1.23.5 scipy: 1.12.0 netCDF4: 1.6.5 pydap: None h5netcdf: None h5py: None Nio: None zarr: None cftime: 1.6.3 nc_time_axis: 1.4.1 iris: None bottleneck: None dask: 2024.2.0 distributed: 2024.2.0 matplotlib: 3.7.1 cartopy: 0.22.0 seaborn: 0.12.2 numbagg: None fsspec: 2024.2.0 cupy: None pint: None sparse: 0.15.1 flox: None numpy_groupies: None setuptools: 67.7.2 pip: 23.1.2 conda: None pytest: 7.3.1 mypy: None IPython: 8.11.0 sphinx: 5.3.0