Problem with combining files
Added by KOTESWARA RAO KUNDETI over 12 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 12 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=<installation directory> and
--with-netcdf=<directory> 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=<netCDF-4 root directory> --with-hdf5=<HDF5 root directory>
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=<dir>, --with-zlib-lib=<dir>
and --with-hdf5-lib=<dir>
To process szip compressed GRIB files you have to enable SZLIB support with:
--with-szlib=<directory>