[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDFPerl #JMN-162963]: CLM netcdf error



Cory,

> Thanks for your reply.  I noticed while reading the known bugs
> (http://www.unidata.ucar.edu/software/netcdf/docs/known_problems.html)
> that earlier versions of netcdf report this error if data values = 0 (I
> just noticed that our netcdf version on our unix machine is v 2.105).

Wow!  You have an old version of the netCDF package.

> --------------------------------------------
> Specifying a count length of zero returns an error instead of no data
> 
> For access to array sections, strided access, or mapped access, you need
> to specify both a start index vector and a count vector, where the count
> vector specifies the number of slices along each edge to access. If the
> start index vector specifies the maximum dimension size and the
> corresponding count vector is zero, the library should just return no
> data, but instead it returns an error status indicating "Index exceeds
> dimension bound". This problem has been present in all versions of
> netCDF, and the test programs even verify that in this case an error is
> returned rather than gracefully accessing no data.
> 
> This will be fixed in the next minor version.
> --------------------------------------------
> 
> Is there any chance that this might be causing my error?

That bug could be the cause of the problem.  Without knowing the
exact values that are being passed to the netCDF library, it's
impossible to say definitively.

Can you try using the CLM package with version 3 of the netCDF
package?

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: JMN-162963
Department: Support netCDF Perl
Priority: Normal
Status: Closed