Sandaysoft

Support forum for Cumulus weather station software
It is currently Wed May 22, 2013 6:25 am
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  [ 22 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Re: Odd data in this yearly & monthly records tags
PostPosted: Thu Dec 09, 2010 11:13 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17565
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Your date format is wrong in yesterday.ini, so you could correct that. If you upload your December log and dayfile.txt I'll see if there are any problems in those.

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


Top
 Profile  
 
 Post subject: Re: Odd data in this yearly & monthly records tags
PostPosted: Thu Dec 09, 2010 11:36 am 
Offline

Joined: Fri Jan 01, 2010 1:04 pm
Posts: 169
Weather Station: Digitech XC-0348
Operating System: Windows 7
Just checked those two lines of code that gave me the weird readings and as you can see they appear to be correct:

Month High Rain Rate: <#MonthRainRateH><#rainunit>/h @ <#MonthRainRateHT> on <#MonthRainRateHD>

Year High Rain Rate: <#YearRainRateH><#rainunit>/h @ <#YearRainRateHT> on <#YearRainRateHD>

Still getting
25.2mm/h @ 11:48 on 22 November (Month)
28.8mm/h @ 11:48 on 22 November (Year)

Or would this be to do with my other current dramas?


Top
 Profile  
 
 Post subject: Re: Odd data in this yearly & monthly records tags
PostPosted: Thu Dec 09, 2010 11:39 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17565
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
SUBYDAZZ wrote:
Just checked those two lines of code that gave me the weird readings and as you can see they appear to be correct:
If it's showing the same date/time in Cumulus, then it's nothing to do with web tags.
Quote:
Or would this be to do with my other current dramas?
Unlikely. I just can't see any way that it can change the value without changing the timestamp, or how the timestamp wouldn't at least have been reset on the 1st Dec. It certainly seems to be working OK for everyone else. I think you'll just have to edit the date and see how it goes from now.

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


Top
 Profile  
 
 Post subject: Re: Odd data in this yearly & monthly records tags
PostPosted: Thu Dec 09, 2010 11:46 am 
Offline

Joined: Fri Jan 01, 2010 1:04 pm
Posts: 169
Weather Station: Digitech XC-0348
Operating System: Windows 7
OK, so just to clarify, I shouldn't be getting a November result for this month's High Rain Rate? :)

Fixed date format in yesterday.ini

Here's the other files:
Attachment:
data.zip


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


Top
 Profile  
 
 Post subject: Re: Odd data in this yearly & monthly records tags
PostPosted: Thu Dec 09, 2010 12:09 pm 
Offline

Joined: Fri Jan 01, 2010 1:04 pm
Posts: 169
Weather Station: Digitech XC-0348
Operating System: Windows 7
Yesterday's data seems OK now I've fixed that yesterday.ini

Just got to get this month's rainfall back (only has today's on there) and then fix the record date & time for this month's high rain rate, although I can't seem to find the data that matches with what I find when I search for the data on a specific day when I go into the View>This Period thingy.

Thanks for all your help steve :oops:


Top
 Profile  
 
 Post subject: Re: Odd data in this yearly & monthly records tags
PostPosted: Thu Dec 09, 2010 12:15 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17565
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Those files look OK. The date separator has changed but that doesn't matter.

Your high rain rate for this month is 25.2 at 1521 on the 2nd.

When I run with your logs, I get this month's rain displayed as 55.2, which looks about right. That figure may not be exact as today's rain will be coming from my system.

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


Top
 Profile  
 
 Post subject: Re: Odd data in this yearly & monthly records tags
PostPosted: Thu Dec 09, 2010 12:41 pm 
Offline

Joined: Fri Jan 01, 2010 1:04 pm
Posts: 169
Weather Station: Digitech XC-0348
Operating System: Windows 7
OK, so what do I edit to fix that and the total rain for the month?

Or will that actually fix itself tomorrow?


Top
 Profile  
 
 Post subject: Re: Odd data in this yearly & monthly records tags
PostPosted: Thu Dec 09, 2010 12:55 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17565
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
It is the date format change that's the problem. To total this month's rain at startup, it scans dayfile.txt looking for date entries that match the current month and year, including the separator. Your entries have '12/10' but your system date format is now '12-10', so they don't match.

When I first created Cumulus, it was just for me, and I used my date format, which I never change. I didn't know that other people with different date formats would one day use Cumulus. I've managed to cope with different date formats now, but in many places it still doesn't cater for the format changing. I'll change this code so it copes.

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


Top
 Profile  
 
 Post subject: Re: Odd data in this yearly & monthly records tags
PostPosted: Thu Dec 09, 2010 1:18 pm 
Offline

Joined: Fri Jan 01, 2010 1:04 pm
Posts: 169
Weather Station: Digitech XC-0348
Operating System: Windows 7
Ah, so if I change all the December dates to my current format then it will fix the problem?

Or should I just wait until the next beta? :)

You'll notice that earlier in the year I must have changed the date format twice more too (or switched computers that Cumulus was running on - I can't recall that far back).


Top
 Profile  
 
 Post subject: Re: Odd data in this yearly & monthly records tags
PostPosted: Fri Dec 17, 2010 11:02 pm 
Offline

Joined: Fri Jan 01, 2010 1:04 pm
Posts: 169
Weather Station: Digitech XC-0348
Operating System: Windows 7
Bump!

I edited the dates for this current month to the same format and that seems to have fixed up the total rain for the month etc. but I still can't figure out why my value for High Rain rate for this month is still showing a value for November, and also the value for that exact date and time is lower than the exact same value I get for this year's high rainfall rate. What can I edit to fix this issue?

This month's high rain rate: 25.2mm/h @ 11:48 on 22 November (but it's December this month)
This year's high rain rate: 28.8mm/h @ 11:48 on 22 November


Top
 Profile  
 
 Post subject: Re: Odd data in this yearly & monthly records tags
PostPosted: Sat Dec 18, 2010 11:07 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17565
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Bump?

You need to edit the month.ini file.

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


Top
 Profile  
 
 Post subject: Re: Odd data in this yearly & monthly records tags
PostPosted: Sat Dec 18, 2010 10:01 pm 
Offline

Joined: Fri Jan 01, 2010 1:04 pm
Posts: 169
Weather Station: Digitech XC-0348
Operating System: Windows 7
Ah, thanks, I couldn't find it initially because I had been using Toolbox to edit the .ini files and this one isn't supported yet.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next

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