Max rainfall intensity

Post Reply
Saszalez
Observer
Observer
Posts: 17
Joined: Thu Feb 24, 2022 1:51 pm
Station model: Davis Vantage Pro 2
Software: WeatherLink

Max rainfall intensity

Post by Saszalez » Mon Mar 28, 2022 11:33 am

Hello. It hardly ever rains where I live; therefore, on these two days of rain, I looked at a detail of the intensity of the precipitation. CRON is executed every minute and collects the intensity of rainfall present at the exact moment. As this value varies a lot throughout 1 minute, it is practically impossible to collect the maximum precipitation intensity. I put an example. Yesterday it rained at a maximum intensity of 5.1 mm/h, as observed in the "stationData" block. If I check that data in the WeatherLink API, the maximum intensity is 9.6 mm/h. Today the difference is even more significant. According to the template, there is a maximum intensity of 17.6 mm/h, and according to the actual data from the station, it was 45.8 mm/h. I understand that it will be challenging to obtain this data from the database since it will only collect the intensity of the moment in which CRON is executed, but is there any option that the maximum precipitation data collected by the station is recorded somehow to have the complete statistics?
Attachments
Captura de pantalla 2022-03-28 a las 12.28.41.png
Captura de pantalla 2022-03-28 a las 12.28.41.png (114.6 KiB) Viewed 963 times
Captura de pantalla 2022-03-28 a las 12.27.51.png
Captura de pantalla 2022-03-28 a las 12.27.51.png (16.31 KiB) Viewed 963 times
Image

Saszalez
Observer
Observer
Posts: 17
Joined: Thu Feb 24, 2022 1:51 pm
Station model: Davis Vantage Pro 2
Software: WeatherLink

Re: Max rainfall intensity

Post by Saszalez » Thu Mar 31, 2022 1:58 pm

Would it be possible to change the code of the block so that the maximum intensity does not look up in the database and gets from the WeatherLink API?
Image

davidefa
Expert
Expert
Posts: 862
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: Max rainfall intensity

Post by davidefa » Thu Mar 31, 2022 5:18 pm

Yes, but only for the 'today' option the others have to be retrieved/calculated via database.
If it is ok for you I can add an option.

stationData01.png
stationData01.png (915.76 KiB) Viewed 939 times
Image

Saszalez
Observer
Observer
Posts: 17
Joined: Thu Feb 24, 2022 1:51 pm
Station model: Davis Vantage Pro 2
Software: WeatherLink

Re: Max rainfall intensity

Post by Saszalez » Thu Apr 07, 2022 9:07 am

Well, if you can add the option, that would be great. Nothing would happen with the rest of the options since the most interesting history only shows the accumulated precipitation and not the intensity.
Image

Post Reply