This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
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