Daniel. Thanks for your help. As far I can recalled, I've installed GDAL related pacakges from UbuntuGIS. But I cannot find which exact package may cause the conflict.
After encountering this, I've tried using `cdo` version 1.9.10 from conda and it works great.
In fact, `cdo` is quite a complicate packages to compile. It requires many additional support to include. For this version I use, it features "50GB 12threads C++11 OpenMP45 Fortran PTHREADS HDF5 NC4/HDF5/threadsafe OPeNDAP SZ UDUNITS2 PROJ XML2 MAGICS CURL FFTW3 SSE3'. I think it work great in my WSL2 machine so far.
So, for anyone who also has the need, I highly recommend you to try this conda version `cdo`.
Daniel. Thanks for your help. As far I can recalled, I've installed GDAL related pacakges from UbuntuGIS. But I cannot find which exact package may cause the conflict.
After encountering this, I've tried using `cdo` version 1.9.10 from conda and it works great.
In fact, `cdo` is quite a complicate packages to compile. It requires many additional support to include. For this version I use, it features "50GB 12threads C++11 OpenMP45 Fortran PTHREADS HDF5 NC4/HDF5/threadsafe OPeNDAP SZ UDUNITS2 PROJ XML2 MAGICS CURL FFTW3 SSE3'. I think it work great in my WSL2 machine so far.
So, for anyone who also has the need, I highly recommend you to try this conda version `cdo`.