Hi Ben:
Dimensions cannot have attributes.
Probably the best workaround is to add the desired attributes to a
coordinate variable. A coordinate variable has the same name as its
dimension, eg:
dimensions:
lat = 44;
variables:
float lat(lat);
lat:cat = "in the hat";
>
> 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.