rain rate calculation

60 views
Skip to first unread message

ste...@banfi-gaslini.it

unread,
Sep 6, 2024, 10:20:06 AM9/6/24
to weewx-user
Hi, 
due to a problem on the wmr300 (total rain counter which has reached the maximum limit), weewx ( vers 4.8.0 with  (rainRate = prefer_hardware under [StdWXCalculate]  ) no longer indicated the accumulated rain for a couple of days but only the rain rate.

In the database, in the archive table, at a certain point an accumulated rainfall of over 160mm was recorded, in a range of  5 minutes,  while the rain rate was only 10mm/h, after this only the rain rate data were recorded, until i reset the counter on ste station.

Can I calculate  the rain data by working backwards from the rain rate?  
so that we can recover, at least daily, the mm of rain that has fallen?

for example correct data
time stamp       rain inch                              rain rate inch/h               
1725410400    0,0                                 0,0
1725410700    0,0100000000000321 0,0
1725411000   0,0199999999999926 0,109777777665804
1725411300   0,0499999999999456 0,473333332850533
1725411600   0,0100000000000321 0,462666666194745
1725411900   0,0100000000000321 0,181444444259371
1725412200   0,00999999999996047 0,127888888758442
1725412500   0,0                                         0,101666666562967
1725412800   0,0100000000000321 0,0730555554810386
1725413100   0,00999999999996047 0,0779444443649408
1725413400   0,0                                         0,0979999999000398
1725413700   0,0                                         0,0702222221505953
1725414000   0,0199999999999926 0,0599999999387998
1725414300   0,0                                         0,068388888819132
1725414600   0,0100000000000321 0,0935195529772356
1725414900   0,0                                  0,0899999999081999
1725415200   0,0                                  0,0644999999342098

wrong data
time stamp       rain inch                              rain rate inch/h         
1725490800    0,0 0,0
1725491100    0,0300000000000246 0,0318888888563622
1725491400    6,41999999999997        0,408715083381993
1725491700    0,0                                0,577333332744454
1725492000    0,0                                0,237444444202251
1725492300    0,0                                0,290555555259189
1725492600    0,0                                0,353555555194929
1725492900    0,0                                0,132666666531347
1725493200    0,0                                0,0834444443593309
1725493500    0,0                                0,0377777777392444
1725493800    0,0                               0,0
1725494100    0,0                               0,0

thks!
best regards!!!!!

Stefano
Reply all
Reply to author
Forward
0 new messages