Project

General

Profile

cdi error (cdf_get_vara_float): NetCDF: HDF error

Added by Brendan DeTracey 6 months ago

Hi,
I get the following error:

cdo info uo_Omon_CNRM-CM6-1-HR_ssp126_r1i1p1f2_gn_207301-207412.nc
    -1 :       Date     Time   Level Gridsize    Miss :     Minimum        Mean     Maximum : Parameter ID
     1 : 2073-01-16 12:00:00 0.50576  1514100  597858 :     -1.8984  -0.0084170      1.6063 : -1
     2 : 2073-01-16 12:00:00 1.55586  1514100  597858 :     -1.8877  -0.0080037      1.6002 : -1
…
  1574 : 2074-09-16 00:00:00 5698.06  1514100 1484452 :    -0.26585  0.00063384     0.29168 : -1
  1575 : 2074-09-16 00:00:00 5902.06  1514100 1514100 :                     nan             : -1
cdi  cdf_get_vara_float: ncid=65536  varid=8  start[0]=21  count[0]=1

cdi  error (cdf_get_vara_float): NetCDF: HDF error
I can't upload the file because it is 4GB: http://esg1.umr-cnrm.fr/thredds/fileServer/CMIP6_CNRM/ScenarioMIP/CNRM-CERFACS/CNRM-CM6-1-HR/ssp126/r1i1p1f2/Omon/uo/gn/v20200127/uo_Omon_CNRM-CM6-1-HR_ssp126_r1i1p1f2_gn_207301-207412.nc
The file passes a sha256sum from the file provider. I contacted the file provider. He claims the file is not corrupted.
checksum: a50657af2e3f4f6a4a08d8fe8ac5f0c8ecb45809b0a25d9c4bdbb3c845283f0e
size: 4412345004
Is this a cdo issue, or is the file corrupted? I do get a similar error from the tool ncview.


Replies (2)

RE: cdi error (cdf_get_vara_float): NetCDF: HDF error - Added by Uwe Schulzweida 6 months ago

Hi Brendan,

I get the same error with nccopy. I therefore assume that this file is corrupted.

nccopy uo_Omon_CNRM-CM6-1-HR_ssp126_r1i1p1f2_gn_207301-207412.nc result
NetCDF: HDF error
Location: file nccopy.c; fcn copy_var_data line 1681

Cheers,
Uwe

RE: cdi error (cdf_get_vara_float): NetCDF: HDF error - Added by Brendan DeTracey 6 months ago

Thanks Uwe. Now I must convince the data provider... :(

    (1-2/2)