Project

General

Profile

"NetCDF: Start+count exceeds dimension bound"

Added by Andreas Hilboll almost 11 years ago

I'm running into a strange problem with cdo 1.5.8 on Ubuntu Linux. When I try to access a certain file, I get the error "NetCDF: Start+count exceeds dimension bound". ncdump and the like are able to handle the file just well, as is python-netcdf4. However, I noticed that PanoplyJ also cannot open the file.

$ nc-config --all

This netCDF 4.1.1 has been built with the following features: 

  --cc        -> gcc
  --cflags    ->  -I/usr/include
  --libs      -> -L/usr/lib -lnetcdf

  --cxx       -> g++
  --has-c++   -> yes

  --fc        -> gfortran
  --fflags    -> -g -O2 -I/usr/include
  --flibs     -> -L/usr/lib -lnetcdff -lnetcdf
  --has-f77   -> yes
  --has-f90   -> yes

  --has-dap   -> yes
  --has-nc2   -> yes
  --has-nc4   -> yes
  --has-hdf5  -> yes
  --has-hdf4  -> no
  --has-szlib -> no

  --prefix    -> /usr
  --includedir-> /usr/include
  --version   -> netCDF 4.1.1
$ cdo -V
Climate Data Operators version 1.5.8 (http://code.zmaw.de/projects/cdo)
Compiler: gcc -std=gnu99 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fPIC -pthread
 version: gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
    with: PTHREADS NC4 OPeNDAP Z JASPER UDUNITS2 PROJ.4
Compiled: by hilboll on elara.iup.uni-bremen.de (x86_64-unknown-linux-gnu) May 27 2013 15:49:36
     CDI library version : 1.5.8 of May 27 2013 15:49:29
GRIB_API library version : 1.9.9
  netCDF library version : 4.1.1 of Nov  7 2011 11:35:16 $
    HDF5 library version : 1.8.4
 SERVICE library version : 1.3.1 of May 27 2013 15:49:17
   EXTRA library version : 1.3.1 of May 27 2013 15:49:11
     IEG library version : 1.3.1 of May 27 2013 15:49:14
    FILE library version : 1.8.0 of May 27 2013 15:49:12

The file in question can be accessed here: http://www.iup.uni-bremen.de/~hilboll/ini_test_ref.nc

Any help resolving this issue is greatly appreciated!


Replies (3)

RE: "NetCDF: Start+count exceeds dimension bound" - Added by Andreas Hilboll almost 11 years ago

I just upgraded to the new 1.6.0, and the problem persists.

RE: "NetCDF: Start+count exceeds dimension bound" - Added by Andreas Hilboll almost 11 years ago

Actually, could this be related to the fact that one of the variables is 4D (param x z x lat x lon)?

RE: "NetCDF: Start+count exceeds dimension bound" - Added by Uwe Schulzweida almost 11 years ago

Hi Andreas,

CDOs internal data model supports only 4D array with the dimension space (x,y,z) and time.
The 4D array in the example file has no time dimension. I have fixed this problem for
the next CDO release. Then this array will be skipped and can't be process with CDO.

Cheers,
Uwe

    (1-3/3)