Page 18 of 41
Re: Cumulusutils
Posted: Fri 15 Nov 2019 1:52 pm
by HansR
Version 1.9.0 is online
Last fix for pwsFWI, introduction of module Maps.
@Phil: thanks for the remark, I was already wondering whether you had noticed
And yes, the brain is a funny piece of equipment
Good to hear it has calmed down a bit, but if I understand pwsFWI well, the catastrophic warning is not over yet.
Good luck you all over there. Hope you can keep breathing!
Re: Cumulusutils
Posted: Fri 15 Nov 2019 3:42 pm
by PaulMy
Hi Hans,
I have installed 1.9.0 and all is well
www.komokaweather.com/komokaweather-ca/wxFWI.php
This morning I had filled in my log after the previous v1.8.4 version run at midnight, and then at about 9:00 am after installing and running v1.9.0 I again looked at the page and noticed some changes in the predictions (input data and FWI). I presume this is normal and expected as the Temp, Wind, Rain, Hum, DSR forecasts change on an ongoing basis and therefore the pwsFWI predictions will change on a live basis.
Just as a comparison today the Temp, Wind, Rain, Hum, DSR changed
from the midnight run to a
new 9:00 am run therefore the resulting calculated FWI prediction at the midnight run also changed at the 9:00 am run for -
November 15: from 30.12 to 30.23
November 16: from 31.18 to 30.18
November 17: from 36.48 to 35.48
November 18: from 36.40 to 29.41 (1)
November 19: from 35.98 to 27.17
(1) The significant input data was that no rain forecast at midnight for November 18, and at 9:00 am 3.20 forecast and that results in significant change in the FWI for November 18 and next day.
This not questioning the program nor the FWI calculation which I think is excellent and responds to ongoing information, just making an observation as to a time factor.
Enjoy,
Paul
Re: Cumulusutils
Posted: Fri 15 Nov 2019 6:14 pm
by HansR
@Paul: Thnx for installing 1.9.0 so quickly.
Wrt the changing forecasts I did ask
yourweather.co.uk and they said:
The output, with all our data in the web and other services, renews or the data refreshes twice a day (between 9 and 10 a.m. and between 9 and 10 p.m. (Spanish local hour, so one hour before in the UK).
Which means they actually have two forecasts per day. It is a choice which you use but of course I would advice at least to run always at the same hour, preferably before 9 or after 10 a.m or p.m so that you are sure to always have the same forecast timedifference. You could run it twice but I doubt if pwsFWI prediction would improve/degrade much.
Hope this helps.
Cheers, Hans
Re: Cumulusutils
Posted: Fri 15 Nov 2019 7:08 pm
by HansR
Version 1.9.1 is online
That was a short lived 1.9.0, sorry for that.
Re: Cumulusutils
Posted: Fri 15 Nov 2019 7:28 pm
by Phil23
HansR wrote: ↑Fri 15 Nov 2019 7:08 pm
Version 1.9.1 is online
That was a short lived 1.9.0, sorry for that.
Not seeing a download link in the first post.
Re: Cumulusutils
Posted: Fri 15 Nov 2019 7:32 pm
by HansR
Djee, it's not my day.
Version 1.9.1 was even shorter lived, hope 1.9.2 is OK now, it's online anyway. Sorry guys.
At least the XML looks OK, only Piotr has a problem with white framing through the map. Is it OK with all of you?
Re: Cumulusutils
Posted: Fri 15 Nov 2019 7:48 pm
by HansR
It looks OK now. At least on my machine/site.
But I noticed that Cumulus (1 and/or MX) store the latitude and longitude sometimes with a comma and sometimes with a point as decimal separator. That comes as a surprise. If you don't see your site on the map then that may be the issue. I will fix that tomorrow as today it does not seem to be the best idea.
And yes, I noticed the colour of the flashing pointer... at Phils Backyard
Cheers, Hans
Re: Cumulusutils
Posted: Sat 16 Nov 2019 9:21 am
by HansR
Version 1.9.3 is online
Note: there is a ini parameter
Website to accomodate that info in the popup.
Note: running the Map module once a day or manually as required should be enough (to save bandwith in fetching and storing the XML)
Programmers note:
As I may have been a professional programmer once, C# is relatively new to me, improving on the fly. Most experience has been in Assembler, PASCAL, C and SQL. When introducing the new ini parameter I ran into the problem that all users run Utils independently, so not everybody will have a Website entry in the XML when the file is already used by others. That may lead to so called NULL pointer references. Normally you prevent that by Assertions, checking etc... It normally takes some extra lines of code. So while dealing with that I encountered the most stylish language construct I have seen in a long time. All is done in one single line with the so called 'Null Coalescing operator' (??) and the Null-conditional Operator (?). It leads to only one line. Now I understand the expression:
Programming is Poetry. This is absolutely beautiful:
Code: Select all
Website = Station.Element("Website")?.Value ?? "";
Re: Cumulusutils
Posted: Sat 16 Nov 2019 3:12 pm
by hvd51
Hans,
I have installed version 1.9.3 with the maps utility; works fine.
Maybe an idea to transfer the maps utility to Marc for inclusion in CumulusMX?
Harm
Re: Cumulusutils
Posted: Sat 16 Nov 2019 3:58 pm
by PaulMy
Hi Hans,
I have updated to v1.9.3 and looks good
http://www.komokaweather.com/komokaweather-ca/wxMap.php
Enjoy,
Paul
Re: Cumulusutils
Posted: Sat 16 Nov 2019 6:25 pm
by HansR
@Paul: Thnx! It's not in the menu yet
@Harm: Thnx, nice suggestion to include in CMX, but there are a few points to consider:
- CMX must be seen as a - at least - three layer system: 1) acquisition layer: drivers for the differrent weather stations 2) Storage layer: storage and dispatching of data 3) Display layer. Layer three was heavily integrated in C1. In CMX display is rudimentary and aimed for the HTML display devices. It consists of a simple (but effective) website and a system to transfer data to the display layer leaving it all to the user. In this sense CumulusUtils is a new kind of display layer, serving units to the user to use in a personalised display.
- The website CMX carries is a very rudimentary website, not up to modern technique and not ready for inclusion of other elements. The menu is a struggle for some;
- As described in point 1 and 2 it must be clear that CMX kind of abandoned the display layer, CMX is the body of layer 1 and 2. In principle that is OK, but from that point of view Maps can not be part of CMX.
- I am not finished yet with Utils and I am not sure I will complete it all, but my goal is to make an open ended website generator (display layer) which fits tightly into the CMX storage/data layer. As such, development will be completely independent of CMX only reacting on changes in the storage/data layer.
From the points as described above, at some point, if Cumulus remains in public domain, my code may get public beside it. But for the moment I don't think it wise to bring modules like maps to CMX. It would be an orphan in the device driver/storage world.
And apart from the above, I am currently looking at the licensing issues around the handling of a mapping tool like CumulusUtils Maps. There is always a permission required, even for OSM and I would like to m ove away from MapBox (if you look at my site, you will see I am already running only on StreetMaps but that requires a permission). So, all in all it is not something which can be done straightforward. I'll get back on this.
Hope the above clarifies a bit.
Tnx for the question.
Cheers, Hans
Re: Cumulusutils
Posted: Sat 16 Nov 2019 10:43 pm
by Phil23
HansR wrote: ↑Sat 16 Nov 2019 9:21 am
Version 1.9.3 is online
Note: there is a ini parameter
Website to accomodate that info in the popup.
Just a suggestion for the pop-up;
Some may have a preference to have the website open in a new tab rather than leaving the map site.
Same as you've done with the link to your Blog etc.
_target=blank
Could also be applied to the link to UK weather as well.
Personally I often open links off pages with Open in New Tab, as I want to stay on the original page seeing what other info it offers.
Cheers.
Re: Cumulusutils
Posted: Sun 17 Nov 2019 1:55 am
by HansR
@phil: I did try that (btw quotes are required around blank) and the map does not display with that. You can try by adding it in he map.txt file and reloading. If you find a technique let me know. I could not get it done (in a short time so maybe I did not look good enough).
You had said it before and I like a new tab myself but so far it does not seem possible with the leaflet library.
Cheers, Hans
Re: Cumulusutils
Posted: Sun 17 Nov 2019 4:41 am
by Phil23
HansR wrote: ↑Sun 17 Nov 2019 1:55 am
@phil: I did try that (btw quotes are required around blank) and the map does not display with that. You can try by adding it in he map.txt file and reloading.
Hmm,
Had an edit in maps.txt & see what you mean.
Map doesn't display....
Tried wrapping in extra quotes & still couldn't find a solution that works.
But I will bet you a 6 pack of Beer that the Betel will know the answer.

Re: Cumulusutils
Posted: Sun 17 Nov 2019 6:31 am
by pernaczy
Phil23 wrote: ↑Sun 17 Nov 2019 4:41 am
But I will bet you a 6 pack of Beer that the Betel will know the answer.
Another 6 pack of Beer from me is on the table.
Piotr