Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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 V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
beteljuice AJAX testers wanted
Moderator: daj
- 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: beteljuice AJAX testers wanted
Ooops ...
Remember right at the start I said I lost everything on my ex-PC ?
For those using the HUGE graphic, barometer 'needles' > 1030 are MISSING !
I shall remedy that on the 'release'.
See - that's the trouble with 'EXTRAS'
Remember right at the start I said I lost everything on my ex-PC ?
For those using the HUGE graphic, barometer 'needles' > 1030 are MISSING !
I shall remedy that on the 'release'.
See - that's the trouble with 'EXTRAS'
......................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
Undocumented 'Fix'
Undocumented 'Fix'
I've noticed that some of you are starting to have a problem with Initial data grab seeming to fail, and having to wait until the next check.
This is a formatting / page download conflict, and is usually caused by an external css style sheet. (These are always the last 'includes' to load in a HTML page)
If you have this problem:
In betel_cumulus_ajax.js change this line as below:
Then in ALL the html files that use it, ADD to the <body> tag, or add the line shown immediately above / below the existing <body> tag:
Careful with the different quotes and brackets, and don't forget to change PATH_TO
This may make the initial data slower to appear (because it's [almost] the last thing done), but that's better than NO data for whatever your 'grab' interval is !
I've noticed that some of you are starting to have a problem with Initial data grab seeming to fail, and having to wait until the next check.
This is a formatting / page download conflict, and is usually caused by an external css style sheet. (These are always the last 'includes' to load in a HTML page)
If you have this problem:
In betel_cumulus_ajax.js change this line as below:
Code: Select all
var ajaxLoaderInBody = true; // set to true if you have <body onload="ajaxLoader(..."
Code: Select all
<body onLoad="ajaxLoader('PATH_TO/realtime.txt?' + new Date().getTime())">
This may make the initial data slower to appear (because it's [almost] the last thing done), but that's better than NO data for whatever your 'grab' interval is !
......................Imagine, what you will KNOW tomorrow !
- gwheelo
- Posts: 453
- Joined: Wed 11 Jun 2008 7:36 pm
- Weather Station: WMR-88
- Operating System: Windows 8.1
- Location: L'Estartit, Spain
- Contact:
Re: beteljuice AJAX testers wanted
Beteljuice not only knows Ajax - but it appears he knows a bit of Catalan as well. Now reporting the local names of the winds by origin and velocity. See the results at: http://www.wheelocknet.net/cumulus/now.htm . Thanks for the help.
George Wheelock
George Wheelock
- 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: beteljuice AJAX testers wanted
Nice work George, but you you really need to do the 'fix' so that the data comes in first time
Again !
Just when I'm doing final(?) tweaks, there's something missing !
(As I realised when looking @ wheelos page)
EDIT:
Information removed, need to look deeper
Again !
Just when I'm doing final(?) tweaks, there's something missing !
(As I realised when looking @ wheelos page)
EDIT:
Information removed, need to look deeper
......................Imagine, what you will KNOW tomorrow !
- gwheelo
- Posts: 453
- Joined: Wed 11 Jun 2008 7:36 pm
- Weather Station: WMR-88
- Operating System: Windows 8.1
- Location: L'Estartit, Spain
- Contact:
Re: beteljuice AJAX testers wanted
Beteljuice -
When making the changes you suggest; "False" to "True" and adding either just above or just below the <body> tag in the html page the following:
<body onLoad="ajaxLoader('http://www.wheelocknet.net/cumulus/realtime.txt' + new Date().getTime())"
The data fields appear blank. You said to be careful of punctuation but I fail to see where I missed. I am sure you will spot my mistake immediately.
GW
When making the changes you suggest; "False" to "True" and adding either just above or just below the <body> tag in the html page the following:
<body onLoad="ajaxLoader('http://www.wheelocknet.net/cumulus/realtime.txt' + new Date().getTime())"
The data fields appear blank. You said to be careful of punctuation but I fail to see where I missed. I am sure you will spot my mistake immediately.
GW
- 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: beteljuice AJAX testers wanted
I can't see any pages with the modified <body> George !
I've looked at:
betel/table1.html
cumulus/now.html
Both still have the delay before data appears
However: you said "False" to "True"
Should be - true - all lower-case, it makes a difference
I've looked at:
betel/table1.html
cumulus/now.html
Both still have the delay before data appears
However: you said "False" to "True"
Should be - true - all lower-case, it makes a difference
......................Imagine, what you will KNOW tomorrow !
- gwheelo
- Posts: 453
- Joined: Wed 11 Jun 2008 7:36 pm
- Weather Station: WMR-88
- Operating System: Windows 8.1
- Location: L'Estartit, Spain
- Contact:
Re: beteljuice AJAX testers wanted
I can't see any pages with the modified <body> George ! - That was the clue!
Just sloppy housekeeping on my part. I was editing the wrong html file - lesson learned - don't keep files with the same name in two different directories - and then think you know what you are doing.
I believe it is working correctly now!
Thanks again for teaching me a lesson!
GW
Just sloppy housekeeping on my part. I was editing the wrong html file - lesson learned - don't keep files with the same name in two different directories - and then think you know what you are doing.
I believe it is working correctly now!
Thanks again for teaching me a lesson!
GW
- 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: beteljuice AJAX testers wanted
Believe me - I know all about that
NP - my pleasure
NP - my pleasure
......................Imagine, what you will KNOW tomorrow !
- gwheelo
- Posts: 453
- Joined: Wed 11 Jun 2008 7:36 pm
- Weather Station: WMR-88
- Operating System: Windows 8.1
- Location: L'Estartit, Spain
- Contact:
Re: beteljuice AJAX testers wanted
IE and Chrome display the Ajax html pages correctly - but Firefox misses half the page and all the data - what's up?
GW
GW
- 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: beteljuice AJAX testers wanted
Sorry !
The only thing I know about the different versions of FF, is that if you don't define your font size / face in CSS it can seriously affect the way the page looks x-browserwise.
Post the link -
Feedback anybody ?
The only thing I know about the different versions of FF, is that if you don't define your font size / face in CSS it can seriously affect the way the page looks x-browserwise.
Post the link -
Feedback anybody ?
......................Imagine, what you will KNOW tomorrow !
- dane
- Posts: 417
- Joined: Wed 10 Sep 2008 2:15 pm
- Weather Station: Rosenborg 68700
- Operating System: Win10 Ult., 64-bit, RaspberryPi
- Location: Gilleleje, Denmark
Re: beteljuice AJAX testers wanted
I am not too happy with "-0 degrees" - as both you and I have on our web pages right now.
Any chance of getting a "clean" 0 for temperatures between zero and minus 1?
Ib
Any chance of getting a "clean" 0 for temperatures between zero and minus 1?
Ib
Ib
- 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: beteljuice AJAX testers wanted
It's a Javascript 'rounding' thing
It's saying -0.4 is -0 (ie. the mantissa is still saying it's less than zero)
Change these areas:
Normal temp. area
EXTRAS weather map area:
Something else to change in the 'release'
Any other problems ?
PS. The beteljuice has realised that the experimental freeze / snow line calcs were artificially biased to sea level, so I've re-done the best calc and introduced a simpler 'near enough' calc. (test 1 and 2 on my 'details page)
It's saying -0.4 is -0 (ie. the mantissa is still saying it's less than zero)
Change these areas:
Normal temp. area
Code: Select all
Rset_ajax_obs("ajaxtemp_C", temp_C.toFixed(1), '°C'); // unchanged
(temp_C.toFixed(0) == -0 ? temp_C_big = 0 : temp_C_big = temp_C.toFixed(0)); // NEW
Rset_ajax_obs("ajaxbigtemp_C", temp_C_big, '°C'); // *** modified
Code: Select all
(temp_C.toFixed(0) == -0 ? pic_C = 0 : pic_C = temp_C.toFixed(0)); // NEW
Rset_ajax_obs("ajax_pic_temp_C", spacer + pic_C, '°C'); // yet another temp display ** Modified
Any other problems ?
PS. The beteljuice has realised that the experimental freeze / snow line calcs were artificially biased to sea level, so I've re-done the best calc and introduced a simpler 'near enough' calc. (test 1 and 2 on my 'details page)
......................Imagine, what you will KNOW tomorrow !
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: beteljuice AJAX testers wanted
Actually, in meteorological terms, it's doing exactly the right thing. Temperatures which are rounded to zero from slightly below zero are conventionally reported as "-0" degrees, to show that the temperature is actually below freezing point.
Steve
Steve
- 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: beteljuice AJAX testers wanted
I knew there was some reason why I left it !... reported as "-0" degrees, to show that the temperature is actually below freezing
As a codester it didn't 'feel' right having -0
Thoughts please, -0, 0 or user settable ?
and any feed-back in general please before I do a pre-release release
......................Imagine, what you will KNOW tomorrow !
- dane
- Posts: 417
- Joined: Wed 10 Sep 2008 2:15 pm
- Weather Station: Rosenborg 68700
- Operating System: Win10 Ult., 64-bit, RaspberryPi
- Location: Gilleleje, Denmark
Re: beteljuice AJAX testers wanted
is not what I learnt at school.conventionally reported as "-0" degrees
But this is about weather stations, so who am I to argue with a weather specialist?
So: -0 it is
Ib