Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
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: