Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.4.6 (build 3070) - 23 March 2020
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

sfws
Posts: 601
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Modified Fine Offset
Operating System: Win. 10 PC
Location: The Marches, UK

Re: Cumulusutils

Post by sfws » Mon 16 Mar 2020 4:03 pm

HansR wrote:
Mon 16 Mar 2020 11:45 am
I guess I am already some steps further and most importantly: I don't use PHP nor SQL. Purposely because I dislike the design of bringing data from the primary output of Cumulus to an SQL database, moving it to a website and there uses PHP to extract and manipulate data. I have the utmost respect for programmers who can see the forest through the trees in that combination of code and data, but I chose another way.

I wrote my selection and data manipulation in C# to work directly beside CumulusMX and transfer chucks of HTML as text files to the website. The website manager to choose what he wants and how he includes it in the website template. In short: I take away the coding from the website and the users will have only one executable to accomplish everything. Configuration is done through an ini file, translations are through the ini-file, for the rest I use localisations.
It appears my post confused you. I know all the above, I read it in the blog section of your website. I noticed your existing Cumulusutils had added C# versions reading the log file directly of more than one third party solution on this web site using either JavaScript on log file or PHP on a sql database. I was merely giving suggestions of some other third-party work that existed, but had not had a recent issue raised in this forum, just in case you wanted to write some more C# equivalents.
HansR wrote:
Mon 16 Mar 2020 11:53 am
do you think a separate String.ini file would be useful (for the translations)?
I guess relatively few web sites currently offer translations, and I suspect if there was a demand you would have already had lots of requests?

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

Re: Cumulusutils

Post by HansR » Mon 16 Mar 2020 4:46 pm

@Piotr:
@Paul: Thanks :) .

@sfws: OK. Guess I am not used to being read :lol: and yes, some work of other inspires me in layout, contents or colouring. A lot of work has been done so there is a a lot to see. And again thanks for those links which I did not know. Apart from that, I already do offer the possibility for translation. The strings, in the string section in the inifile of CumulusUtils, are taken 1 - 1 to where they are used in the application. That was already asked for in the very beginning (from Poland, Spain, France). Therefore those strings can be translated (or adapted to whatever text fits you) which reflects immediately in the next run. But because the number of strings increases I got the impression it had become somewhat chaotic, hence my question if a separate file would be useful. Can be done in 5 years time as well ;)
https://meteo-wagenborgen.nl / Cumulus (3.4.3 b3067)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 10 (buster) / 4.19.97-v7+ armv7l
Mono JIT compiler version 6.8.0.105 (tarball Tue Feb 4 21:51:48 UTC 2020)

sfws
Posts: 601
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Modified Fine Offset
Operating System: Win. 10 PC
Location: The Marches, UK

Re: Cumulusutils

Post by sfws » Mon 16 Mar 2020 6:25 pm

HansR wrote:
Mon 16 Mar 2020 4:46 pm
That was already asked for in the very beginning (from Poland, Spain, France). Therefore those strings can be translated (or adapted to whatever text fits you) which reflects immediately in the next run. But because the number of strings increases I got the impression it had become somewhat chaotic, hence my question if a separate file would be useful.
OK, now I understand your question, but the answer is still irrelevant for me.
I believe the Saratoga Templates use a separate file for translation, I don't use that, but I can see some people might think a separate file is a good idea, you might even get compatibility with Ken True's file? I believe beteljuice tried to achieve that?

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

Re: Cumulusutils

Post by HansR » Mon 16 Mar 2020 6:39 pm

sfws wrote:
Mon 16 Mar 2020 6:25 pm
... you might even get compatibility with Ken True's file? I believe beteljuice tried to achieve that?
Well, that definitely is not my goal. I am totally detached of whatever template or standard you can come up with or define. Even when output looks similar to something existent, it is totally different.

A separate file would only be separate to create clarity for the user. No other reason i can think of.
https://meteo-wagenborgen.nl / Cumulus (3.4.3 b3067)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 10 (buster) / 4.19.97-v7+ armv7l
Mono JIT compiler version 6.8.0.105 (tarball Tue Feb 4 21:51:48 UTC 2020)

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

Re: Cumulusutils

Post by HansR » Tue 17 Mar 2020 9:22 am

Please note two interesting sites started using CumulusUtils. Both are French and in a very (rain soaked) forested area: Meyenheim in Les Vosges, just north of Mulhouse and Météo Saint Bonnet-le-Troncy NNW of Lyon on the rising slopes of the Massif Central (so far not using pwsFWI My fault, Stephane IS using pwsFWI: acces bottom left from home page).

Meyenheim (@laulau) has one of the longest weather series in the world of Cumulus, starting in 2002. Check it out if you want to see how that works out for the CumulusUtils Graph module! I'll have to start implementing the 30 years average soon ;)
https://meteo-wagenborgen.nl / Cumulus (3.4.3 b3067)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 10 (buster) / 4.19.97-v7+ armv7l
Mono JIT compiler version 6.8.0.105 (tarball Tue Feb 4 21:51:48 UTC 2020)

User avatar
laulau
Posts: 553
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Cumulusutils

Post by laulau » Tue 17 Mar 2020 3:59 pm

Hi,
I started with "FreeWx" and and someone helped me convert my data to cumulus in 2009!
I am halfway between the Vosges and the Black Forest.
Laurent

Image

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

Re: Cumulusutils

Post by HansR » Tue 17 Mar 2020 4:29 pm

@laulau:
Ah yes my fault. That's Haut-Rhin, other department.
I took the name of the mountain range 'Parc naturel régional des Ballons des Vosges' (Vosges, Vogezen in Dutch). Sorry for that :oops:
But you still have an impressive time series :!:
https://meteo-wagenborgen.nl / Cumulus (3.4.3 b3067)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 10 (buster) / 4.19.97-v7+ armv7l
Mono JIT compiler version 6.8.0.105 (tarball Tue Feb 4 21:51:48 UTC 2020)

User avatar
kocher
Posts: 106
Joined: Sat 19 Apr 2014 7:57 pm
Weather Station: Davis Vantage Pro2+
Operating System: Windows 10
Location: San Sebastian - Spain
Contact:

Re: Cumulusutils

Post by kocher » Wed 18 Mar 2020 11:00 am

Greetings to all

I find the evolution of cumulusutils very interesting. :D

In my case all the sections work, except NOOA reports:

http://kocher.es/cumulusMX/FWI/noaa.php

I don't understand the cause of the failure :groan:


Saludos desde San Sebastian
Image

User avatar
laulau
Posts: 553
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Cumulusutils

Post by laulau » Wed 18 Mar 2020 11:46 am

Hi,
You have to update the cumulusutils.ini for the Noaa reports path, there's a section for that :

Code: Select all

[NOAA]
FTPDirectory=../noaa/
Laurent

Image

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

Re: Cumulusutils

Post by HansR » Wed 18 Mar 2020 11:52 am

kocher wrote:
Wed 18 Mar 2020 11:00 am
I find the evolution of cumulusutils very interesting. :D
I assume that is a compliment :lol:.
Hope it remains interesting and anyway, always open to suggestions, I am thinking about your months graphs.
(I had a referencing remark to your site in the climate module, I'll redo that in the graphs module)

kocher wrote:
Wed 18 Mar 2020 11:00 am
In my case all the sections work, except NOOA reports:
The most likely cause is the directory. As the location is found in Cumulus.ini is an FTP directory (relative to the FTP root) and in CumulusUtils that location is needed relative to the WWW-root, so I had to use my own ini-parameter for the reports location. The default distribution of CMX seems to have the directory Reports, while all other directories start with a miniscule. This led to an error on my side in using the default directory for the reports being './reports'. Further more, the location of the reports can be freely chosen by the user in the FTP parameter in the NOAA section of Cumulus.ini and of course must lead to the www-equivalent in cumulusutils.ini.

So, in short: set the location of the reports in the cumulusutils.ini file ( FTPDirectory NOAA section) to the correct location, it should work. If it does not, please let me know.

Greetings from a locked down viral Netherlands :|

NB: I have some difficulty finding the CumulusUtils modules on your site (apart from pwsFWI and records), are those others published on your site?

[Edit:] @laulau's answer is correct and proves the liberty of choice for the directory and therefore the correctness of using my own ini-parameter for this.
https://meteo-wagenborgen.nl / Cumulus (3.4.3 b3067)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 10 (buster) / 4.19.97-v7+ armv7l
Mono JIT compiler version 6.8.0.105 (tarball Tue Feb 4 21:51:48 UTC 2020)

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

Re: Cumulusutils

Post by HansR » Wed 18 Mar 2020 12:10 pm

Btw, anybody who would like to preview the new monthly rain and temperature graphs WITH StationAverage and Stddev enabled, should look at Piotr's site and Scott's site. (even if your Polish is a bit rusty remember: the order of the graphs is unchangeable).

Notice in both stations, the Station Average is well above the Normal curve.
https://meteo-wagenborgen.nl / Cumulus (3.4.3 b3067)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 10 (buster) / 4.19.97-v7+ armv7l
Mono JIT compiler version 6.8.0.105 (tarball Tue Feb 4 21:51:48 UTC 2020)

sfws
Posts: 601
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Modified Fine Offset
Operating System: Win. 10 PC
Location: The Marches, UK

Re: Cumulusutils

Post by sfws » Wed 18 Mar 2020 12:14 pm

Going back to your previous post
HansR wrote:
Wed 18 Mar 2020 11:52 am
have the directory Reports, while all other directories start with
Cumulus 1 named this folder with an upper case initial letter, while other folders started with lower case, so MX has stayed compatible with that.

I guess Steve Loft did that because NOAA was added in build 1004 (one of several 1.9.2 beta builds), a long time after the other folders were introduced in earlier builds (e.g. data in 1.8.9) and he just forgot he had used all lower case previously. In windows operating systems case does not usually matter.

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

Re: Cumulusutils

Post by HansR » Wed 18 Mar 2020 12:51 pm

@sfws: Thnx, good to have some history reference.
It's just one of those anomalies which make life interesting :)
https://meteo-wagenborgen.nl / Cumulus (3.4.3 b3067)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian GNU/Linux 10 (buster) / 4.19.97-v7+ armv7l
Mono JIT compiler version 6.8.0.105 (tarball Tue Feb 4 21:51:48 UTC 2020)

User avatar
kocher
Posts: 106
Joined: Sat 19 Apr 2014 7:57 pm
Weather Station: Davis Vantage Pro2+
Operating System: Windows 10
Location: San Sebastian - Spain
Contact:

Re: Cumulusutils

Post by kocher » Wed 18 Mar 2020 5:56 pm

Good afternoon Laulau and Hans

By the way climatological graphics my website, were created precisely by Laulau (Laurent - MeteoMeyenheim), I just adapt them to my own database that was different from Cumulus.

With Laulau's explanation, I think I have already understood.
In "cumulusutils.ini" I have changed to:
  FTPDirectory = .. / NOAA /


Muchas gracias a todos :clap:
Image

User avatar
laulau
Posts: 553
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: Cumulusutils

Post by laulau » Wed 18 Mar 2020 8:56 pm

kocher wrote:
Wed 18 Mar 2020 5:56 pm
Good afternoon Laulau and Hans

By the way climatological graphics my website, were created precisely by Laulau (Laurent - MeteoMeyenheim), I just adapt them to my own database that was different from Cumulus.

With Laulau's explanation, I think I have already understood.
In "cumulusutils.ini" I have changed to:
  FTPDirectory = .. / NOAA /


Muchas gracias a todos :clap:
Thanks ;) 8-)
http://meteo.laurentmey.fr/_php/cgraphs.php
Note that the directory may change in the near future, i'll update the link in my banner and in the Utils map !
Laurent

Image

Post Reply