• Welcome to TodayPlus Boards v2.
 

Weather information from Weather.com

Started by uk_skinner, February 15, 2005, 07:47:30 AM

Previous topic - Next topic

Broesel

Quote from: uk_skinnerLook like there is some problem at my server side.  I will do some investigation.  Some of PHP are find, some are not.. :knownot:

O.K. thanks, for looking into that ....

Broesel

uk_skinner

Could not find the reason and it seemed to be working again?   :knownot:   Can you guys try again?

Broesel

Quote from: uk_skinnerCould not find the reason and it seemed to be working again?   :knownot:   Can you guys try again?

Just tried, and yes, it works  :D

Read in another forum, that there were problems with weather.com today,
maybe that was the reason  :think:

Regards Broesel

Timmy

Quote from: uk_skinnerCould not find the reason and it seemed to be working again?   :knownot:   Can you guys try again?
Uk_skinner,

I could download again everything that was to be downloaded. So: no problems here!

Do you know what I think? As Broesel said, I noticed that weather.com was veeeeeeeeery slow today. And then it's too slow for your PHP!! Weateer.com did do its work, but your PHP didn't want to wait so long. That's what my simple thoughts are...

My suggestion: if Weather.com is too slow, your PHP goes to another URL. How??? I realy don't know...

Timmy
Toshiba e750BT, WM 2003, Today Plus 0.11.0, WISbar Adv, Agenda Fusion, Pocket Slides, TomTom

uk_skinner

Timmy:

 I don't know how either???? :oops:

Broesel

Quote from: uk_skinnerI don't know how either???? :oops:

As we have more problems with msnbc.com, I think it is not neccessary
to use another url.

And Timmy you can get your weather via the yahoo script from eemond
too (You only have to do it manually, when weather.com does not work
and I think that is not the case often).

Regards Broesel

uk_skinner

I did find an alternative for USA, www.accuweather.com.  Could you guys check this is also good for European?  Looks to me their data is totally indepdent from weather.com.  That is up-side.  The down side, the forecasttext will be different....

Timmy

@Uk_skinner and @Broesel,

First of all the reason why the higher Beaufort numbers weren't given on my PCC. As you both already thought, there was a little meany 'blank' in the half of the 'if-else' range... In deleted that meany 'blank' with a heavy click on the delete-button... Now all the Beauforts is OK. Thank you guys for your help!!!

While testing I noticed again some strange things:
Windspeed
weathercom Rotterdam gives 8 Mph   -->  c1windsd  21
weathercom Arnhem gives    3 Mph   -->  c2windsd   8
weathercom Dublin gives   15 Mph   -->  c3windsd  39
weathercom Grenoble gives  3 Mph   -->  c4windsd   8
weathercom Hannover gives  7 Mph   -->  c5windsd  18

What does the windspeedvars mean? They are no Mph and they are no Km/h. But what then?!? I think there copuld possibly a conversion mistake?!?

Some explanation:
7,6 - 12,1 Mph   =   3,4 - 5,4 M/sec   =   6 - 11 Km/h   =   3 Beaufort

Timmy
Toshiba e750BT, WM 2003, Today Plus 0.11.0, WISbar Adv, Agenda Fusion, Pocket Slides, TomTom

uk_skinner

Timmy:

QuoteWindspeed
weathercom Rotterdam gives 8 Mph   -->  c1windsd  21
weathercom Arnhem gives    3 Mph   -->  c2windsd   8
weathercom Dublin gives   15 Mph   -->  c3windsd  39
weathercom Grenoble gives  3 Mph   -->  c4windsd   8
weathercom Hannover gives  7 Mph   -->  c5windsd  18

Can you give me the values from:

1) weather.com  8 Mph
2) city.txt ?  --->Can you provide this
3) c1windsd 21

I believed it got converted twice.  Did you use PHP with language code?  If you did then your TpRegistryWind might not be the one I thought to be.

Edit:  Can you redownlod the TpRegistryWind again?  The date on my file was 21Jan05 and I posted it on 22Jan05.  I think the one on my PC should be the one you used.  :roll:

Broesel

Quote from: Timmy
First of all the reason why the higher Beaufort numbers weren't given on my PCC. As you both already thought, there was a little meany 'blank' in the half of the 'if-else' range... In deleted that meany 'blank' with a heavy click on the delete-button... Now all the Beauforts is OK. Thank you guys for your help!!!

O.K. fine :D

QuoteWhile testing I noticed again some strange things:
Windspeed
weathercom Rotterdam gives 8 Mph   -->  c1windsd  21
weathercom Arnhem gives    3 Mph   -->  c2windsd   8
weathercom Dublin gives   15 Mph   -->  c3windsd  39
weathercom Grenoble gives  3 Mph   -->  c4windsd   8
weathercom Hannover gives  7 Mph   -->  c5windsd  18

What does the windspeedvars mean? They are no Mph and they are no Km/h. But what then?!? I think there copuld possibly a conversion mistake?!?

Some explanation:
7,6 - 12,1 Mph   =   3,4 - 5,4 M/sec   =   6 - 11 Km/h   =   3 Beaufort

Looks to me like double conversion !!!

3 mph = ~ 4,8 kmh --> 4,8 kmh converted once more : 7.72 = ~ 8 ?????

Be sure, you use the exe, that does no conversion from the already converted cityx.txt

Regards Broesel

Edit: Yes, uk_skinner was faster again  8)

Timmy

Quote from: uk_skinnerTimmy:

QuoteWindspeed
weathercom Rotterdam gives 8 Mph   -->  c1windsd  21
weathercom Arnhem gives    3 Mph   -->  c2windsd   8
weathercom Dublin gives   15 Mph   -->  c3windsd  39
weathercom Grenoble gives  3 Mph   -->  c4windsd   8
weathercom Hannover gives  7 Mph   -->  c5windsd  18

Can you give me the values from:

1) weather.com  8 Mph
2) city.txt ?  --->Can you provide this
3) c1windsd 21

I believed it got converted twice.  Did you use PHP with language code?  If you did then your TpRegistryWind might not be the one I thought to be.

Edit:  Can you redownlod the TpRegistryWind again?  The date on my file was 21Jan05 and I posted it on 22Jan05.  I think the one on my PC should be the one you used.  :roll:
Uk_skinner,

Here's the information out of city1.txt:
this.swWindS = "13";

I redownload the TpRegistryWind.

Timmy
Toshiba e750BT, WM 2003, Today Plus 0.11.0, WISbar Adv, Agenda Fusion, Pocket Slides, TomTom

uk_skinner

Then I am pretty sure it is the TpRegistryWind.exe.  Can you check your delay.txt?  Make sure it is the TpRegistryWind.exe not TpRegistryWindEurope.exe.

Timmy

Quote from: uk_skinnerThen I am pretty sure it is the TpRegistryWind.exe.  Can you check your delay.txt?  Make sure it is the TpRegistryWind.exe not TpRegistryWindEurope.exe.
Uk_skinner,

Please wait some time for my last checks! I'll report them within one hour.

FYI: I'm using the TpRegistryWind.exe that I've re-downloaded some minutes ago.

Timmy
Toshiba e750BT, WM 2003, Today Plus 0.11.0, WISbar Adv, Agenda Fusion, Pocket Slides, TomTom

Broesel

Quote from: uk_skinnerI did find an alternative for USA, www.accuweather.com.  Could you guys check this is also good for European?  Looks to me their data is totally indepdent from weather.com.  That is up-side.  The down side, the forecasttext will be different....

Checked akkuweather.com , it is nice but has a limited number of cities
(couldn't find my city), the iconnumbers don't compare with weather.com
and also the weathertextes are very different and longer as from weather.com
or yahoo. But maybe you will give it a try ?

Regards Broesel

uk_skinner

broesel:

 Thanks.  How about wetteronline?  I did some exe beofre, I gues PHP probably is much better...