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.
has me stumped.My Fortran program has an input namelist (usually less than 100 lines) that I would
like to insert into a netCDF file as a global attribute. Any ideas? At the risk of steering the discussion ...The NetCDF Fortran 90 Interface Guide has a statement in Section 5.2 "Attribute Conventions":
historyA global attribute for an audit trail. This is a character array with a line for each invocation of a program that has modified the dataset. Well-behaved generic netCDF applications should append a line containing: date, time of day, user name, program name and command arguments.
the key word being 'append' ...Any ideas (short of "NF90_GET_ATT, NF90_DEL_ATT, [append], NF90_PUT_ATT" for each line in the file)
would be appreciated. Tim Hoar, Associate Scientist National Center for Atmospheric Research thoar@xxxxxxxx 303 497 1708
netcdfgroup
archives: