Change Long Name (not the longname-attribute) of a variable
Added by Marvin Heidkamp about 9 years ago
Hello CDO-Support-Team,
I do know that CDO is designed to handle data variables and is not meant to be a complete replacement of nco tools. So I set the longname attribute of a variable (e.g. precipitation) with ncatted:
ncatted -a longname,precip,o,c,"precipitation" precip.nc
Now, I can see the modification with ncdump -h
But my problem is that the Long Name is not displayed neither using ncview nor using panoply (like you can see in the following images)
Is there a way to adapt not only the attribute longname but also the Long Name itself when displaying it with the above mentioned programs?
Thank you in advance!
Sincere regards,
Marvin
ncdump.png (81.9 KB) ncdump.png | |||
ncview.png (25.2 KB) ncview.png | |||
panoply.png (35.7 KB) panoply.png |
Replies (2)
RE: Change Long Name (not the longname-attribute) of a variable - Added by Ralf Mueller about 9 years ago
The CF-Convention standardize the attribute standard_name
: http://cfconventions.org/faq.html#stdnames_official
And according to CF the longname attribute should be used as long_name
instead.
RE: Change Long Name (not the longname-attribute) of a variable - Added by Marvin Heidkamp about 9 years ago
Hello Ralf,
Thanks a lot!