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 4021) - 04 May 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

Toolbox and Cumulus 1.9.1 BETA

Discussion and support for 3rd-party (non-Sandaysoft) tools for Cumulus
Locked
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Toolbox and Cumulus 1.9.1 BETA

Post by daj »

Just a quick note for those people using Cumulus Toolbox -- if you are also testing version 1.9.1 Beta of Cumulus please do not use the "File Editor" in 'Toolbox as it is not aware of the additional fields added to the log files in Cumulus 1.9.1!

I hope to have a new version out in the next few days, with several other new features too
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Toolbox and Cumulus 1.9.1 BETA

Post by steve »

Is there a way that we could avoid the problem of extra fields breaking the editor? I assume the grid could just be made to load whatever was there, but the headings would be a problem? I don't want to add a header line to the files, but what if there were a separate file which listed the fields? Or does that make it all to difficult?
Steve
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Toolbox and Cumulus 1.9.1 BETA

Post by daj »

At the moment I am building the grid to load whatever it reads, and crucially also save in that same way it found it. If there are extra columns in the data they will appear as 'unknown' in the header.

A separate file for headings could be an idea. I guess we could store a core config centrally -- if Toolbox finds extra columns it would refer to this file for updated config.
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Toolbox and Cumulus 1.9.1 BETA

Post by steve »

daj wrote:At the moment I am building the grid to load whatever it reads, and crucially also save in that same way it found it. If there are extra columns in the data they will appear as 'unknown' in the header.
Ah, I see, that's good. So it does work, but just has these 'unknown' headings for the new columns?
Steve
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Toolbox and Cumulus 1.9.1 BETA

Post by daj »

steve wrote:...So it does work....
'Will work' that way in the next update; which will include the new headings, but do 'unknown' if you add extras in the future. However, I like the idea of a header file to refer to for future expansion

By saying 'building the grid' I really meant 'building' as is coding it for the next release. I can see how it was confusing
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Toolbox and Cumulus 1.9.1 BETA

Post by steve »

OK, got it.

So how about if the Cumulus installer creates two files, one called dayfileheader.txt and the other monthlyfileheader.txt; each one has a single line with a comma-separated list of headings for each file? Or should we avoid the dreaded variable comma and use a different separator?
Steve
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Toolbox and Cumulus 1.9.1 BETA

Post by daj »

Perfect. :)

Let's use a better separator -- what about the | ? I think it is relatively safe

Your choice
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Toolbox and Cumulus 1.9.1 BETA

Post by steve »

Yes, that vertical bar thing whatever it's called.
Steve
tjaliwalpa
Posts: 293
Joined: Sun 18 Apr 2010 9:47 am
Weather Station: Davis VP2
Operating System: Linux Lite Ubuntu 16.04
Location: Karoonda, SA
Contact:

Re: Toolbox and Cumulus 1.9.1 BETA

Post by tjaliwalpa »

Slightly off topic for this section, butI was just thinking, why can't the headers be the first row of the data files themselves, with the same separators as the data. The big advantage would be that programs such as Excel would be able to import data including the header rows.
  • But I suppose it depends on two things:
  • Cumulus being able to create the data files with header rows.
  • Cumulus being able to ignore the first line of the file as being a header and not data.
Alternatively, I would prefer the same separator rather than the "pipe character". This way it could be slotted into the monthly file after the month is complete for easy data manipulation. Then again, I am being lazy, as I could create my own header files.

Bob
Bob
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Toolbox and Cumulus 1.9.1 BETA

Post by steve »

tjaliwalpa wrote: [*]Cumulus being able to create the data files with header rows.
[*]Cumulus being able to ignore the first line of the file as being a header and not data.
Yes; but I'd prefer to keep things simple rather than introduce a possible way for things to go wrong.
Alternatively, I would prefer the same separator rather than the "pipe character". This way it could be slotted into the monthly file after the month is complete for easy data manipulation.
Cumulus would have to change as in your second point if that were to work.

The problem with using the comma for the separator is that in some countries, it's not a comma. If I knew then what I know now, I wouldn't have used the dratted thing.
Steve
User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Toolbox and Cumulus 1.9.1 BETA

Post by daj »

just to complete this post, a new build is available

https://cumulus.hosiene.co.uk/viewtopic.php?f=18&t=3549
David
kippfordweather.uk
Cumulus MX & Raspberry Pi
Locked