⇐ ⇒

[CF-metadata] Jonathan Gregory: chlorophyll units

From: Steve Emmerson <steve>
Date: Tue, 24 Mar 2009 10:50:04 -0600

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
Received on Tue Mar 24 2009 - 10:50:04 GMT

This archive was generated by hypermail 2.3.0 : Tue Sep 13 2022 - 23:02:41 BST

⇐ ⇒