Matt, > From: "Matt D'Ortenzio" <address@hidden> > Subject: attribute limit length? > Organization: NASA Ames Research Center > Keywords: 199911022333.QAA29395 netCDF In the above message, you wrote: > I was wondering if there is any limit to the length of a string attribute. I believe that a string attribute cannot be larger that the maximum value of a "size_t". > I believe the documentation says there isn't, but do you know of any > problems that might occur when the attribute length gets too long? (besides > memory restrictions when extracting them). Thanks so much. Because string attributes are read into Fortran character variables -- and such variables may have a limit imposed on them by the Fortran compiler (e.g. 256 bytes) -- it might not be possible for a Fortran program to read lengthy string attributes. Check your Fortran compiler to be sure. > -Matt D'Ortenzio > -------------------------</*\>-------------------- > ------------------------------ > Matt D'Ortenzio > Computational Sciences Division > NASA Ames Research Center > Building N269 Rm. 271 > ------ > (650) 604-4085 > address@hidden -------- Steve Emmerson <http://www.unidata.ucar.edu>