Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.0.2 build 3052 - 13 September 2019.
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

See the Wiki for downloading either version.

Cumulusutils

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
User avatar
HansR
Posts: 276
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 9 (stretch)
Location: Wagenborgen (NL)
Contact:

Cumulusutils

Post by HansR » Fri 13 Sep 2019 8:40 pm

Testsites for functional testing of the pwsFWI Fire Weather Index, are still very welcome! Especially in fire risk areas.
(risk areas e.g. are semi-arid regions like NSW Australia or the coasts around the Mediterranean, but today even the polar circle is a risk!)

Cumulusutils is a utility which supplies (more or less) simple HTML formatted functions for websites, which are otherwise more difficult to get. Read the ReadMe (in the distribution) for information on how to use. For now it has the following functionalities to offer (suggestion for new func are accepted):
  1. A Fire Weather Index specially designed for personal weather stations (see scientific background and other blogs).
  2. A top 10 list of relevant weather record for your station
  3. System info display
  4. Graphing the data
CumulusUtils runs standalone when needed, in the same environment and under the account of cumulus itself. It runs on all OSs Cumulus runs on, but it does not interact directly with the Cumulus program it only uses the data (a copy of) when needed. It cooperates with either version 1.9.4 or older and MX. For debugging purposes, cumulusutils generates a cumulusutils.log file. In [the unlikely] case of trouble, please send it. The list of installations for the pwsFWI is kept here. Your site will be added if you apply.

version 1.6.7 (19/10/2019)
  1. My bad: I noticed that every installation used a 30 day period for the daily rain graph and could not change it. That has been corrected.
  2. The 'Normal' values in the NOAA settings apparently are written under the regime of the locale which means the decimal separator can be either comma or point. Cumulus 1 and 3 seem different in this respect (I could not be 100% sure) so I created a workaround to always read it correctly, whichever format. The decimal separator is assumed to be only point or comma (thanks to Piotr).
version 1.6.5 (18/10/2019)
  1. Formal release of the Graphs module.
  2. Added ini parameter for MovingAveragePeriod (default 180)
  3. Changed title of graph Daily Rainfall and added period to x-axis title;
  4. Changed some minor things in layout of graphs;
  5. Added new graph: rain per month (With Normal Value line);
  6. Top10: Removed the output top10TableStyle.txt (please remove the corresponding include from your website). Only one files exists for top10: top10Table.txt. There should be no difference.
You do not have the required permissions to view the files attached to this post.
Last edited by HansR on Sat 19 Oct 2019 1:52 pm, edited 35 times in total.
https://meteo-wagenborgen.nl / Cumulus MX 3.0.2 b3052
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 9 (stretch) / Linux 4.19.58-v7+
Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1)

User avatar
PaulMy
Posts: 1956
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis Vantage Pro 2+ w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Cumulusutils

Post by PaulMy » Sat 14 Sep 2019 2:32 am

Thanks for sharing Hans.
I have unzipped and placed in my C:\added_programs\CumulusMXDist3052-20190913\CumulusMX folder
and using CMD entered .\added_programs\CumulusMXDist3052-20190913\CumulusMX\cumulusutils.exe -day
get a "Windows cannot find " message

Have also tried as C:\added_programs\CumulusMXDist3052-20190913\CumulusMX\cumulusutils.exe -day and get the same Windows message.

My DOS knowledge is very limited so perhaps I am missing something.

Enjoy,
Paul

User avatar
HansR
Posts: 276
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 9 (stretch)
Location: Wagenborgen (NL)
Contact:

Re: Cumulusutils

Post by HansR » Sat 14 Sep 2019 4:31 am

Hi Paul,

Thnx for trying. Apart from the fact that there are some problems with portability to rPi (so next releases will come soon when I solved that problem), it should run correctly on windows.

So open a CMD window, do a cd to the directory you are running from and simply enter "cumulusutils.exe -day". What is the result of this? The output shoudl be the three files I mention (in the edit) of the first message.
I presume you can run CMX from that directory without a problem?

As mentioned above, I do have other problems with the executable in the outside world, so apparently doing the build has more preconditions than I expected.
Working on that. If you can't get it running, please stand by.

Best,
https://meteo-wagenborgen.nl / Cumulus MX 3.0.2 b3052
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 9 (stretch) / Linux 4.19.58-v7+
Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1)

User avatar
PaulMy
Posts: 1956
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis Vantage Pro 2+ w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Cumulusutils

Post by PaulMy » Sat 14 Sep 2019 2:57 pm

Hi Hans,
:oops: :oops: after looking at the entered path a dozen time, I still missed one level :oops:

My weather computer is Windows 8
After the correction using the path .\added_programs\..... there was a flash of a DOS screen and then immediately disappeared.
Then using the path C:\added_programs\..... my computer started to shut down and close all programs - I panicked!

Could it be that I already have CumulusMX running in a DOS screen?

If I try it again after you've made your updates, I'll do it without any other program running ;)

Enjoy,
Paul

User avatar
HansR
Posts: 276
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 9 (stretch)
Location: Wagenborgen (NL)
Contact:

Re: Cumulusutils

Post by HansR » Sat 14 Sep 2019 3:28 pm

Hi Paul,

Sorry this caused so much trouble.

I now see you run 1.9.4 on your windows 8 machine. That probably means the infrastructure required for CMX is not present. If that machine is not connected to the internet, it is very likely the .NET infrastructure is not up to date.

From your experience with the crash when starting up my .NET executable, I advice against trying it a second time. From another message here on the board I understand you are going to try a Raspberry PI. Great idea :D . Let's wait for that to be up and running. There is already a new release, it can only get better ;)

Best,
https://meteo-wagenborgen.nl / Cumulus MX 3.0.2 b3052
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 9 (stretch) / Linux 4.19.58-v7+
Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1)

User avatar
HansR
Posts: 276
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 9 (stretch)
Location: Wagenborgen (NL)
Contact:

Re: Cumulusutils

Post by HansR » Sun 15 Sep 2019 9:32 am

I made a blog about the creation of cumulusutils.
https://meteo-wagenborgen.nl / Cumulus MX 3.0.2 b3052
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 9 (stretch) / Linux 4.19.58-v7+
Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1)

Phil23
Posts: 273
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
Location: Australia

Re: Cumulusutils

Post by Phil23 » Sun 15 Sep 2019 10:08 am

Hi Paul,

I've run Hans's utils on both my Win 10 & Win8 Laptops with no issues,

On the Win10 I simply had a copy of my old Cumulus 194 install in C:\Cumulus.

On the Win8 Laptop, which is my live Cumulus install it runs fine as well.

Only variation I can think of is that your path is under C:\added_programs\.......

From what I found I could get it to run by just having a C:\Cumulus(MX) folder with data beneath & it would run on other machines.
Will confirm that tomorrow.

Cheers.
Image

User avatar
HansR
Posts: 276
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 9 (stretch)
Location: Wagenborgen (NL)
Contact:

Re: Cumulusutils

Post by HansR » Mon 16 Sep 2019 5:00 am

Solved some issues and created version 0.5.3.
https://meteo-wagenborgen.nl / Cumulus MX 3.0.2 b3052
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 9 (stretch) / Linux 4.19.58-v7+
Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1)

User avatar
HansR
Posts: 276
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 9 (stretch)
Location: Wagenborgen (NL)
Contact:

Re: Cumulusutils

Post by HansR » Mon 16 Sep 2019 9:43 am

Added system info in version 0.6.0

Unfortunately this is for Linux/Unix only. If anybody knows how to extract this information with windows commands and/or MacOS or any other target system, please let me know and I will add that system (if it can be detected by C#).
https://meteo-wagenborgen.nl / Cumulus MX 3.0.2 b3052
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 9 (stretch) / Linux 4.19.58-v7+
Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1)

User avatar
PaulMy
Posts: 1956
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis Vantage Pro 2+ w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Cumulusutils

Post by PaulMy » Mon 16 Sep 2019 1:16 pm

Hi, and thanks.
I tried the latest version yesterday using the full path and I got a quick flash of I presume a program starting and then immediately disappear. Where and what is it I should be seeing?
This is on the Windows8 and all my other weather programs were also running, including CumulusMX.

Enjoy,
Paul

User avatar
HansR
Posts: 276
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 9 (stretch)
Location: Wagenborgen (NL)
Contact:

Re: Cumulusutils

Post by HansR » Mon 16 Sep 2019 3:31 pm

Hi Paul,

Thanks for having the courage trying again after the crash :clap:

In the first message of this thread I have a description of what cumulusutils does and what the output is. I think that should be OK for now, the message will be modified as I progress and a readme will be written but that takes some time. New versions will also be published in the first message.

Basically what you get are txt-files with HTML tables in it with the data out of Cumulus, to be included in your own website(s). The top10, my pwsFWI Fire Weather index (which you can see in operation on Phil's site and on my site) and a SystemInfo (only for Unix/Linux). The programs has no console output - only if it crashes, hope not - but debug output is written to a file named cumulusutils.log in the same directory as the executable.

The functionality it has now (version 0.6) will remain stable for a while. I will add , correct and modify some things, but the most important addition on the short term will be an ini-file to facilitate easy configuration, specifically the colouring of HTML items in the table.

Just play with it, include the tables on your website and hopefully you get the hang of it. Hope you enjoy it.
Let me know how you get on. Any ideas for functionality will be considered :)

[edit:] And btw, good to hear it runs nicely beside Cumulus 1.9.4 on an old Windows !

Best,
https://meteo-wagenborgen.nl / Cumulus MX 3.0.2 b3052
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 9 (stretch) / Linux 4.19.58-v7+
Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1)

User avatar
pernaczy
Posts: 118
Joined: Thu 15 Nov 2012 5:42 pm
Weather Station: Fine Offset WH 2080, TFA Spring
Operating System: Windows 7
Location: Niesiolowice, Northern Poland
Contact:

Re: Cumulusutils

Post by pernaczy » Mon 16 Sep 2019 4:07 pm

Hi,
Finally I've got it running too. You can see results here: http://www.pogoda-niesiolowice.kaszuby. ... isknew.php
It runs under Cumulus 1 v1.9.4 (build 1099) and Windows 7.
Regars,
Piotr
The day when I have learned something is not the lost one.

Image

User avatar
HansR
Posts: 276
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 9 (stretch)
Location: Wagenborgen (NL)
Contact:

Re: Cumulusutils

Post by HansR » Mon 16 Sep 2019 4:15 pm

Great piotr, thanks! That means it runs virtually on every existing Cumulus machine!
https://meteo-wagenborgen.nl / Cumulus MX 3.0.2 b3052
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 9 (stretch) / Linux 4.19.58-v7+
Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1)

User avatar
PaulMy
Posts: 1956
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis Vantage Pro 2+ w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Cumulusutils

Post by PaulMy » Mon 16 Sep 2019 4:28 pm

Hi Hans and thanks for the details.
And btw, good to hear it runs nicely beside Cumulus 1.9.4 on an old Windows
I run both Cumulus1 and CumulusMX and have been so far only trying cumulusutils with CumulusMX.
Basically what you get are txt-files with HTML tables in it with the data out of Cumulus, to be included in your own website(s)
That is how I took it from your original posting, but I must still have something not quite right as I cannot see any txt files in \CumulusMX just the flash of a program start and then disappears.

When I have time I'll experiment further, and also on Cumulus1.

Enjoy,
Paul

User avatar
HansR
Posts: 276
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 9 (stretch)
Location: Wagenborgen (NL)
Contact:

Re: Cumulusutils

Post by HansR » Mon 16 Sep 2019 6:26 pm

PaulMy wrote:
Mon 16 Sep 2019 4:28 pm
I cannot see any txt files in \CumulusMX just the flash of a program start and then disappears.
The program is lightning fast :) but search for *.txt files, they must be in the directory you are running from (and don't forget the commandline parameters (either -day or -ftp)

Best,
https://meteo-wagenborgen.nl / Cumulus MX 3.0.2 b3052
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 9 (stretch) / Linux 4.19.58-v7+
Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1)

Post Reply