NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Ethan, > Does anyone know what the behavior is supposed to be when you pass a 0 length > to NF_PUT_ATT_TEXT? Yes, the attribute is supposed to be created with 0 length and will be stored in the file that way. You should be able to later inquire about the existence and length of such an attribute and its length should be returned as zero. The CDL notation, however, cannot distinguish between a string attribute that has zero length and a string attribute that contains only a single null byte. So ncdump will display the value as "" in either case. --Russ
netcdfgroup
archives: