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.
Harvey, I just tried the attribute changing program on netCDF 3.1a, both without and with the unnecessary ncredef()/ncendef() pair surrounding the ncattput() call. The file was not copied in either case. So it appears that this unreported bug in netCDF 2.4 is fixed in netCDF 3. --Russ