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

[netCDF #QLD-285503]: Two netCDF v4.0 Questions



 Hi Tony,

The answer to question 1 is that it's a bug with a one-line fix that
in the netCDF-4.0.1-beta1 release.  The fix just inserts

  #include <config.h>

before line 7 of genlib.c

  #include <stdio.h>

Since genlib.c didn't include <config.h>, it didn't get the definition
of the USE_NETCDF4 macro, so the gen_c() function in that file ignored
it.

I haven't seen the failures in the large file tests that you note in
question 2.  Could you try building with the netCDF-4.0.1-beta1
snapshot and see if it fixes those errors?

By the way, the 4.0.1-beta1 release also includes an alpha test version of
ncgen4 that understands the new CDL output by ncdump for netCDF-4 features.
If you want to build it and try it, you need to supply the --enable-ncgen4
flag to configure when you build it.

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: QLD-285503
Department: Support netCDF
Priority: Normal
Status: Closed