Sandaysoft

Support forum for Cumulus weather station software
It is currently Sat May 25, 2013 8:46 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  [ 246 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9, 10, 11 ... 17  Next
Author Message
 Post subject: Re: Cumulus RealTime Data Grabber - Tool
PostPosted: Sat May 26, 2012 8:01 pm 
Offline

Joined: Sun Dec 13, 2009 1:21 pm
Posts: 867
Location: Apeldoorn The Netherlands
Weather Station: WH1080 / WS 4000
Operating System: Windows 7 / Ubuntu
Mark, I noticed that the pressure @ station always displays LOW , even by 2020 hPa ? What are the criteria for Low / High ??

_________________
Ron

Image

Apeldoorn, The Netherlands


Top
 Profile  
 
 Post subject: Re: Cumulus RealTime Data Grabber - Tool
PostPosted: Sat May 26, 2012 9:27 pm 
Offline
User avatar

Joined: Tue Feb 01, 2011 8:22 am
Posts: 344
Location: Wokingham, Berkshire, UK
Weather Station: WH1081
Operating System: Win 7, XP, Xubuntu, Linux Mint
Hi Ron, I will have a look through my code to see if I can find out why that is happening as well as let you know what the criteria is. As its late here and I have to get up early tomorrow I won't be able to look tonight. Hopefully I can have a look tomorrow evening and will post back here :)

_________________
Cumulus Real Time Data Grabber
http://bit.ly/WjBh5z

Wokingham Berkshire - weather station
http://www.wokinghamweather.co.uk

MRD Photography
http://www.mrdphotography.co.uk

Image


Top
 Profile  
 
 Post subject: Re: Cumulus RealTime Data Grabber - Tool
PostPosted: Sun May 27, 2012 7:06 am 
Offline
User avatar

Joined: Tue Feb 01, 2011 8:22 am
Posts: 344
Location: Wokingham, Berkshire, UK
Weather Station: WH1081
Operating System: Win 7, XP, Xubuntu, Linux Mint
Hi Ron,

I've just tested your realtime.txt file in Grabber and it all seems to be working fine :?

See below screenshot of Grabber and also the webpage that it has generated, both of which are
displaying the HIGH pressure graphic.

Image


The code I have written to determine HIGH and LOW pressure is:

NOTE:
The pressure value switch point between High and Low is: 1013.25 hpa/mb, or 29.921 inches
dependent upon which unit the user is using).


Code:
    Private Sub PressureAtStationGraphic()

        Dim Pressure As Double

        'copy text held in Label11 for pressure to a variable called "Pressure", as it wont work correctly if just using Label11.text string.
        Pressure = Label11.Text



        'Procedure to display High or Low pressure graphic

        If Label16.Text = "mb" OrElse Label16.Text = "hPa" Then
            GoTo hPa_mb_Pressure
        ElseIf Label16.Text = "in" Then
            GoTo in_Pressure
        End If



        ' Turning point from Low to High pressure =  hPa & mb (same units) = 1013.25,  same value for in = 29.921

hPa_mb_Pressure:
        If Pressure <= "1013.25" Then
            PictureBox4.Image = PictureBox2.Image ' Shows Low Pressure symbol if pressure is less than or equal to 1013.25
        Else
            PictureBox4.Image = PictureBox3.Image ' Shows High Pressure symbol if pressure is less than or equal to 1013.25
        End If
        Exit Sub

in_Pressure:
        If Pressure <= "29.921" Then
            PictureBox4.Image = PictureBox2.Image ' Shows Low Pressure symbol if pressure is less than or equal to 29.921
        Else
            PictureBox4.Image = PictureBox3.Image ' Shows High Pressure symbol if pressure is less than or equal to 29.921
        End If
        Exit Sub
    End Sub


It may be worth stopping and restarting Grabber and deleting all the graphic image files *.png from your
local "chart" folder and then restarting Grabber to see if it sorts the problem out.

If not can you let me know and I will have to have another look when I get back in later from my walk :)

_________________
Cumulus Real Time Data Grabber
http://bit.ly/WjBh5z

Wokingham Berkshire - weather station
http://www.wokinghamweather.co.uk

MRD Photography
http://www.mrdphotography.co.uk

Image


Top
 Profile  
 
 Post subject: Re: Cumulus RealTime Data Grabber - Tool
PostPosted: Sun May 27, 2012 8:37 am 
Offline

Joined: Sun Dec 13, 2009 1:21 pm
Posts: 867
Location: Apeldoorn The Netherlands
Weather Station: WH1080 / WS 4000
Operating System: Windows 7 / Ubuntu
Well it stays low (the graphic) I've deleted all graphs local and remote it's 1020 hPa over here , I can't remeber if I've ever have seen the Highpressure-icon :roll:

_________________
Ron

Image

Apeldoorn, The Netherlands


Top
 Profile  
 
 Post subject: Re: Cumulus RealTime Data Grabber - Tool
PostPosted: Sun May 27, 2012 9:52 pm 
Offline
User avatar

Joined: Tue Feb 01, 2011 8:22 am
Posts: 344
Location: Wokingham, Berkshire, UK
Weather Station: WH1081
Operating System: Win 7, XP, Xubuntu, Linux Mint
Hi Ron,

I have quickly added a few bits to display info for me to check in the below debug test version of grabber. I have only zipped the
*.exe file in this, so if you could rename your old "Cumulus RealTime Data Grabber.exe" to say "Cumulus RealTime Data Grabber.org" then copy this test version into the same folder, then run it.

Attachment:
CRTDG_debug_01.zip


Once its started running could you go to the [Info @ Station] tab and then screen capture it and post it up here on this thread
for me (similar to my screenshot below), so I can see what it is displaying.

Image


Thanks

Mark


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

_________________
Cumulus Real Time Data Grabber
http://bit.ly/WjBh5z

Wokingham Berkshire - weather station
http://www.wokinghamweather.co.uk

MRD Photography
http://www.mrdphotography.co.uk

Image


Top
 Profile  
 
 Post subject: Re: Cumulus RealTime Data Grabber - Tool
PostPosted: Mon May 28, 2012 8:04 am 
Offline

Joined: Sun Dec 13, 2009 1:21 pm
Posts: 867
Location: Apeldoorn The Netherlands
Weather Station: WH1080 / WS 4000
Operating System: Windows 7 / Ubuntu
Hi Mark,

well it seems to work I've attached a screenshot of the debug version.

Attachment:
rt.jpg


Strange that some equal numbers are not the same on another computer :shock:

Thanks


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

_________________
Ron

Image

Apeldoorn, The Netherlands


Top
 Profile  
 
 Post subject: Re: Cumulus RealTime Data Grabber - Tool
PostPosted: Mon May 28, 2012 7:40 pm 
Offline
User avatar

Joined: Tue Feb 01, 2011 8:22 am
Posts: 344
Location: Wokingham, Berkshire, UK
Weather Station: WH1081
Operating System: Win 7, XP, Xubuntu, Linux Mint
Hi Ron,

Thanks for letting me know it now works.

I changed a data type which looks like it was the problem.

I will test it on my server for a day or so, just to make sure all is working correctly.
Then I will release a new version with the corrected code.

I would be interested to see if it correctly identifies the LOW pressure when the
pressure drops below: 1013.25 mb on you machine, just to make sure it's all
working 100%. If you can let me know if/when this happens I would appreciated it :)

_________________
Cumulus Real Time Data Grabber
http://bit.ly/WjBh5z

Wokingham Berkshire - weather station
http://www.wokinghamweather.co.uk

MRD Photography
http://www.mrdphotography.co.uk

Image


Top
 Profile  
 
 Post subject: Re: Cumulus RealTime Data Grabber - Tool
PostPosted: Tue May 29, 2012 9:07 am 
Offline

Joined: Sun Dec 13, 2009 1:21 pm
Posts: 867
Location: Apeldoorn The Netherlands
Weather Station: WH1080 / WS 4000
Operating System: Windows 7 / Ubuntu
Hi Mark, well I've changed the calibration for a minute below 1013.25 hPa and the pressure icon changed to low , so it works fine here,
good job.

_________________
Ron

Image

Apeldoorn, The Netherlands


Top
 Profile  
 
 Post subject: Re: Cumulus RealTime Data Grabber - Tool
PostPosted: Tue May 29, 2012 12:06 pm 
Offline
User avatar

Joined: Tue Feb 01, 2011 8:22 am
Posts: 344
Location: Wokingham, Berkshire, UK
Weather Station: WH1081
Operating System: Win 7, XP, Xubuntu, Linux Mint
Hi Ron,

Thanks for testing it for me, I will release the new version in the next couple of days.

_________________
Cumulus Real Time Data Grabber
http://bit.ly/WjBh5z

Wokingham Berkshire - weather station
http://www.wokinghamweather.co.uk

MRD Photography
http://www.mrdphotography.co.uk

Image


Top
 Profile  
 
 Post subject: Re: Cumulus RealTime Data Grabber - Tool
PostPosted: Thu May 31, 2012 5:34 pm 
Offline

Joined: Sun Dec 13, 2009 1:21 pm
Posts: 867
Location: Apeldoorn The Netherlands
Weather Station: WH1080 / WS 4000
Operating System: Windows 7 / Ubuntu
Mark another issue it's not clear to me how the posibility of rain is predicted but its seems there's never a change of rain over here even when it rains :)

Attachment:
rain.jpg


It has no hurry for me I'm going a few weeks to Turkey (there is no rain hopefully)

Update well finally after a day of rain it gives a change of rain :D


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

_________________
Ron

Image

Apeldoorn, The Netherlands


Top
 Profile  
 
 Post subject: Re: Cumulus RealTime Data Grabber - Tool
PostPosted: Fri Jun 01, 2012 12:35 pm 
Offline
User avatar

Joined: Tue Feb 01, 2011 8:22 am
Posts: 344
Location: Wokingham, Berkshire, UK
Weather Station: WH1081
Operating System: Win 7, XP, Xubuntu, Linux Mint
Hi Ron,

The prediction for rain is;

Code:
[b]Pseudo code:[/b]

If DewPoint is GreaterThan (Temperature -1.1) AndAlso DewPoint is LessThan (Temperature +1.1) AndAlso Humidity is GreaterThan or Equal to "90%"
'// Then the condition is met
(Show Rain Drop in Blue)

Else (if condition is not met)
'// Condition is not met
(Show Rain Drop faded in grey)

End if


There is probably a more scientifically accurate way of predicting rain, but these parameters seem to work for me when it could rain most of the time.
Obviously my code will never be 100% accurate, as with most things to do with weather you can never predict with a 100% accuracy ;)


I did notice this morning that your webpage was displaying the "Blue Rain Drop" So that alleviates my fear that there was a problem
with my code. *phew*

Image

_________________
Cumulus Real Time Data Grabber
http://bit.ly/WjBh5z

Wokingham Berkshire - weather station
http://www.wokinghamweather.co.uk

MRD Photography
http://www.mrdphotography.co.uk

Image


Top
 Profile  
 
 Post subject: Re: Cumulus RealTime Data Grabber - Tool
PostPosted: Fri Jun 01, 2012 1:23 pm 
Offline

Joined: Sun Dec 13, 2009 1:21 pm
Posts: 867
Location: Apeldoorn The Netherlands
Weather Station: WH1080 / WS 4000
Operating System: Windows 7 / Ubuntu
I know it's not 100 % predictable but 'no change of rain' if it's raining looks a little bit odd :D , thanks for explaining

_________________
Ron

Image

Apeldoorn, The Netherlands


Top
 Profile  
 
 Post subject: Re: Cumulus RealTime Data Grabber - Tool
PostPosted: Mon Jun 04, 2012 10:09 am 
Offline
User avatar

Joined: Tue Feb 01, 2011 8:22 am
Posts: 344
Location: Wokingham, Berkshire, UK
Weather Station: WH1081
Operating System: Win 7, XP, Xubuntu, Linux Mint
Hi Ron,

I noticed that the beaker graphic which display's the levels of water in the beaker
does not look correct for the amount of rain you have had. So I have tweaked the
code to see if it display's it correctly.

Please could I ask if you could download the new debug version 02 below (which
is again just the *.exe file) and copy it over the original in your folder and run it.
So I can see if it display's the correct graphic against the "Rain Today" total.


I will take a look at your page http://apeldoorn.tk/weer/grabber/grabberindex.htm
once you have got the new version running to see if it has corrected it.

If you could let me know when you have the new debug version running then I can check.

Attachment:
CRTDG_debug_02.zip


Thanks

Mark


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

_________________
Cumulus Real Time Data Grabber
http://bit.ly/WjBh5z

Wokingham Berkshire - weather station
http://www.wokinghamweather.co.uk

MRD Photography
http://www.mrdphotography.co.uk

Image


Top
 Profile  
 
 Post subject: Re: Cumulus RealTime Data Grabber - Tool
PostPosted: Sun Jun 10, 2012 6:13 pm 
Offline

Joined: Sun Dec 13, 2009 1:21 pm
Posts: 867
Location: Apeldoorn The Netherlands
Weather Station: WH1080 / WS 4000
Operating System: Windows 7 / Ubuntu
I'm in Turkey at thuis moment so I Will try this best week :D

_________________
Ron

Image

Apeldoorn, The Netherlands


Top
 Profile  
 
 Post subject: Re: Cumulus RealTime Data Grabber - Tool
PostPosted: Mon Jun 11, 2012 6:41 am 
Offline
User avatar

Joined: Tue Feb 01, 2011 8:22 am
Posts: 344
Location: Wokingham, Berkshire, UK
Weather Station: WH1081
Operating System: Win 7, XP, Xubuntu, Linux Mint
Hi Ron,

No problem, I hope you are having a nice time over there. It's raining a lot today, so hopefully your
getting better weather than us :)

_________________
Cumulus Real Time Data Grabber
http://bit.ly/WjBh5z

Wokingham Berkshire - weather station
http://www.wokinghamweather.co.uk

MRD Photography
http://www.mrdphotography.co.uk

Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 246 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9, 10, 11 ... 17  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