Project

General

Profile

Unsupported file type (library support not compiled in) despite the fact that cdo is configured with netcdf library

Added by Beata Szabo-Takacs almost 9 years ago

Dear All,

I tried to merge some netcdf file with cdo mergetime operator but I received the following error message:

Unsupported file type (library support not compiled in)

According to cdo -V cdo is compiled with netcdf 4.3.2.

Climate Data Operators version 1.6.4 (http://code.zmaw.de/projects/cdo)
Compiled: by beata on beata-HP-Z420-Workstation (x86_64-unknown-linux-gnu) Jun 8 2015 11:52:14
Compiler: gcc -std=gnu99 -g -O2 -fopenmp
version: gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Features: PTHREADS OpenMP Z JASPER
Libraries:
Filetypes: srv ext ieg grb grb2 nc nc2
CDI library version : 1.6.4 of Jun 8 2015 11:52:08
CGRIBEX library version : 1.6.4 of Jun 27 2014 14:00:04
GRIB_API library version : 1.10.4
netCDF library version : 4.3.2 of Mar 4 2015 11:13:04 $
HDF5 library version : 1.8.11
SERVICE library version : 1.3.2 of Jun 8 2015 11:51:57
EXTRA library version : 1.3.2 of Jun 8 2015 11:51:52
IEG library version : 1.3.2 of Jun 8 2015 11:51:55
FILE library version : 1.8.2 of Jun 8 2015 11:51:53

I tested the netcdf files in Matlab and they are right. Could someone write me what the matter should be and how I could fix it?

Thank you for your help in advance!
Beata


Replies (1)

RE: Unsupported file type (library support not compiled in) despite the fact that cdo is configured with netcdf library - Added by Uwe Schulzweida almost 9 years ago

It seems that you are using a netCDF4 file and the netCDF library was not compiled with netCDF4 support. The netCDF4 support muss be explicity switched on with the netcdf configure option --enable-netcdf4.
See also https://code.zmaw.de/boards/2/topics/3323?r=3324#message-3324

    (1-1/1)