We are fixing the units in WRF data and I have a couple of questions and
would like to seek your advise.
1. Does CF understand unit named 'flag'? We use it for landmask 'unit'. Should we just leave it blank? Other similar ones are 'fraction' - values ranges from 0 to 1, and 'category' which we use for fields like soil types, and vegetation types.
no, none of those. for "unitless" quantities, use units=""
2. I see CF doesn't recognize unit MM, and changed it to 1.0E12. Does it understand lower case unit 'mm'?
yes mm works
3. Does CF understand 'W m-2' unit?
yes, thats ok. some people prefer using "." instead of space, eg W.m-2
it doesnt like mixing the blanks and dots " . " between two terms, but you can do any of these:
4. How about 'kg m-3 . kg kg-1'? These are variables multiplied together. But we don't really output them, so they may not matter much.
kg m-3 kg kg-1
kg m-3.kg kg-1
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.