Hi !
I have a situation where I'm not sure about weewx behavior and how to deal with it :-).
I have made my own rain sensors: It reports rain every 2min30 and reports 0mm when there's no rain.
Rainrate calculation is not done and not emitted by the sensor: Weewx has to handle it.
Now come a situation: My sensor crashed yesterday and did not reported anything over the night (it was raining).
I rebooted it a few minutes ago, without power cycle, so I don't loose the rain counter of the night => the sensor sent 21.8mm from the whole night in one shot.
I would expect that the rainrate shall not be calculated...or maybe shall be calculate with a time span between last and previous sample (yesterday before it crashed).
it seems not working this way as weewx reported:
- 34.9mm/h at next report following the 21.8mm record.
- 87.2mm/h the following report 5min later.
I assume maybe weewx consider "not rain data" = "0 mm of rain" ?
I have a couple of questions:
- Is this behavior expected or maybe it's something that could be improved ?
- Can I delete those rainrate sample from database ?
of course my daily rain graph is a bit weird, but I want to keep the 21.8mm (so monthly or yearly records are ok), but I don't want to have my yearly/alltime max rainrate using this wrong data.
best regards,