comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: netCDF/CF conventions
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: netCDF/CF conventions [message #52423 is a reply to message #52410] Thu, 01 February 2007 07:44 Go to previous messageGo to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
jutta.holst@meteo.uni-freiburg.de wrote:
> Hello,
> I am trying to convert ascii data into netCDF files using the
> climate&forecast conventions.
>
> Unfortunately, it does not really work as the CF-checker allways gives
> the warning:
> 'no standard_name or long_name atrributes'.
>
> Does anyone have an idea what I am doing wrong (code is given below)?

Yes. You are not writing variables attributes with the names "standard_name" and
"long_name". "longname" /= "long_name" and there is nothing that comes close to
"standard_name" in your variable attributes.

BTW, you might want to "object-ify" the code a little bit to minimise the cut-n-paste
programming. Makes it easier to find bugs and you won;t have to do a NCDF_ATTPUT for
"long_name" (and others) more than once.

cheers,

paulv

[code snipped]

--
Paul van Delst Ride lots.
CIMSS @ NOAA/NCEP/EMC Eddy Merckx
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: HDF4 dimension attributes in IDL
Next Topic: Re: HDF4 dimension attributes in IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 13:37:41 PDT 2025

Total time taken to generate the page: 0.56556 seconds