Project

General

Profile

Error with cdo mergetime

Added by ST C almost 8 years ago

Hi all.

I'm getting some errors when using the command cdo mergetime.
It works for some files but for others i get this error :

root@pc-X55VDR:/home/pc/Bureau/cdo# cdo mergetime pr_AFR-44_MPI-M-MPI-ESM-LR_historical_r1i1p1_CLMcom-CCLM4-8-17_v1_day_19510101-19551231.nc pr_AFR-44_MPI-M-MPI-ESM-LR_historical_r1i1p1_CLMcom-CCLM4-8-17_v1_day_19560101-19601231.nc results.nc
cdf_get_vara_float : ncid = 65536 varid = 9

Error (cdf_get_vara_float) : NetCDF: HDF error
HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 0:
#000: H5T.c line 1723 in H5Tclose(): not a datatype
major: Invalid arguments to routine
minor: Inappropriate type

Error (cdf_close) : NetCDF: HDF error

Here is the output of cdo -V :

root@pc-X55VDR:/home/pc/Bureau/cdo# cdo -V
Climate Data Operators version 1.7.2 (http://mpimet.mpg.de/cdo)
Compiled: by root on pc-X55VDR (x86_64-unknown-linux-gnu) Jul 24 2016 09:45:22
Compiler: gcc -std=gnu99 -g -O2 -fopenmp
version: gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Features: DATA PTHREADS OpenMP3 NC4/HDF5 OPeNDAP SSE2
Libraries:
Filetypes: srv ext ieg grb nc nc2 nc4 nc4c
CDI library version : 1.7.2 of Jul 24 2016 09:44:10
CGRIBEX library version : 1.7.5 of Jun 3 2016 14:44:00
NetCDF library version : 4.3.3.1 of Jul 23 2016 21:48:32 $
HDF5 library version : 1.10.0
SERVICE library version : 1.4.0 of Jul 24 2016 09:43:49
EXTRA library version : 1.4.0 of Jul 24 2016 09:43:41
IEG library version : 1.4.0 of Jul 24 2016 09:43:46
FILE library version : 1.8.2 of Jul 24 2016 09:43:42

Thank you very much for your help


Replies (1)

RE: Error with cdo mergetime - Added by Ralf Mueller almost 8 years ago

Please try

cdo -L mergetime pr_AFR-44_MPI-M-MPI-ESM-LR_historical_r1i1p1_CLMcom-CCLM4-8-17_v1_day_19510101-19551231.nc pr_AFR-44_MPI-M-MPI-ESM-LR_historical_r1i1p1_CLMcom-CCLM4-8-17_v1_day_19560101-19601231.nc results.nc 
If hdf5 is installed non-threadsafe, you can get strange errors when dealing with netcdf4 input.

    (1-1/1)