Hello Nan,
> >There is no interaction with the syntax of
> >the processing language, surely?
>
> I checked to see if the Matlab NetCDF built-in routines would
> allow attributes with dots in them, and they do; both global
> and variable level atts can contain 'cf.'.
>
> My code, though, has to be able to write files for a wide variety
> of observation types, so the attributes, like the variables, are
> fields in a Matlab structure; and Matlab uses the '.' for field access
> in structures. I can say wnde.standard_name = 'eastward_wind'
> but wnde.cf.standard_name would mean something different.
Sorry - I've been half asleep. I see your point about the dot
delimiter. It's also an annoyance in python.
All the best,
David
--
David Hassell
National Centre for Atmospheric Science (NCAS)
Department of Meteorology, University of Reading,
Earley Gate, PO Box 243,
Reading RG6 6BB, U.K.
Tel : 0118 3785613
Fax : 0118 3788316
E-mail: d.c.hassell at reading.ac.uk
Received on Thu Jan 31 2013 - 01:30:42 GMT