Page 20 of 41
Re: Cumulusutils
Posted: Tue 19 Nov 2019 11:04 am
by HansR
@pernaczy:
1) OK so you run a bit similar like Phil. Maybe a separate thread should be made for people who do not know the Windows scheduler (under all Windows versions).
2) Cumulus Toolbox does not run under Linux - as far as I know - and I have not seen DAJ here since I am around, so we probably need to declare the Toolbox dead.
Apart from that all: I prefer to upload from within CumulusUtils. I presume no prerequisites for CumulusUtils other than that Cumulus is actually present and running

The upload is so simple that I will not imply a third tool. Any extra tool makes the configuration more complex than it should and will eventually discourage potential users who are more interested in meteorology than in technique.
I think

Re: Cumulusutils
Posted: Tue 19 Nov 2019 11:07 am
by kocher
Saludos a todos
I installed the latest version of cumulusutils (v 1.9.5) yesterday, but I didn’t get the maps file,txt
Today I added the following in the file "cumulusutils.ini":
[Maps]
MapsOn
I hope it works out
Re: Cumulusutils
Posted: Tue 19 Nov 2019 12:23 pm
by HansR
@kocher: the file is named: "maps.txt" and it really should be in the utils directory. If it is not, could you please send the cumulusutils.log?
I would advice to remove the entry in the ini file, it has no value and the name is unknown.
Cheers, Hans
Re: Cumulusutils
Posted: Tue 19 Nov 2019 2:40 pm
by pernaczy
HansR wrote: ↑Tue 19 Nov 2019 11:04 am
Apart from that all: I prefer to upload from within CumulusUtils. I presume no prerequisites for CumulusUtils other than that Cumulus is actually present and running

The upload is so simple that I will not imply a third tool. Any extra tool makes the configuration more complex than it should and will eventually discourage potential users who are more interested in meteorology than in technique.
I think you're right. That's why I said Yes in my previous post.
Piotr
Re: Cumulusutils
Posted: Tue 19 Nov 2019 3:35 pm
by PaulMy
Thanks Hans for your comments.
I'm executing CumulusUtils from "batch" file under Windows "task scheduler" once a day.
To upload all CumulusUtils files (once a day) I'm using "CumulusToolbox".
Piotr
Well, Toolbox not as straightforward as I initially thought.
My Toolbox FTP defaults to my public_html/weather remote folder but I want the Cumulusutils files to be FTP to public_html/komokaweather-ca folder
I want to also continue Toolbox to do some uploads to public_html/weather
I've looked where the Toolbox FTP default folder is set and can't find that so must have been in its initial install, some 10 years ago...
I could let Toolbox upload the \utils files to weather and then change the <?php include ('pwsFWI.txt'); ?> to <?php include ('../weather/pwsFWI.txt'); ?>
But that wouldn't overcome the systemInfoTable.txt that has <#webtags> and needs to be processed. But then this is not a crucial file and if it is a day late, no concern.
While I've done a few simple Windows schedule setups in the past the suggestions for batch files, etc. still scares me.
I will persevere!
Enjoy,
Paul
Re: Cumulusutils
Posted: Tue 19 Nov 2019 4:08 pm
by PaulMy
Hi Hans,
Sorry for doing some more Map calls this morning, as I have been testing...
Hopefully I have resolved the pwsFWI graphs MapOn and Top10 FTP timing by having Cumulus Toolbox FTP a few minutes after midnight to public_html/weather/utils folder and have modified the wx---.php files to <?php include ('../weather/utils/pwsFWI.txt'); ?> and that seems to work fine.
http://www.komokaweather.com/komokaweather-ca/wxFWI.php
Now just to work on having the systeminfoTable.txt to process and update after midnight...
Enjoy,
Paul
Re: Cumulusutils
Posted: Tue 19 Nov 2019 4:43 pm
by HansR
@all:
OK. I will make a solution as follows:
There will be and FTP segment in the
cumulusutils.ini file where the user can fill in: the
Host and the
Directory, just as in the
Cumulus.ini and as specified in
the Wiki. If the host is left empty, It will fall back to the
Cumulus.ini file. If the
Cumulus.ini does have an empty
Host,
no upload will take place. I will use the credentials from the Cumulus.ini.
The wiki specifies
Host and
Directory but it does not define the slashes. I will accept the Host as completely without protocol and without slashes. The Directory will start with a slash but not end with one.
The above means, the user can choose where to place the utils output on the website independent of the Cumulus uploads, but if the user wishes, the Cumulus defaults will be used. If the user does not make the choice (both
Host entries are empty), output will only be generated and not uploaded. All generated files remain locally and will not be deleted.
I think this fits the bill.
After this upgrade, no user interference will be required in uploading to the website and the user will only have to run cumulusutils on the time wanted. Remember: this does not have to be exactly midnight, that was only because of the rollover. Any time after rollover will do. If you are using a batch system, you might even choose different times for different modules.
Re: Cumulusutils
Posted: Tue 19 Nov 2019 7:36 pm
by kocher
HansR wrote: ↑Tue 19 Nov 2019 12:23 pm
@kocher: the file is named: "maps.txt" and it really should be in the utils directory. If it is not, could you please send the cumulusutils.log?
I would advice to remove the entry in the ini file, it has no value and the name is unknown.
Cheers, Hans
This is the
cumulusutil.log file generated on 11/19/2019 at 00:00 hours
Re: Cumulusutils
Posted: Tue 19 Nov 2019 7:51 pm
by HansR
@kocher:
OK, it is not the cumulusutils.ini file which takes the command MapsOn, it is the commandline.
So in the log you see:
Code: Select all
19/11/2019 0:00:00 CommandLineArgs : starting
19/11/2019 0:00:00 CommandLineArgs : handling arg: pwsFWI
19/11/2019 0:00:00 CommandLineArgs : handling arg: SysInfo
19/11/2019 0:00:00 CommandLineArgs : handling arg: Top10
19/11/2019 0:00:00 CommandLineArgs : handling arg: graphs
19/11/2019 0:00:00 CommandLineArgs : End
This means you did not tell cumulusutils to run the Maps module.
Just add MapsOn to the commandline (or run cumulusutils manually on another time with only MapsOn) and it will work.
Cheers, Hans
Re: Cumulusutils
Posted: Tue 19 Nov 2019 8:50 pm
by kocher
I have so far implemented the programme through:
cumulusMX>>Settings>>Internet settings>>Daily program
Daily program parameters: pwsFWI SysInfo Top10graphs
Now I change it to:
Daily program parameters: pwsFWI SysInfo Top10graphs MapsOn
I hope this works
Re: Cumulusutils
Posted: Tue 19 Nov 2019 8:52 pm
by HansR
@kocher: That should work.
Re: Cumulusutils
Posted: Wed 20 Nov 2019 7:51 am
by HansR
@kocher: you did not show up on the map this morning. Could you send this nights logfile again?
Re: Cumulusutils
Posted: Wed 20 Nov 2019 11:22 am
by kocher
HansR wrote: ↑Wed 20 Nov 2019 7:51 am
@kocher: you did not show up on the map this morning. Could you send this nights logfile again?
Ok, This is the cumulusutil.log
Re: Cumulusutils
Posted: Wed 20 Nov 2019 11:27 am
by kocher
The doubt I have is:
Daily program parameters: pwsFWI Sysinfo Top10graphs Mapson
or
Daily program parameters: pwsFWI Sysinfo Top10graphs Mapon
??
Re: Cumulusutils
Posted: Wed 20 Nov 2019 11:50 am
by HansR
@kocher: made a fix, version 1.9.6 see first post. The commandline parameter is MapsOn
@all: 1.9.6 does not contain any functional changes and if you are already in the list it will not have any effect on you.
Version 1.9.7 with the promised FTP upload of result files will appear ASAP.