Project

General

Profile

Problem with combining files

Added by KOTESWARA RAO KUNDETI over 11 years ago

Hi
While combining two .nc files of same variable with different time steps
I am getting the message like below

cdo mergetime: Open failed on >ua_Amon_ACCESS1-0_rcp45_r1i1p1_2006-2055.nc<
Unsupported file type (library support not compiled in)

Could anyone knows the solution, please let me know......

THank you

Cheers
KOTI


Replies (1)

RE: Problem with combining files - Added by Ian Scott-Fleming over 11 years ago

Quite likely your build of cdo was not done with netCDF support (my mistake first time around, too). See the README file in the installation package, or the "Compilation" section of the cdo documentation, both of which say something to the effect of (from the README):

Building and installing it:

1. Run ./configure, with some options if you wish. The standard
options are documented in the INSTALL file. The configuration
script has some more options; type 'configure -h' to see them.
The most interesting ones are the usual
--prefix=&lt;installation directory&gt; and
--with-netcdf=&lt;directory&gt; to enable netCDF support.
The netCDF-4 configuration depends on the netCDF-4 and HDF5 installation!
You have to define the location of the HDF5 installation if netCDF-4 was
build with HDF5 support:
--with-netcdf=&lt;netCDF-4 root directory&gt; --with-hdf5=&lt;HDF5 root directory&gt;
You have to specify also the location of the SZLIB if HDF5 was build
with SZLIB support. If only the linking is required, you can directly
set the linking path with --with-szlib-lib=&lt;dir&gt;, --with-zlib-lib=&lt;dir&gt;
and --with-hdf5-lib=&lt;dir&gt;
To process szip compressed GRIB files you have to enable SZLIB support with:
--with-szlib=&lt;directory&gt;
    (1-1/1)