Page 16 of 34

Re: Cumulus RealTime Data Grabber - Tool

Posted: Tue 16 Apr 2013 12:40 pm
by Solorize
Kapo & Ron:, :D That's great news that we are almost there! finally ;)

Ron:
I will have a look at sorting out the 3D graph on the MainScreen tonight,
as I can also see that is it multiplying the value on Kapo's screenshot as well.

NOTE:
I would just like to thank Steve and Mcrossley again for their help in sorting this
problem out, as I think I would have still been scratching my head trying to work it out if they
had not offered their knowledge and advice. :clap:



Kapo:
I should (quite easily) be able to implement Finish compass points into the program. I will
also have a look at that when sorting out the 3D graph on the main page.

Could you let me know what the equivalent abbreviated (shortened) compass points are in
Finish against what they would be in UK.

i.e. in UK

LEGEND
N = North
E = East
S = South
W = West


Abbreviated Compass Points
N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, W, WNW, NW, NNW


One thing I have noticed is that in your REALTIME.TXT file the compass point
is displayed as "L�nsilounas" rather than a abbreviated (shortened) compass point,
is there anyway you can change this within Cumulus maybe? As otherwise I will struggle to
implement the compass points for you unless they are in the abbreviated format.


Thanks

Mark

Re: Cumulus RealTime Data Grabber - Tool

Posted: Tue 16 Apr 2013 12:54 pm
by nitrx
Solorize wrote:
Ron:
I will have a look at sorting out the 3D graph on the MainScreen tonight,
as I can also see that is it multiplying the value on Kapo's screenshot as well.
It hasn't high priority for me Mark enjoy your rest

Thanks , Ron

Re: Cumulus RealTime Data Grabber - Tool

Posted: Tue 16 Apr 2013 2:03 pm
by kapo
Solorize wrote:Kapo & Ron:, :D That's great news that we are almost there! finally ;)




Kapo:
I should (quite easily) be able to implement Finish compass points into the program. I will
also have a look at that when sorting out the 3D graph on the main page.

Could you let me know what the equivalent abbreviated (shortened) compass points are in
Finish against what they would be in UK.

i.e. in UK

LEGEND
N = North
E = East
S = South
W = West


Abbreviated Compass Points
N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, W, WNW, NW, NNW


One thing I have noticed is that in your REALTIME.TXT file the compass point
is displayed as "L�nsilounas" rather than a abbreviated (shortened) compass point,
is there anyway you can change this within Cumulus maybe? As otherwise I will struggle to
implement the compass points for you unless they are in the abbreviated format.


Thanks

Mark


Yep

it is easy to change, I will change those short legends after submit this post. And this CRTDG is still running.... :D ;) :idea:

Legends from english to finnish:
N = P
E = I
S = E
W = L

NE = Ko
SE = Ka
SW = Lo
NW = Lu

NNE = PKo
ENE = IKo
ESE = IKa
SSE = EKa
SSW = ELo
WSW = LLo
WNW = LLu
NNW = PLu

And one question: Does it automaticly save those trends in that historic folder, before deleting? And another: Should it be in that main screen temp.trend: C/hour?
And that Pressure chart scale is too "big" it`ll be almoust straight line with that scale, I think...



With best regards:

Re: Cumulus RealTime Data Grabber - Tool

Posted: Tue 16 Apr 2013 8:06 pm
by Solorize
Hi Kapo,

Thanks for posting the Compass Point abbreviations.
I will see if I can get that implemented for you =)


In answer to your first question;

To have the trend graphs saved each night before they are deleted at midnight,
you need to click the [Config] button on the MainScreen. Then at the bottom of
the "Configuration Screen" you will need to tick the box in the "Historic Graphs"
section.


In answer to your second question;

Oops! Yes you are correct,the Temperature.Trend should be "deg C / hr"
I will correct that as well as the Pressure.Trend should be hPa /hr also.


In answer to your third question;

The scale on the Pressure chart is as you say too big, this can happen on the
1st run of the program where all graphs start at "Zero" (but in your case on the pressure
graph for some reason it is -200) and then jumps up to the current pressure.
Meaning that the pressure range (vertical axis) covers a large range and does not show the
small variations in changes.

If you Exit the program and then Re-Start it again this should get it to display correctly.
( I still need to work out why this sometimes happens, and is on my list of bugfixes to do ;-)

Re: Cumulus RealTime Data Grabber - Tool

Posted: Tue 16 Apr 2013 9:35 pm
by Solorize
I have managed another evening of coding ;)
and have implemented and corrected the following in this
new Test version:
ver. 1.4.3d_testing.zip
1.
3D chart on MainScreen should now display correct values and not multiply by 10.

2.
Temperature.Trend now has correct label after it i.e. "°C / hr"
Pressure.Trend now has correct label after it i.e. "hPa / hr"

3.
Finnish compass points added, select FI on [Configuration Screen].

4.
Also a couple of cosmetic tweaks on the Configuration Screen.

Kapo:
Can you let me know if the compass points display correctly for you, as I did
test it on my PC and it looked OK to me.


Now i'm off to bed LOL :D

Re: Cumulus RealTime Data Grabber - Tool

Posted: Wed 17 Apr 2013 7:18 am
by nitrx
Goodmorning Mark,
Well everyhing looks great over here even rainprediction :mrgreen: static results over here http://apeldoorn.hollandweather.net/latest/ thanks for your efforts,

Ron

Re: Cumulus RealTime Data Grabber - Tool

Posted: Wed 17 Apr 2013 9:00 am
by kapo
Hi!

Here in Finland, something has happened in the morning... CRTDG ran over last night, but an error occured about 7:30... Same kind of than past errors... I deleted Grabber and installed this newest version, but same prob. stil.. Now this error text is in finnish, because I installed newest version of .net framework, and it seems to have finnish language too. In my webpage can see that trends and other graph are updated till about 7:21 in our time.... http://www.kapo511.net/wxgrabber.php
I don`t understand what prob. this is, if it is in my PC, what could I do? This grabber is fine program and I really wish that it runs in my PC... It has saved yesterday trends and finnish compass is o.k. but something is wrong somwhere who knows, where? A pic included with this post....

With best regards:

Re: Cumulus RealTime Data Grabber - Tool

Posted: Wed 17 Apr 2013 12:12 pm
by Solorize
:( That's a shame, as I thought I had it all working now LOL.

Could you post the error.txt file when it happens again
so I can see where the error occours?

If it is in finnish could you translate it for me as I dont
know any Finnish ;)


Thanks

Mark

Re: Cumulus RealTime Data Grabber - Tool

Posted: Wed 17 Apr 2013 1:59 pm
by kapo
Hi!
Now, after 4 hours penalty, I started it again, and now it works again?? There is somewhwre in my PC or in CRTDG that breaks when there comes some kind of "wrong" numeric string in my realtime.txt? This is a thought from a man who knows about programming as much as copy&paste....
Now it reads my realtime.txt from webserver, it did not update / red from Cumulus in my C-st. I will try to translate that text as good as I can. Nowadays after 35 years since my schooldays, I have noticed that it should then better be in english lessons than having a cigarette behind the corner, or maintaining my moto :lol: :lol: .... That was real o.t.... Hope I don`t have to translate.... my finger cross.... :D

with best regards:

Re: Cumulus RealTime Data Grabber - Tool

Posted: Wed 17 Apr 2013 8:08 pm
by Solorize
Hi,

That is very strange, hopefully we can work out where the problems are and eventually
get them all fixed :)

If you can post the error.txt when it next happens that will be great.

When you say "red from Cumulus in my C-st" what does C-st mean?
Sorry it's been a bad day at work for me and my head is not 100% at the
moment.

I wish I had worked harder when I was at school especially in Mathematics
as kept getting thrown out of the lesson along with other pupils
(as our class was very disruptive) and my maths knowledge suffered.

So a while later when I asked if I could do Computer Studies they said NO as your maths
is too poor! Which meant that I followed another career path when I left school
and eventually many years later decided to self teach myself to program.

Re: Cumulus RealTime Data Grabber - Tool

Posted: Thu 18 Apr 2013 4:45 pm
by kapo
error118042013.txt
error218042013.png
error218042013.txt
Hi!!
"red from Cumulus in my C-st" what does C-st mean?" I ment that "C drive" or "C-harddisk" what it should call in english.

Now this CRTD has worked about 12 hours interval. It stopped tomorrow at 6:38. Then it started to run after restart. Now, about 10 min ago, an error occured again and now I can`t get it run again... what a shame, it was so close, but it seems still so far away....
And could it be possible to get in webpage that rain dish`s rainfall value as in PC:s rain dish has?
A pic and couple "reports " included...

Re: Cumulus RealTime Data Grabber - Tool

Posted: Thu 18 Apr 2013 8:54 pm
by Solorize
Hi Kapo,

Thanks again for posting the error file, as it makes finding the errors much easier for me.

I think I found the problem, it was that I had quotes " " wrapped around the value of 0.1
in the RainPrediction procedure.

i.e.
"0.1" which meant that the program thought it was a 'String' and not a numeric value.

I have quickly gone through the rest of my code and tweaked any other bits of code that were incorrect,
so hopefully it should work now ;) Well until we come across another error LOL.

We will get there in the end I am sure :)

Thanks for your patience while I try to debug and get it running for you. I know there is nothing
worse than having something that only works 90%.

Hopefully the test version below will be the one that finally works LOL.
Can you please let me know if you have any problems with it, or if it is OK now.
ver. 1.4.3e_testing.zip
All the best

Mark

Re: Cumulus RealTime Data Grabber - Tool

Posted: Sat 20 Apr 2013 3:55 am
by kapo
HI !!!!

Now this CRTDG has run about 24 h without errors.... So I might say it`s O.k. here in Finland with this.... I want to thank You Mark, that You have kept to read my bad english. This program will run in my PC now 24/7 . There are two things that I ask shyly, if it is possible to get in CRTDG. First property that this program could read realtime.txt from my PC, not from my webpage? And another is that in CRTDG web page is able to get rainfall in that rain dish`s like in PC`s version, and those Beaufort explainings same as in PC ?
Finally, I would like to wish you the very best spring time..... :) :)

Re: Cumulus RealTime Data Grabber - Tool

Posted: Sun 21 Apr 2013 6:17 pm
by Solorize
Hi Kapo,

Sorry i've only just replied, but I have been away for the weekend visiting my brother.

That is excellent news that it is all working now! :) It was only a matter of time
before we got it working ;)

In answer to your first question:
Yes you can get CRTDG to read the realtime.txt file directly from your PC rather than
the webpage. This is how I do it on my server.

Instead of putting a URL just enter the Drive, folder and file name of the location on your pc.
i.e.
c:\cumulus\realtime.txt

See screenshot below:
(Also, it is best to UNTICK the CacheBuster tick box as well, as also shown in this screenshot.)

Image

In answer to your other questions, I will have a look over them the next few days and see what I can do for you :)

Re: Cumulus RealTime Data Grabber - Tool

Posted: Thu 25 Apr 2013 7:28 pm
by Solorize
New release version: 1.4.4

This is a new public release version of CRTDG, which incorporates all bug fixes and
new items (as tested and debugged), within the unreleased test version v.1.4.3,
see below:

CRTDGv144.zip


1.4.3 - (test / debug version) [not publically released]

1. Major re-code of how all variables are handled.
Now uses "System.Globalization.CultureInfo.InvariantCulture" to display numeric
values in countries other than the UK. (Big thanks go out to Kapo for testing,
Steve & Mcrossly for thier advise on using "InvariantCulture").

2. per hour "/hr" label added to TemperatureTrend amd PressureTrend labels on main screen.

3. Finnish compass points added to Wind Compass display.

Big thanks goes out to Kapo, for helping with the testing / debugging :)