Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.2.3 build 3059 - 04 December 2019.
    Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

    See the Wiki for downloading either version.

    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.
    TgT
    Posts: 127
    Joined: Thu 26 Jun 2008 5:51 am
    Weather Station: Davis VP2 + Solar
    Operating System: A20 TV box + CumulusMX
    Location: Slov.Konjice, Slovenia
    Contact:

    Re: Convert Weather Display data to Cumulus?

    Post by TgT » Fri 28 Mar 2014 3:49 pm

    converter stops if there are NULL entries in logfiles.

    Code: Select all

    22014lg.txt line 15854: List index out of bounds (0)
    If station goes offline WD seems to write NULL next line in logfiles.
    You do not have the required permissions to view the files attached to this post.
    Image

    User avatar
    steve
    Cumulus Author
    Posts: 26717
    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 » Fri 28 Mar 2014 3:57 pm

    2014-03-28 15_51_07-C__Users_steve_Downloads_22014lg %281%29.txt - Notepad++.png
    Just tidy that line up.

    That's the same kind of thing that sometimes happens to Cumulus log files. No coincidence, since WD apparently also uses Delphi.
    You do not have the required permissions to view the files attached to this post.
    Steve

    TgT
    Posts: 127
    Joined: Thu 26 Jun 2008 5:51 am
    Weather Station: Davis VP2 + Solar
    Operating System: A20 TV box + CumulusMX
    Location: Slov.Konjice, Slovenia
    Contact:

    Re: Convert Weather Display data to Cumulus?

    Post by TgT » Sun 06 Apr 2014 8:34 pm

    aha ok.

    What about additional data, like sun radiation, sun hours and ET?

    all that data is in *lgvantagelog.txt

    it would be nice to convert them too? :roll:
    Image

    User avatar
    steve
    Cumulus Author
    Posts: 26717
    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 » Sun 06 Apr 2014 8:40 pm

    Is that not working then? It seemed to work OK with the data files I was given to try.
    Steve

    TgT
    Posts: 127
    Joined: Thu 26 Jun 2008 5:51 am
    Weather Station: Davis VP2 + Solar
    Operating System: A20 TV box + CumulusMX
    Location: Slov.Konjice, Slovenia
    Contact:

    Re: Convert Weather Display data to Cumulus?

    Post by TgT » Sun 06 Apr 2014 10:35 pm

    oh, i'll stab my friend then! :evil: not literally! :mrgreen:

    it seems only *lg.txt were processed. :bash:
    Image

    User avatar
    steve
    Cumulus Author
    Posts: 26717
    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 » Mon 07 Apr 2014 6:42 am

    Are you saying it didn't work? It looks for files called (m)myyyyindoorlog.txt and (m)myyyyvantagelog.txt, in the same folder as the (m)myyyylg.txt file.
    Steve

    TgT
    Posts: 127
    Joined: Thu 26 Jun 2008 5:51 am
    Weather Station: Davis VP2 + Solar
    Operating System: A20 TV box + CumulusMX
    Location: Slov.Konjice, Slovenia
    Contact:

    Re: Convert Weather Display data to Cumulus?

    Post by TgT » Mon 07 Apr 2014 1:00 pm

    No, friend sent only *lg.txt files, but today I got additional *vantagelog.txt ones too and they are processed.


    Q: is there a chance to process *lgsun.txt too? sun hours and ET is in there, or thats just not possible?
    Image

    User avatar
    steve
    Cumulus Author
    Posts: 26717
    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 » Mon 07 Apr 2014 1:08 pm

    It already does ET from the vantage log. The lgsun file is for daily totals only, and the converter doesn't produce entries for dayfile.txt, so no, that's not possible.
    Steve

    TgT
    Posts: 127
    Joined: Thu 26 Jun 2008 5:51 am
    Weather Station: Davis VP2 + Solar
    Operating System: A20 TV box + CumulusMX
    Location: Slov.Konjice, Slovenia
    Contact:

    Re: Convert Weather Display data to Cumulus?

    Post by TgT » Mon 07 Apr 2014 8:05 pm

    Thanks for clarification.
    Image

    gandalf
    Posts: 12
    Joined: Sun 22 May 2011 6:10 pm
    Weather Station: Davis Vantage pro 2
    Operating System: Windows XP SP3
    Location: Slovenia

    Re: Convert Weather Display data to Cumulus?

    Post by gandalf » Fri 18 Apr 2014 2:01 pm

    I have trouble now the error red light blink. Error at line 10789 of E:\Program Files\Cumulus\data\feb14log.txt : ''0,0'' is not a valid integer value.
    I have look at these line with notepad++

    line10789 08.02.14;15:52;6,5;87;4,5;3,5;5,4;0,0;0,0;8,8;1006,00;124,5;0,0;0;5,4;6,5;6,5;0;11;0,40;0,00;4,6;0;0,0;0,0;0,0;8,8

    there is to much nulls :?: Is these red zero a problem ?
    Image

    User avatar
    steve
    Cumulus Author
    Posts: 26717
    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 » Fri 18 Apr 2014 2:27 pm

    It's the 'bearing' and 'average bearing' values that are the problem:

    08.02.14;15:52;6,5;87;4,5;3,5;5,4;0,0;0,0;8,8;1006,00;124,5;0,0;0;5,4;6,5;6,5;0;11;0,40;0,00;4,6;0;0,0;0,0;0,0;8,8

    Those values should be integers, i.e. they should just be "0". But I don't understand how the converter could have written them like that, it definitely writes them as integers. That line did come from the converter, yes? It seems odd that you are converting WD data from only a couple of months ago - when did you start using Cumulus?
    Steve

    gandalf
    Posts: 12
    Joined: Sun 22 May 2011 6:10 pm
    Weather Station: Davis Vantage pro 2
    Operating System: Windows XP SP3
    Location: Slovenia

    Re: Convert Weather Display data to Cumulus?

    Post by gandalf » Fri 18 Apr 2014 2:47 pm

    Hi Steve,

    im using Cumulus from April 2014 :clap: And i had WD for three years :) I must than all log files repair in excel cvs.
    Image

    User avatar
    steve
    Cumulus Author
    Posts: 26717
    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 » Fri 18 Apr 2014 3:01 pm

    I don't know how those values could have been written like that, the converter definitely uses integers for those. Have you already used Excel to edit the file? That's the kind of change which can happen if you use Excel or similar to edit the log files.
    Steve

    gandalf
    Posts: 12
    Joined: Sun 22 May 2011 6:10 pm
    Weather Station: Davis Vantage pro 2
    Operating System: Windows XP SP3
    Location: Slovenia

    Re: Convert Weather Display data to Cumulus?

    Post by gandalf » Fri 18 Apr 2014 3:16 pm

    I have all log files converted from WD to Cumulus. I can send you on your e-mail or send converted one log file feb14log and WD 22014lg. I just converted only in the excel i put sun hours. I have converter v1.3

    I have convert these log file and these i got .

    line10789 08.02.14;15:52;6,5;87;4,5;3,5;5,4;0,0;0,0;8,8;1006,00;124,5;0,0;0;5,4;6,5;6,5;0;11;0,40;0,00;4,6;0;0,0;0,0;0,0;8,8 old
    line10789 08.02.14;15:52;6,5;87;4,5;3,5;5,4;0,0;0,0;8,8;1006,00;124,5;0,0;0;5,4;6,5;6,5;0;11;0,40;0,00;4,6;0;0,0;0,0;0,0;8,8 problems
    line10789 08.02.14;15:52;6,5;87;4,5;3,5;5,4;184;0,0;8,8;1006,00;124,5;0,0;0;5,4;6,5;6,5;0;0;0,00;0,00;4,6;0;0,0;184;0,0;8,8 new
    Last edited by gandalf on Fri 18 Apr 2014 3:31 pm, edited 2 times in total.
    Image

    User avatar
    steve
    Cumulus Author
    Posts: 26717
    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 » Fri 18 Apr 2014 3:26 pm

    gandalf wrote:I have all log files converted from WD to Cumulus. I can send you on your e-mail.
    No, please don't do that. ;) I really don't have time to start looking through lots of log files to look for problems, and it's really not reasonable to expect me to do that. If there's a problem with the file that the converter produced before you edited it with Excel, then there's really nothing I can do about it, sorry. I can only tell the computer to write an integer, I can't tell it "no, I really mean it, please write an integer" :lol:

    The code in the converter which writes the log file entries is exactly the same as the code in Cumulus which writes the log file entries.
    Steve

    Post Reply