mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-27 08:49:16 +08:00
88a7a1753c
re: https://github.com/Unidata/netcdf-c/issues/1352 When nc4info.c encounters an _NCProperties attribute with a version number it does not recognize, it does not show it correctly. Solution chosen is to arrange so that accessing the attribute returns the raw value of the Attribute from the file. This way, even if the version is unrecognized, it will return something usable. The changes were primarily to never attempt to parse the value of _NCProperties until actually required. Which since they are currently not used means that parsing never occurs. Also modified ncdump/tst_fileinfo.sh to include some extra testing I tested the original failure by changing the value of NCPROPS to 3. However, there is no way to test this at build time. Misc. Changes * Inlined the provenance info in the NC_FILE_INFO_T structure * Centralized stuff from elsewhere into include/nc_provenance.h Misc. Unrelated Changes * Removed/turned off some misc debug output left on by accident * Fix CPPFLAGS name error in libhdf5/Makefile.am
1.2 KiB
1.2 KiB