Re: [CF-metadata] Units micro prefix "u" deprecated in udunits-2

2010-03-29 Thread Russ Rew
Jonathan, > Should we put a general convention in CF that text attributes can only > contain US ASCII characters? I think that would avoid some problems. However it would also appear to place a new restriction on variable (and dimension) names that is not currently in CF, namely that only US ASC

Re: [CF-metadata] Units micro prefix "u" deprecated in udunits-2

2010-03-29 Thread Jonathan Gregory
Dear all I agree with John that > spelling out the unit should be best practice but in real practice people will not always do this, and therefore we should provide CF versions of the udunits-2 xml files that define u as micro. We need to provide CF versions anyway to add some non-standard units,

Re: [CF-metadata] Units micro prefix "u" deprecated in udunits-2

2010-03-27 Thread john caron
Eizi TOYODA wrote: Hi all, Nobody here is trying to discourage the use of micro sign. What character encoding are you going to use? Micro sign (http://www.fileformat.info/info/unicode/char/00b5/index.htm) is single byte 0xB5 in Latin-1 (aka ISO-8859-1) but becomes double-byte 0xC2 0xB5 in UTF-8

Re: [CF-metadata] Units micro prefix "u" deprecated in udunits-2

2010-03-27 Thread Lowry, Roy K
On Behalf Of Eizi TOYODA [toy...@gfd-dennou.org] Sent: 27 March 2010 00:49 To: Andrew Clegg Cc: cf-metadata@cgd.ucar.edu; Julien Demaria Subject: Re: [CF-metadata] Units micro prefix "u" deprecated in udunits-2 Hi all, Nobody here is trying to discourage the use of micro sign. What charact

Re: [CF-metadata] Units micro prefix "u" deprecated in udunits-2

2010-03-26 Thread Eizi TOYODA
Hi all, Nobody here is trying to discourage the use of micro sign. What character encoding are you going to use? Micro sign (http://www.fileformat.info/info/unicode/char/00b5/index.htm) is single byte 0xB5 in Latin-1 (aka ISO-8859-1) but becomes double-byte 0xC2 0xB5 in UTF-8. There is also conf

Re: [CF-metadata] Units micro prefix "u" deprecated in udunits-2

2010-03-26 Thread Steven Emmerson
Karl, As a scientist, you should use "pascal". I note that one microatmosphere is about one tenth of one pascal. "microatm" mixes a word (micro) with a symbol (atm). In general, this is not a good idea. The official guidelines from the NIST recommend against it, for example, and so do I (

Re: [CF-metadata] Units micro prefix "u" deprecated in udunits-2

2010-03-26 Thread Steven Emmerson
Hi, Just to let you know, I've added "u" to the UDUNITS-2 prefix database as a symbol for "micro" to make UDUNITS-2 more backward-compatible with UDUNITS (alias UDUNITS-1). This addition will be in the next release. It's still a good idea, however, to use unit names (which are case insensit

Re: [CF-metadata] Units micro prefix "u" deprecated in udunits-2

2010-03-26 Thread Andrew Clegg
Hi Karl, udunits 1 and 2 both recognise 'microatm' as '0.101325 m⁻¹·kg·s⁻²'. You may be better off using 'microatmospheres', to be consistent between using abbreviations and full names. ('microatmospheres' is recognised by both udunits 1 & 2). Again, this is the sort of thing that it would be

Re: [CF-metadata] Units micro prefix "u" deprecated in udunits-2

2010-03-26 Thread Karl Taylor
Hi all, Should I use microatm instead of uatm for a pressure unit in the CMIP5 requested output list? Apparently this is the preferred unit for partial pressure of CO2 in seawater. Will the latest versions of udunits recognize it? thanks for any guidance, Karl On 26-Mar-10 8:52 AM, Andrew

Re: [CF-metadata] Units micro prefix "u" deprecated in udunits-2

2010-03-26 Thread Andrew Clegg
Hi Julien, I'm glad you brought this up. We had a discussion about this recently (look for any threads with 'udunits 1 or 2 for CF' in the title): http://mailman.cgd.ucar.edu/pipermail/cf-metadata/2010/thread.html The best solution (in my opinion) was to use expanded names rather than shor

[CF-metadata] Units micro prefix "u" deprecated in udunits-2

2010-03-26 Thread Julien Demaria
Hi, I found the "u" micro prefix abbreviation in the current CF-1.4 documentation on units: http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.4/cf-conventions.html#units but it seems this prefix is not available in the last udunits-2 (udunits-1 is now deprecated) and in udunits-2 they bre