spatialmodel / inmap

InMAP reduced-form air quality model for fine particulate matter (PM2.5)
GNU General Public License v3.0
59 stars 41 forks source link

io: Fix implementation of log10 output function #112

Closed navravi closed 1 year ago

navravi commented 1 year ago

Currently, log10 uses math.Log(), which applies then natural logarithm instead of the base-10 logarithm. It should be using math.Log10().

Additionally, fix some typos in the error messages and documentation.

Please take a look.

coveralls commented 1 year ago

Coverage Status

Coverage: 68.959%. Remained the same when pulling 27d2e374c9153ade0deacc08cd6ac2791c379ae2 on navravi:patch-2 into 3b66072cce8227389b44bde37fde232a45f14c97 on spatialmodel:master.

ctessum commented 1 year ago

Thanks!