Page 1 of 1

Question regarding "delta"

Posted: Mon Dec 25, 2023 1:46 am
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!

Re: Question regarding "delta"

Posted: Mon Dec 25, 2023 3:33 am
by Mattk
My guess would be delta as would many of the other similar functions are requiring past data to be in memory?

Re: Question regarding "delta"

Posted: Mon Dec 25, 2023 1:59 pm
by RoostWeather
That does appear to be how it is functioning.

Thanks!
Merry Christmas

Re: Question regarding "delta"

Posted: Tue Dec 26, 2023 12:29 pm
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.