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

Re: The significance of trailing blanks in attributes...

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.


  • Subject: Re: The significance of trailing blanks in attributes...
  • Date: Wed, 09 Nov 2005 09:25:42 -0700

Roland Schweitzer wrote:


It seems what is needed is an official way to set the size (larger than the minimum needed for the info already there) of the netCDF header so that there is room to add attributes to extremely large files without re-writing the entire file.

Roland

you can do that in the C library, see the minfree parameter in nc__enddef :

http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-c/nc_005f_005fenddef.html

If anyone needs it in the java library, I can add.