cdo mergetime: Open failed on >ts_Eday_MPI-ESM1-2-HR_ssp126_r1i1p1f1_gn_20150101-20191231.nc< Unknown Error
Added by Hongzhi Zhang about 2 years ago
Hi,
I've intalled cdo, and it's working.(cdo show the options and version).
I'm unable to interact with the local netCDF file. I receive "open failed on >.nc< Unknown Error".
However, I tried Ralf's suggestion "cdo sinfov http://dap.ceda.ac.uk/thredds/dodsC/badc/cmip6/data/CMIP6/ScenarioMIP/FIO-QLNM/FIO-ESM-2-0/ssp245/r1i1p1f1/Omon/thetao/gn/files/d20200109/thetao_Omon_FIO-ESM-2-0_ssp245_r1i1p1f1_gn_209501-210012.nc", and it's working.
The system is windows 11, I don't know if it matters.
I already tried cdo-2.0.5, but failed again.
Any advises or suggestions would be very helpful.
Hongzhi
66ebe025f3cd8fe2d25aef1457c3782.jpg (123 KB) 66ebe025f3cd8fe2d25aef1457c3782.jpg | cdo is working | ||
06b35a28ecfbb3f5ebd15f3e5620d0a.jpg (9.67 KB) 06b35a28ecfbb3f5ebd15f3e5620d0a.jpg | cdo mergetime: open failed on .nc | ||
b18ff001d974cd36a8ba9bc3b2eef99.jpg (109 KB) b18ff001d974cd36a8ba9bc3b2eef99.jpg | cdo sinfov http.... is working |
Replies (8)
RE: cdo mergetime: Open failed on >ts_Eday_MPI-ESM1-2-HR_ssp126_r1i1p1f1_gn_20150101-20191231.nc< Unknown Error - Added by Karin Meier-Fleischer about 2 years ago
Hi Hongzhi,
have you installed cdo with netCDF? What does 'cdo -V' return?
RE: cdo mergetime: Open failed on >ts_Eday_MPI-ESM1-2-HR_ssp126_r1i1p1f1_gn_20150101-20191231.nc< Unknown Error - Added by Hongzhi Zhang about 2 years ago
Hi Karin,
I've installed cdo with netCDF while I installed cygwin64.
Here's the screenshot.
RE: cdo mergetime: Open failed on >ts_Eday_MPI-ESM1-2-HR_ssp126_r1i1p1f1_gn_20150101-20191231.nc< Unknown Error - Added by Karin Meier-Fleischer about 2 years ago
Please,
cdo -V
RE: cdo mergetime: Open failed on >ts_Eday_MPI-ESM1-2-HR_ssp126_r1i1p1f1_gn_20150101-20191231.nc< Unknown Error - Added by Hongzhi Zhang about 2 years ago
sorry, my mistake
RE: cdo mergetime: Open failed on >ts_Eday_MPI-ESM1-2-HR_ssp126_r1i1p1f1_gn_20150101-20191231.nc< Unknown Error - Added by Karin Meier-Fleischer about 2 years ago
Hm, you have installed an old version (1.9.8) of CDO. The current version is 2.0.6. I would recommend to install a newer version.
RE: cdo mergetime: Open failed on >ts_Eday_MPI-ESM1-2-HR_ssp126_r1i1p1f1_gn_20150101-20191231.nc< Unknown Error - Added by Estanislao Gavilan about 2 years ago
Hi Karin and Hongzhi,
I have experienced those problems in cygwin64. It seems that wsl 2 works better. Did you try to install it in that environment? It is simpler than cygwin. Assuming that you have windows 10 or newer, you can follow these steps
1) Go to your powershell (windows>search>powershell). Then open as administrator (right click and select open as administrator)
2) type "wsl --install"
3) wait wait wait. Insert your wsl user and pass. wait wait wwait
4) type "sudo apt-get update"
5) type "sudo apt-upgrade -y"
6) type "sudo apt-get cdo -y"
This method installs cdo 1.9.9 because the default wsl machine is ubuntu 20.04. Even though it is not an updated version, it should work better than cygwin. If you want the most updated version you need to install miniconda or wsl ubuntu 22.04. It is a bit more complicate. You can find in this post how to install minicond and cdo in wsl
https://code.mpimet.mpg.de/boards/1/topics/13255
PS: bear in mind that if you computer is located in china as mine, you will have some problems fetching cdo files. You will need a vpn connection to succefully finish the installation
RE: cdo mergetime: Open failed on >ts_Eday_MPI-ESM1-2-HR_ssp126_r1i1p1f1_gn_20150101-20191231.nc< Unknown Error - Added by Hongzhi Zhang about 2 years ago
Hi Karin and Estanislao,
Thanks for your advises and suggestions.
I tried to install cdo-2.0.6 tar.gz yesterday, but failed in "make & make install" step. When there is the cdo-2.0.6 cygwin64 win-10 version, maybe it will work better?
I will try other platforms, such as wsl2 or ubuntu.
Thanks again
RE: cdo mergetime: Open failed on >ts_Eday_MPI-ESM1-2-HR_ssp126_r1i1p1f1_gn_20150101-20191231.nc< Unknown Error - Added by Hongzhi Zhang about 2 years ago
Hi Estanislao,
Thanks for your advises. It's very helpful, and cdo is working in Ubuntu.
Thanks again.