Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Convert Weather Display data to Cumulus?

Discussion and questions about Cumulus weather station software version 1. This section and its subforums are the main place to get help with Cumulus. Anything which is not specific to the type of weather station goes in here; for anything specific to a type of weather station, please use the appropriate subforum. Use the 'website development' section for any questions relating to creating or running a web site for Cumulus data. Discussion of the stations themselves in these sections is fine.
Dan Clark
Posts: 4
Joined: Fri Jan 13, 2012 11:25 pm
Weather Station: Davis VP2 (6153)
Operating System: Win7/64
Location: Bellevue, WA USA

Convert Weather Display data to Cumulus?

Postby Dan Clark » Sun Jun 09, 2013 9:46 pm

Hi. I've used Weather Display for several months and am converting to Cumulus. Is it feasible and reasonable to convert the Weather Display data that I've collected? Anyone have any links to documentation describing the process?

Thanks and regards,

Dan.

User avatar
steve
Cumulus Author
Posts: 26247
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in France
Contact:

Re: Convert Weather Display data to Cumulus?

Postby steve » Mon Jun 10, 2013 7:23 am

A Cumulus user known here as "Dane" has been kindly converting Easyweather files for people for several years now, and I seem to recall that he has also recently been successful in converting Weather Display files. I can't find the relevant thread at the moment.

See further down this thread for a Weather Display converter.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Dan Clark
Posts: 4
Joined: Fri Jan 13, 2012 11:25 pm
Weather Station: Davis VP2 (6153)
Operating System: Win7/64
Location: Bellevue, WA USA

Re: Convert Weather Display data to Cumulus?

Postby Dan Clark » Mon Jun 10, 2013 1:05 pm

steve wrote:A Cumulus user known here as "Dane" has been kindly converting Easyweather files for people for several years now, and I seem to recall that he has also recently been successful in converting Weather Display files. I can't find the relevant thread at the moment.

Steve,

I found the thread and will look at it carefully.

Thanks,

Dan.

User avatar
martk1972
Posts: 5
Joined: Mon Jun 10, 2013 4:36 pm
Weather Station: Davis Vantage Pro 2 (Wireless)
Operating System: Windows 10 x64
Location: Sheffield, England
Contact:

Re: Convert Weather Display data to Cumulus?

Postby martk1972 » Wed Jan 29, 2014 11:02 am

I thought I would use this old thread instead of making a new one. :D

I have about 5 years of Weather Display data that I need to convert to Cumulus, is there anybody that can convert them for me, or guide me?

Thank you.
Image

water01
Posts: 1401
Joined: Sat Aug 13, 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 7 64bit HP SP1
Location: Somewhere in the USA
Contact:

Re: Convert Weather Display data to Cumulus?

Postby water01 » Wed Jan 29, 2014 11:50 am

As Steve said suggest you PM dane (all lowercase), he very kindly converted mine for me when I first moved to Cumulus.

User avatar
martk1972
Posts: 5
Joined: Mon Jun 10, 2013 4:36 pm
Weather Station: Davis Vantage Pro 2 (Wireless)
Operating System: Windows 10 x64
Location: Sheffield, England
Contact:

Re: Convert Weather Display data to Cumulus?

Postby martk1972 » Wed Jan 29, 2014 12:00 pm

water01 wrote:As Steve said suggest you PM dane (all lowercase), he very kindly converted mine for me when I first moved to Cumulus.


I'll try that, thanks :D
Image

User avatar
dane
Posts: 408
Joined: Wed Sep 10, 2008 2:15 pm
Weather Station: Rosenborg 68700
Operating System: Win10 Ult., 64-bit, RaspberryPi
Location: Gilleleje, Denmark

Re: Convert Weather Display data to Cumulus?

Postby dane » Wed Jan 29, 2014 1:44 pm

Sorry: no.
I have no experience with WD data, and have not done any conversions.
Only EasyWeather data.
Ib

User avatar
steve
Cumulus Author
Posts: 26247
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in France
Contact:

Re: Convert Weather Display data to Cumulus?

Postby steve » Wed Jan 29, 2014 1:56 pm

Sorry for the confusion, I must have misread something somewhere.

So... it may not be too hard for me to produce a WD converter, hopefully reusing a lot of the code from my Weatherlink converter. But I would need good specifications of the files to be converted, and some sample files to play with. I know very little about WD.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

water01
Posts: 1401
Joined: Sat Aug 13, 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 7 64bit HP SP1
Location: Somewhere in the USA
Contact:

Re: Convert Weather Display data to Cumulus?

Postby water01 » Wed Jan 29, 2014 2:02 pm

It would appear from the FAQ on the Weather Display site it can produce .txt files and .csv files from existing data.

How do you set WD to produce a custom text file customtext.txt?
See the page labelled "Logs and Logging"; there is even a sample. While described as a Log file, You can actually use it to transfer data to any program in any format you wish. The example was used to send data to the HoomSeer program.

What is the purpose of this file?
To tell WD what data is required to be placed in customtextout.txt

How can I convert this txt file to CSV files?
The output within this text file is already formatted in CSV format.


I know nothing about it but it maybe a good start point?

User avatar
duke
Posts: 845
Joined: Sun Jul 03, 2011 6:23 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 - 64 bit
Location: Eastleigh, Hampshire, UK
Contact:

Re: Convert Weather Display data to Cumulus?

Postby duke » Wed Jan 29, 2014 6:16 pm

Well, I never thought I would find myself blaspheming on the Cumulus forum :o

Steve, attached are WD log files, these should be all you need. If you like, I could 'zip' all the monthly created log files but I am sure these are enough.
You do not have the required permissions to view the files attached to this post.
Duke

Nightingale Weather
Eastleigh, Hampshire, UK
------------------------------------------------------
Validate your pages - often!

User avatar
steve
Cumulus Author
Posts: 26247
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in France
Contact:

Re: Convert Weather Display data to Cumulus?

Postby steve » Wed Jan 29, 2014 6:43 pm

These are the 'exported' text versions of the data files, yes? Presumably the units in them aren't fixed, but are specified by the user when they're exported? So I'd either have to have a separate set of settings for the input units, or assume that they're the same as the output ones? (If you haven't seen the Weatherlink converter, it reproduces the unit settings box from Cumulus so you can choose the units you want). The advantage of using the binary Weatherlink logs is that the units in them are fixed.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

User avatar
duke
Posts: 845
Joined: Sun Jul 03, 2011 6:23 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 - 64 bit
Location: Eastleigh, Hampshire, UK
Contact:

Re: Convert Weather Display data to Cumulus?

Postby duke » Wed Jan 29, 2014 7:05 pm

These are the 'exported' text versions of the data files, yes? Presumably the units in them aren't fixed, but are specified by the user when they're exported?


Correct. I'm no expert with WD but I do not see any other format log files other than the '.inf'.

Sorry.
Duke

Nightingale Weather
Eastleigh, Hampshire, UK
------------------------------------------------------
Validate your pages - often!

User avatar
steve
Cumulus Author
Posts: 26247
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in France
Contact:

Re: Convert Weather Display data to Cumulus?

Postby steve » Wed Jan 29, 2014 7:20 pm

No worries. I'll have a go at converting the ...lg.txt files into Cumulus monthly log files. And then the dayfile.txt editor in Cumulus can be used to produce the dayfile.txt entries.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

User avatar
steve
Cumulus Author
Posts: 26247
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in France
Contact:

Re: Convert Weather Display data to Cumulus?

Postby steve » Wed Jan 29, 2014 9:38 pm

Here's my first attempt at a converter.

It takes a WD mmyyyylg.txt file and produces a Cumulus 'monthly' log file from it.

It can't create all of the fields in the Cumulus log file, because the data don't exist in the WD file for some of the fields in the Cumulus log.

Unzip it to somewhere on your PC, and run the WDconverter program.

It creates log files in the 'Converted' folder using the file names which Cumulus expects. If you run it more than once for the same log file, it will first delete the existing converted file. Copy the generated file to the Cumulus data folder. You can then use the dayfile.txt editor in Cumulus to create the dayfile.txt entries (use 'create missing'). You can then use the other editors in Cumulus to generate or update the all-time (etc) records.

When you run it, you select the units. The units in the WD log file and in Cumulus are assumed to be the same.

There are likely to be bugs; please check the results carefully, and report any problems here. The program may crash! If you get an error while processing a file, please zip up the file and attach it to a post here. There may be a file in the 'Converted' folder called 'log.txt' with error messages in it.

Note that neither the converter nor Cumulus can handle data from before January 2000.

This program is in the public domain; you may do whatever you wish with it. You use the program at your own risk. As always, take backups!

Download link: http://sandaysoft.com/files/WDconverter.zip
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

User avatar
steve
Cumulus Author
Posts: 26247
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in France
Contact:

Re: Convert Weather Display data to Cumulus?

Postby steve » Thu Jan 30, 2014 7:59 am

It's occurred to me that if you have a large number of files to convert, doing them one at a time is rather tedious. Once the bugs are ironed out, I'll do a version which processes all of the files in a folder in one go.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired


Return to “Cumulus 1”

Who is online

Users browsing this forum: Bing [Bot] and 7 guests