Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Trend Value Calculations
- mcrossley
- Posts: 14384
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Trend Value Calculations
I think Cumulus calculates trend values (temperature and pressure) by the difference between the value three hours ago and now, then dividing by three to obtain a rate per hour? Is this the meteo 'standard' for this calculation? It would seem that as we have lots of intermediate data that a least-squares fit may be more representative, but I guess historically the data points would be few and far between hence the simple approach.
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Trend Value Calculations
The standard (in the UK at least) is the change over the last three hours, yes. I can't find anything specific about how it should be calculated, but as historically this has been done manually, you would assume the method is simply to take the difference between the figure now and that three hours ago.
If you were to calculate a genuine rate of change over the same period, then I agree you might want to do something a bit more sophisticated than that.
If you were to calculate a genuine rate of change over the same period, then I agree you might want to do something a bit more sophisticated than that.
Steve
- mcrossley
- Posts: 14384
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Trend Value Calculations
Thanks Steve, just thinking about analysing data in a database. Least-squares is probably the simplest of the more sophisticated solutions (still a straight line fit) though the current gradient of a polynomial fit would be more representative of what is actually happening. You begin to wish you'd paid more attention to statistics at school!
-
DaveNZ
- Posts: 373
- Joined: Mon 07 Dec 2009 10:27 pm
- Weather Station: Davis VP2
- Operating System: Windows 7 64-bit
- Location: Howick, Auckland, New Zealand
- Contact:
Re: Trend Value Calculations
Mark, what exactly are you trying to calculate? I can't imagine a low order polynomial would fit temperature data well except on days with a steady rise or decline.
I just use the temperature difference between now and 1 hour ago as the temp trend value on my website.
I just use the temperature difference between now and 1 hour ago as the temp trend value on my website.
- mcrossley
- Posts: 14384
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Trend Value Calculations
Just playing around with ideas. Quite often the tend figure is the opposite of what is happening as short term variations affect the simple calc.