This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Bennett, > To: "'address@hidden'" <address@hidden> > From: "Bennett, David A" <address@hidden> > Subject: f90 netcdf > Organization: UCAR/Unidata > Keywords: 200006221445.e5MEjST21063 In the above message, you wrote: > I was wondering if someone could give me a hint on the syntax for creating > comments in a NetCDF file that would be visible when ncdump is invoked? > If I have overlooked this information in the documentation, please let me > know. > > Thanks... > > Dave > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > David A. Bennett mailto:address@hidden > > Meteorologist > Center for Remote Environmental Sensing Technology > Lockheed Martin Space Systems > Remote Sensing and Space Science Operations > Sunnyvale, CA > > voice: 408-756-2335 fax: 408-743-1795 The obvious way to do this would be to put the commentary into a global attribute -- in CDL format, something like the following: netcdf { ... variables: :commentary = "This is a two-line comment on the contents of this netCDF dataset, which is contained in a global variable."; ... } Regards, Steve Emmerson <http://www.unidata.ucar.edu>