First of all, I suspect you are using a database with a unit system of METRIC, which measures in centimeters (not millimeters).
As for the difference between 25.654 and 25.8, there can be several explanations. Here's one example: say you are using a 5 minute archive interval. For WeeWX, the first archive interval of the day is timestamped 0005. It measures the rain that fell between 0000 and 0005. However, many weather services include the measurement timestamped 0000. To get any more specific, we would need more information, such as exactly what unit system you are using, and how the Netatmo app is calculating daily rainfall. -tk On Wed, Aug 29, 2018 at 2:23 PM Valley <[email protected]> wrote: > I use weewx with a Netatmo rain gauge. It works well but I cannot figure > out how the total amount of daily rain is calculated. > > Since Python is too hard for me to learn, I use php coding to query the > database. > > The other day we got 25.8 mm of rain. A figure reported by my Netatmo app > on the iPhone and on the Netatmo web page. Also very close to what I could > read on an old fashioned measuring glass in the garden. So the figure 25.8 > mm is definitely ok. > > The graph in weewx also shows 25.8 (hard to read exactly, but somewhere > between 25 and 26) (see image). Now: If I look at the > table archive_day_rain for that specific day it says sum=2.5654 (also > wsum=2.5654). How is 2.5654 becoming 25.8? Difference between sum and wsum? > > I also queried the archive table with sum(rain) for all records for that > date. As a result I got 2.5654, the same as in the sum column in table > archive_day_rain. > > So the question is: How is the original data from Netatmo actually stored, > and how is it that the graph shows me the correct amount? > > Very puzzling for me! > > /Valley > > Here is a picture of the graph > > [image: raingraph.png] > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
