[CF-metadata] Jonathan Gregory: chlorophyll units
Steve Emmerson
steve at unidata.ucar.edu
Tue Mar 24 10:50:04 MDT 2009
Dear CF-er,
> Jonathan Gregory <j.m.gregory at reading.ac.uk>, wrote
> I think the problem is that udunits thinks g is a unit of acceleration!
> However, it will accept gram and milligram, so you could try that instead.
That's correct. Having the symbol "g" be an alias for standard free
fall was a mistake and is corrected in the UDUNITS-2 package (which now
has a UDUNITS-1 C API for backward compatibility).
If you prefer to continue using the UDUNITS package, then the following
edits to the units database file, etc/udunits.dat, will correct the
situation:
Delete the entry
g S gravity # approx. should be `local'
Add the entry
g S gram
after the entry for "gram".
Regards,
Steve Emmerson
UDUNITS developer
More information about the CF-metadata
mailing list