Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 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.1 (build 4023) - 16 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
Alternative Monthly Extremes using <#webtag>s
Moderator: daj
-
- Posts: 1183
- Joined: Fri 27 Jul 2012 11:29 am
- Weather Station: Chas O, Maplin N96FY, N25FR
- Operating System: rPi 3B+ with Buster (full)
Re: Alternative Monthly Extremes using <#webtag>s
Deleted as obsolete
Last edited by sfws on Mon 03 Aug 2015 3:16 pm, edited 2 times in total.
-
- Posts: 1183
- Joined: Fri 27 Jul 2012 11:29 am
- Weather Station: Chas O, Maplin N96FY, N25FR
- Operating System: rPi 3B+ with Buster (full)
Re: Alternative Monthly Extremes using <#webtag>s
Deleted as obsolete
Last edited by sfws on Mon 03 Aug 2015 3:16 pm, edited 2 times in total.
- JennyLeez
- Posts: 316
- Joined: Wed 16 Dec 2009 2:32 am
- Weather Station: La Crosse WS3083
- Operating System: Windows XP, Win7 & Win 10
- Location: Wairoa, Hawkes Bay. New Zealand.
- Contact:
Re: Alternative Monthly Extremes using <#webtag>s
I have installed the table script of this 'Alternative Monthly Extremes' Script and just want to say thanks.
As opposed to the list page the table page displays the month extremes at a glance. I like that.
I found this while reading through older posts, so thought I would bump it up plus thank beteljuice for yet another neat script.
Here is my page:
http://wairoa.net/weather/extremes_table.htm
Cheers
As opposed to the list page the table page displays the month extremes at a glance. I like that.
I found this while reading through older posts, so thought I would bump it up plus thank beteljuice for yet another neat script.
Here is my page:
http://wairoa.net/weather/extremes_table.htm
Cheers
Wairoa, Hawkes Bay, New Zealand Weather Station:
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
http://wairoa.net/weather/index.htm
Cumulus Topsites:
http://cumulussites.net/
-
- Posts: 1831
- Joined: Sat 17 Dec 2011 11:55 am
- Weather Station: Davis Vantage Pro2
- Operating System: Windows 11 x64
- Location: Dorset - UK
- Contact:
Re: Alternative Monthly Extremes using <#webtag>s
I've only just spotted this, and fancied giving it a try (was expecting a few small bugs as i'm using CMX) But it isn't looking anything like anyone elses that have been posted..
http://www.warehamwx.co.uk/cumulus/mont ... d_test.htm
http://www.warehamwx.co.uk/cumulus/mont ... d_test.htm
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Alternative Monthly Extremes using <#webtag>s
Ah .... anything using <#webtags> involving month / date formating needs rewriting for CMx - I don't know if anyone has done this particular script ? .....
......................Imagine, what you will KNOW tomorrow !
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
trial - CMx version ...
Could someone running MX please see if this parses / checks out alright ...
You do not have the required permissions to view the files attached to this post.
......................Imagine, what you will KNOW tomorrow !
- PaulMy
- Posts: 3875
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Alternative Monthly Extremes using <#webtag>s
Hi,
Have a look here http://www.komokaweather.com/cumulusmx/ ... rd_mx.html
Some issues
Have been using this version of CMX since December.
Enjoy,
Paul
Have a look here http://www.komokaweather.com/cumulusmx/ ... rd_mx.html
Some issues
Have been using this version of CMX since December.
Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Alternative Monthly Extremes using <#webtag>s
Thanks Paul .... everythings broke, I forgot how unforgiving all this formatting was the first time around !
Edit:
Perhaps Mark knows something ? - the unknown months seem to have default data values at least.
... there is also a syntax problem which stops 'table' style js arrays being correctly populated so breaks nearly everything else
Edit:
I think that's one of the problems - re. Month naming. It correctly picks up data in 'list' style for those two months, but doesn't know the names of the months you haven't recorded for yet - seems odd.Have been using this version of CMX since December.
Perhaps Mark knows something ? - the unknown months seem to have default data values at least.
... there is also a syntax problem which stops 'table' style js arrays being correctly populated so breaks nearly everything else
......................Imagine, what you will KNOW tomorrow !
- mcrossley
- Posts: 12903
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Alternative Monthly Extremes using <#webtag>s
Hi beteljuice, I haven't had a chance to look it it, but perhaps a hint... The date format codes for web tags are different in MX and C1, in particular the old C1 month code equates to minutes in CMX.
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Alternative Monthly Extremes using <#webtag>s
Hi Mark;
Should be correct - syntax problem works in one place but not another. Continuing to investigate ...
The 'interesting' one is:For a month with data returns month name correctly.
In Pauls case (Only has last Dec and this Jan) mon = 2 > mon = 11 returns "Dec" / "December" - the actual data values appear to be 'out-of-range' defaults.
Should be correct - syntax problem works in one place but not another. Continuing to investigate ...
Code: Select all
example 1; Does work - <#ByMonthTempHT mon=1 format="'day' dd, yyyy 'at' HH:MM">
example 2; should work but fails - <#ByMonthTempHT mon=1 format="'Day <b>'dd'</b>, Year <b>'yyyy'</b> @ <b>'HH:MM'</b>'">
Code: Select all
<#ByMonthTempHT mon=2 format=MMM> (or MMMM)
In Pauls case (Only has last Dec and this Jan) mon = 2 > mon = 11 returns "Dec" / "December" - the actual data values appear to be 'out-of-range' defaults.
......................Imagine, what you will KNOW tomorrow !
- mcrossley
- Posts: 12903
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Alternative Monthly Extremes using <#webtag>s
Cumulus cannot cope with the "<>" characters within the format string.
As a workaround I use constructs like this...
As a workaround I use constructs like this...
Code: Select all
Day <b><#ByMonthTempHT mon=1 format="dd"></b>, Year <b><#ByMonthTempHT mon=1 format="yyyy"></b> @ <b><#ByMonthTempHT mon=1 format="HH:MM"></b>
Last edited by mcrossley on Fri 04 Jan 2019 4:26 pm, edited 1 time in total.
- mcrossley
- Posts: 12903
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Alternative Monthly Extremes using <#webtag>s
And the tag returning November for Paul...
is a bug, MX initialises all the monthly records to the date it was first launched.
Code: Select all
<#ByMonthTempHT mon=2 format=MMM>
- PaulMy
- Posts: 3875
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: Alternative Monthly Extremes using <#webtag>s
I can copy in previous monthly log files MmmYYlog.txt from Cumulus 1 into my MX if that is helpful for testing.
Enjoy,
Paul
Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
-
- Posts: 1256
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: Alternative Monthly Extremes using <#webtag>s
Is there a particular reason for not using the records.js file that CumulusMX uploads as part of the default uploads it makes?
I have a php script producing the output which uses the records.js file. I am not sure of the original source of the file but it appears to be the CumulusMX interface with a different .css to suit each template.
The Cumulus website php file is 11kb in size and the records.js file is 18kb in size.
Our
https://silveracorn.nz/weather/wxrecords.php
https://silveracorn.nz/cumulus/records.php
https://silveracorn.nz/cumulusmx/records.php
sites all use the same records.js data file and the php files are very similar just being tweaked to suit the different templates.
The php files are only copied to the webserver once and the records.js file is automatically being uploaded by MX (even if you don't use it.)
I have a php script producing the output which uses the records.js file. I am not sure of the original source of the file but it appears to be the CumulusMX interface with a different .css to suit each template.
The Cumulus website php file is 11kb in size and the records.js file is 18kb in size.
Our
https://silveracorn.nz/weather/wxrecords.php
https://silveracorn.nz/cumulus/records.php
https://silveracorn.nz/cumulusmx/records.php
sites all use the same records.js data file and the php files are very similar just being tweaked to suit the different templates.
The php files are only copied to the webserver once and the records.js file is automatically being uploaded by MX (even if you don't use it.)
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Alternative Monthly Extremes using <#webtag>s
I have no idea what that would do or if they are compatible, with the cmx 'bug' you would need at least one data entry in all months (year doesn't matter) - better check with Mark.PaulMy wrote:Fri 04 Jan 2019 2:35 pm ....
If it is beneficial I can add in CumulusMX data folder some previous monthly data files from CU1 such as xx18log.txt
Marks post proves I was looking at the right thing, one more attempt at an easy work-around, else one other possibility or thousands of extra characters in the coding
@Mark - So CMX <#ByMonth.... is problematic if the user hasn't been running for a year ?
Thw work-around rather defeats 'format' and as stated above would add thousands of extra characters in the coding, may be easier to forget 'bold'.
records.js data ....
The beteljuice has no knowledge of what comes out-of-the-box with CMX, why haven't I heard of this, or someone utilising it before ????
Edit:
Does records.js share the same problems as cmx <#webtags> ? ie. what values are given for months that don't have data yet ?
......................Imagine, what you will KNOW tomorrow !