Hello,
On my web page I have successfully exhibited the end point values of the current day's temperature range (example, 10.3°C to 12.8°C). That was easy enough to do by simply returning the min and max temps of the current day.
However, I would like to be able to do the same with both the yearly and all time daily High/low temperature ranges. Unfortunately, I have been unsuccessful in all my attempts and have reached the end of my tether.
So I am hoping that somebody has already found an answer to this and is willing to help out.
Any help is greatly appreciated.
Thanks in advance, Alan
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.0 (build 4022) - 11 May 2024
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
Latest Cumulus MX V4 release 4.0.0 (build 4022) - 11 May 2024
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
High/Low daily temperature range
Moderator: daj
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: High/Low daily temperature range
The web tags are for the all-time values are <#HighDailyTempRange> and <#LowDailyTempRange>
If by 'yearly', you mean this year's, the web tags are <#YearHighDailyTempRange> and <#YearLowDailyTempRange>
If you mean that you want to display each year's high and low, Cumulus doesn't supply that figure directly, so you would have to devise some method of saving or extracting the values, e.g. by using an SQL database, or by reading a copy of dayfile.txt. Is that what you're trying to do?
If by 'yearly', you mean this year's, the web tags are <#YearHighDailyTempRange> and <#YearLowDailyTempRange>
If you mean that you want to display each year's high and low, Cumulus doesn't supply that figure directly, so you would have to devise some method of saving or extracting the values, e.g. by using an SQL database, or by reading a copy of dayfile.txt. Is that what you're trying to do?
Steve
-
- Posts: 51
- Joined: Sun 14 Mar 2010 9:41 am
- Weather Station: WH1091
- Operating System: Win 7
- Location: Sydney
Re: High/Low daily temperature range
Thank you for your response.
In my original post I used the term 'yearly' because that is what is used in web tags list in wiki. But in reality of course I am referring to 'this year' as indeed is the wiki list.
So, I will try again and attempt to be more communicative.
In essence, all that I am seeking is a little bit more information as an addition to the returned value of High/Low Daily Temp Range for both 'this year' and 'all time'.
In other words, what I am trying to display is the upper and lower temperature readings that constitute the 'temperature range' for each of the following:
<#YearHighDailyTempRange> High Daily Temp Range ... (in here following on from the actual returned temp range and separate from, would be, as an example, '10.3°C to 12.8°C')
< #YearLowDailyTempRange> Low Daily Temp Range
<#LowDailyTempRange> All time low daily temperature range
<#HighDailyTempRange> All time High daily temperature range
As I said in the original post, achieving these upper and lower readings for the current day is very simple. However, for 'this year' and 'all time' is an entirely different matter.
I do hope that I have expressed myself in a clearer fashion this time round. Please bare with me on this one.
Alan
In my original post I used the term 'yearly' because that is what is used in web tags list in wiki. But in reality of course I am referring to 'this year' as indeed is the wiki list.
So, I will try again and attempt to be more communicative.
In essence, all that I am seeking is a little bit more information as an addition to the returned value of High/Low Daily Temp Range for both 'this year' and 'all time'.
In other words, what I am trying to display is the upper and lower temperature readings that constitute the 'temperature range' for each of the following:
<#YearHighDailyTempRange> High Daily Temp Range ... (in here following on from the actual returned temp range and separate from, would be, as an example, '10.3°C to 12.8°C')
< #YearLowDailyTempRange> Low Daily Temp Range
<#LowDailyTempRange> All time low daily temperature range
<#HighDailyTempRange> All time High daily temperature range
As I said in the original post, achieving these upper and lower readings for the current day is very simple. However, for 'this year' and 'all time' is an entirely different matter.
I do hope that I have expressed myself in a clearer fashion this time round. Please bare with me on this one.
Alan
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: High/Low daily temperature range
Right, I understand. Unfortunately, Cumulus does not separately store the two temperatures which constitute the high and low ranges (but I can now see that would be a useful addition), so you would need a mechanism for looking up the high and low values for the date in question, either by looking in dayfile.txt or (better) in a database containing the dayfile.txt values - but this is presumably not helpful to you as you already know this.
There is information in the wiki about putting dayfile.txt into a database, so this may be of some use to you. I can't really help any more than that, sorry. I'm about to go off for a few days, but hopefully someone else will be able to offer some useful help.
There is information in the wiki about putting dayfile.txt into a database, so this may be of some use to you. I can't really help any more than that, sorry. I'm about to go off for a few days, but hopefully someone else will be able to offer some useful help.
Steve