addcomments

This program adds comments attributes to NetCDF files. If comments are already present, they are appended.

addcomments options file1.nc [file2.nc ...]

Options

-global s
Add a global comments attribute to each file containing the string s.
-var v s
Add a comments attribute to the variable v in each each file, containing the string s.
-nohistory
Do not update the history attribute to indicate that comments have been added.
-user s
If the history attribute is to be updated, report in it the person who added the comments as being s (e.g. Fred Bloggs <fred@bloggs.com>) rather than just using their Unix username.