Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

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

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.


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690