Sandaysoft

Support forum for Cumulus weather station software
It is currently Sat May 25, 2013 12:12 pm
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Dayfile.txt duplicate records
PostPosted: Wed Jul 11, 2012 9:05 am 
Offline

Joined: Tue Jul 03, 2012 5:22 pm
Posts: 7
Location: Shropshire
Weather Station: WH1081
Operating System: Windows 7
On my WH1081 today I noticed that at 7:50 I had 12.9mm of rain? It had stopped raining by then.
Cumulus was showing a red error and when I clicked in this I got a message error Reading dayfile.txt.
When I look at the file I see two records on the same date and time from about 7:00 to 8:00 today.

Can I delete todays records and culumus will catch up when I plug the station into the PC or do I remove every other record?
Should I be doing something else to correct the large rain spike?


Top
 Profile  
 
 Post subject: Re: Dayfile.txt duplicate records
PostPosted: Wed Jul 11, 2012 9:14 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17613
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
The best way to 'rewind' and catch up from the logger data is to use a set of files from the Cumulus backup folders. Choose a set from a suitable time, and copy them to the data folder. If you (re)start Cumulus every day, then you will have a set from yesterday which should be suitable. (The latest version of 1.9.3 also takes backups at midnight, which is useful if you don't restart Cumulus very often.)

If you zip up the diags folder and attach it, I may be able to see what went wrong in the first place.

Edit: I don't understand what you mean by this:

Quote:
When I look at the file I see two records on the same date and time from about 7:00 to 8:00 today.


Entries in the dayfile.txt file just have a date, and there's normally one per day; do you mean the July log file?

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Dayfile.txt duplicate records
PostPosted: Wed Jul 11, 2012 9:55 am 
Offline

Joined: Tue Jul 03, 2012 5:22 pm
Posts: 7
Location: Shropshire
Weather Station: WH1081
Operating System: Windows 7
Yes i have just checked and it is Jul12log.txt that has the duplicate times, dayfile.txt has two records for today. i must have been looking at both.

It looks to have gone wrong at about 8:00.


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
 Post subject: Re: Dayfile.txt duplicate records
PostPosted: Wed Jul 11, 2012 10:08 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17613
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Two instances of Cumulus were started at about the same time:

11/07/2012 07:46:31.519 : Cumulus 1.9.2 Build 1032 startup

11/07/2012 07:46:31.642 : Cumulus 1.9.2 Build 1032 startup

So both were trying to write to the data files at the same time, hence the duplicate entries, and both were trying to read data from the station at the same time, hence the garbage data readings.

There's a setting on the station settings screen which causes Cumulus to attempt to detect the situation where two instances have been accidentally started; you could try using this to prevent this happening again in future.

If you copy the files from the backup which was created for the earlier of those two startups at 07:46, and then start Cumulus, all should be well.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Dayfile.txt duplicate records
PostPosted: Wed Jul 11, 2012 10:11 am 
Offline

Joined: Tue Jul 03, 2012 5:22 pm
Posts: 7
Location: Shropshire
Weather Station: WH1081
Operating System: Windows 7
Many thanks for you help with this.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group