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 4018) - 28 March 2024

Legacy Cumulus 1 release v1.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

Convert Weather Display data to Cumulus?

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: Convert Weather Display data to Cumulus?

Post by nitrx »

I tried a logfilfe from WD for test (dec 2013) and got this error in the log.txt

Code: Select all

'02.6' is not a valid floating point value
The value seems to be the temperature I think
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Convert Weather Display data to Cumulus?

Post by steve »

You presumably use commas for decimals? But WD exported the data using full stops for decimals?
Steve
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: Convert Weather Display data to Cumulus?

Post by nitrx »

Hmm I really dont know I've attached the WD logfile (note I dont need the converter but was just curious if worked)
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Convert Weather Display data to Cumulus?

Post by steve »

Yes, it's using full stops, that's a pain as Windows can't convert those automatically on a system which uses commas, it doesn't recognise them as numbers. When you export from WD, is there an option to choose the decimal separator, or does it always use a full stop, with no option?
Steve
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: Convert Weather Display data to Cumulus?

Post by nitrx »

Ok I try to find the export option if I can find it (messy interface) :roll:
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Convert Weather Display data to Cumulus?

Post by steve »

I think if I just change the code so that it replaces any full stop decimals with whatever the PC is using before converting to numbers, that should work.
Steve
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: Convert Weather Display data to Cumulus?

Post by nitrx »

I can't find anything for exporting to a differrent format except some files that generate inf files which are meant to be for graphics I think .
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Convert Weather Display data to Cumulus?

Post by steve »

I've uploaded v1.1, which caters for the fact that the WD files have decimal points even though the PC may be configured for decimal commas. It also has an option to convert all of the files in the same folder as the one selected.
Steve
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: Convert Weather Display data to Cumulus?

Post by nitrx »

This works fine Steve good job :clap:
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Convert Weather Display data to Cumulus?

Post by steve »

Thanks for testing :)
Steve
User avatar
martk1972
Posts: 8
Joined: Mon 10 Jun 2013 4:36 pm
Weather Station: Davis Vantage Pro 2 (Wireless)
Operating System: Debian 12.5 (bookworm)
Location: Sheffield, England
Contact:

Re: Convert Weather Display data to Cumulus?

Post by martk1972 »

Thanks for this Steve, I have successfully converted my old WD files to Cumulus. :D

I did have to rename some of my old WD files, eg 92011lg had to be renamed to 092011lg otherwise I got an error saying - "011l" is not a valid integer value.

I had to add a 0 to the start of all my WD log files that started with 1-9 inclusive, those with 10, 11 and 12 were fine.
Image
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Convert Weather Display data to Cumulus?

Post by steve »

Ah, I assumed that the log files would all start mmyyyy, but they actually just use one digit for for the first nine months of the year? :roll:
Steve
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: Convert Weather Display data to Cumulus?

Post by nitrx »

Yes they do I run WD just and it created 12014lg.txt sorry it was not in my test..
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Convert Weather Display data to Cumulus?

Post by steve »

I've upload v1.2, which caters for the files with the single digit months.
Steve
duke

Re: Convert Weather Display data to Cumulus?

Post by duke »

steve wrote:I've upload v1.2, which caters for the files with the single digit months.
Sorry Steve, I should have noted that and posted you a larger sample of monthly files in my earlier post.
Post Reply