cdo remapbil: Open failed on >file.nc< Unsupported file type (library support not compiled in)
Added by Bill Wang over 9 years ago
Hi all!
I got this message:
cdo remapbil: Open failed on >file.nc<
Unsupported file type (library support not compiled in)
When trying to do this (happens also if I just try to check a file with sinfo):
cdo remapbil,r108x108 ice.nc newice.nc
cdo -V gives:
Climate Data Operators version 1.6.2 (http://code.zmaw.de/projects/cdo)
Compiler: gcc -std=gnu99 -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -pedantic -fPIC -pthread
version: gcc (Ubuntu/Linaro 4.8.2-4ubuntu1) 4.8.2
Compiled: by buildd on allspice (x86_64-unknown-linux-gnu) Nov 15 2013 17:10:54
Features: PTHREADS Z JASPER PROJ.4 MAGICS
Libraries: proj/4.7
Filetypes: srv ext ieg grb grb2 nc
CDI library version : 1.6.2 of Nov 15 2013 17:10:44
GRIB_API library version : 1.10.4
netCDF library version : 4.1.3 of Feb 24 2014 21:05:37 $
HDF5 library version : 1.8.11
SERVICE library version : 1.3.1 of Nov 15 2013 17:10:28
EXTRA library version : 1.3.1 of Nov 15 2013 17:10:20
IEG library version : 1.3.1 of Nov 15 2013 17:10:24
FILE library version : 1.8.2 of Nov 15 2013 17:10:20
Any ideas where the problem could be? I've searched and people have had some path problems with netcdf installations, but in such cases cdo -V shouldn't give such a nice response as it did in my case. Or maybe I'm wrong?
Thanks!
Replies (9)
RE: cdo remapbil: Open failed on >file.nc< Unsupported file type (library support not compiled in) - Added by Ralf Mueller over 9 years ago
Hi!
could you upload the input or at least parts of it, which show the same CDO behaviour?
RE: cdo remapbil: Open failed on >file.nc< Unsupported file type (library support not compiled in) - Added by Bill Wang over 9 years ago
Hi, I hope the file attached is enough. At least it gave the same error message when trying with remapbil.
RE: cdo remapbil: Open failed on >file.nc< Unsupported file type (library support not compiled in) - Added by Uwe Schulzweida over 9 years ago
RE: cdo remapbil: Open failed on >file.nc< Unsupported file type (library support not compiled in) - Added by jay qiu over 9 years ago
Hi, Bill Wang
I got the same problem in several days ago.
It is because I didn't enable netCDF-4 support.
This link may help if you are using Ubuntu:
https://github.com/koldunovn/nk_public_notebooks/blob/master/Install%20climate%20data%20operators%20%28cdo%29%20on%20Ubuntu%20with%20netCDF4%20and%20hdf5%20support.ipynb
Good luck
Jay
RE: cdo remapbil: Open failed on >file.nc< Unsupported file type (library support not compiled in) - Added by Bill Wang over 9 years ago
Thanks for your advise, you are some wise guys!
The solution provided by Jay Qiu worked in my case perfectly.
Cheers,
Bill
RE: cdo remapbil: Open failed on >file.nc< Unsupported file type (library support not compiled in) - Added by shiv shrestha over 5 years ago
What should be done for windows 10???
RE: cdo remapbil: Open failed on >file.nc< Unsupported file type (library support not compiled in) - Added by Ralf Mueller over 5 years ago
what's the problem?
RE: cdo remapbil: Open failed on >file.nc< Unsupported file type (library support not compiled in) - Added by shiv shrestha over 5 years ago
The problem is Open failed on >file.nc< Unsupported file type (library support not compiled in.
I am a windows 10 user.
I had this problem when I was using cdo1.6
when i try to use the latest version of cdo..
it asks for a bunch of dll files...
RE: cdo remapbil: Open failed on >file.nc< Unsupported file type (library support not compiled in) - Added by Ralf Mueller over 5 years ago
hi shiv!
then please check put the cdo package which comes with the built-in linux subsystem of windows10. it offers netcdt4 support.
the other option is cygwin, but you need to install the dependencies (libnetcdf, libudunits2, proj) to make it work. there is also a dedicated wiki page on this topic.
hth
ralf