Question regarding "delta"

This section covers the Meteobridge PRO, PRO2, NANO SD, Raspberry Pi and VM platforms exclusively

Moderator: Mattk

Post Reply
RoostWeather
Junior Boarder
Junior Boarder
Posts: 37
Joined: Sat Dec 16, 2023 7:22 pm

Question regarding "delta"

Post by RoostWeather »

Hello,

I've been using delta with mixed success in an SQL event - but I've noticed that when the meteobridge pro is rebooted, it loses the ability to calculate delta values using data that was logged before the reboot. So for example, to get it to enter a delta1h value into an SQL query, one has to wait 60 minutes post reboot, for values to start appearing again.

Is this expected behaviour?

Merry Christmas!
Mattk
Platinum Boarder
Platinum Boarder
Posts: 1387
Joined: Mon Sep 22, 2014 3:24 am

Re: Question regarding "delta"

Post by Mattk »

My guess would be delta as would many of the other similar functions are requiring past data to be in memory?
RoostWeather
Junior Boarder
Junior Boarder
Posts: 37
Joined: Sat Dec 16, 2023 7:22 pm

Re: Question regarding "delta"

Post by RoostWeather »

That does appear to be how it is functioning.

Thanks!
Merry Christmas
RoostWeather
Junior Boarder
Junior Boarder
Posts: 37
Joined: Sat Dec 16, 2023 7:22 pm

Re: Question regarding "delta"

Post by RoostWeather »

I did just now find an option under:

Database -> Time Resolution

which gives options of "no persistent storage" or "persistent storage of mapped data only" etc... I can't find any reference to this on the meteobridge website but would I be correct in thinking that these options might allow data to be stored in the database rather than just in memory, and so delta would work post reboot?

I will give it a shot but would be interesting to know exactly what this option does, particularly if I'm completely wrong haha.

Thanks.
Post Reply