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.
Hi Ben, > Sorry if this is an FAQ, but can netcdf dimensions > have attributes? I'm mainly interested in annotating > my dimensions, so a text attribute would be useful. > > I've tried nf_put_att_text with the id of the dimension, > but it complains that it can't find the variable. No, sorry, netcdf dimensions can't have attributes, though an associated coordinate variable with the same name can have attributes. --Russ