Phweather - weather app for Mint ( New version 2.1 !!)

Hardware, coding, music, graphic and various applications

Moderators: Mug UK, moondog/.tSCc., [ProToS], lp, Moderator Team

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11498
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Phweather - weather app for Mint ( New version 2.0 !!)

Postby wongck » Tue Apr 28, 2015 11:42 am

Wait at least 10 secs for phweather to get the forecast information after the weather appears.
Forecast information is a lot more data, and with Atari slow networking (sorry) I need to break up the web services call.
My Stuff: FB/Falcon CT63+CTPCI ATI R7500 14+512MB 30GB HDD CF HxC_SD EtherNEC/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

Faucon2001
Atari Super Hero
Atari Super Hero
Posts: 552
Joined: Sat Oct 26, 2013 11:19 pm
Location: Brasil
Contact:

Re: Phweather - weather app for Mint ( New version 2.0 !!)

Postby Faucon2001 » Wed Apr 29, 2015 12:44 am

Sorry for the false alert.
I have been too fast! Waiting a little to pull all the info and it works.
The warning message saying that forecast was not available for these towns just confused me.

Thanks again for this new version.

Cheers,
Philippe

Firebee, Falcon, STE, Aranym Box, Hatari Pi Box.
My music http://www.philippeworld.net/
My photography http://phil-67.deviantart.com/
EasyAraMint, BeeKey and BeePi https://sites.google.com/site/emaappsarch/home

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11498
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Phweather - weather app for Mint ( New version 2.0 !!)

Postby wongck » Wed Apr 29, 2015 12:44 pm

may be change to "try again later' or "forecast will be available later"
My Stuff: FB/Falcon CT63+CTPCI ATI R7500 14+512MB 30GB HDD CF HxC_SD EtherNEC/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

Kroll
Captain Atari
Captain Atari
Posts: 166
Joined: Fri Mar 09, 2012 10:07 am

Re: Phweather - weather app for Mint ( New version 2.0 !!)

Postby Kroll » Wed Apr 29, 2015 9:46 pm

Hi,

today I install on my HD new version of this application. Please look at why there is differences in the indications in both cases written Cracow, PL at the top of an earlier version, below the newest version 2.00. The temperature nearer the truth at this time are indications in the earlier version (7 C). In earlier version (Kraków, malopolskie) there are in polish language name of City and Province

What do you think about it ?

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

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11498
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Phweather - weather app for Mint ( New version 2.0 !!)

Postby wongck » Thu Apr 30, 2015 2:55 am

Kroll wrote:today I install on my HD new version of this application. Please look at why there is differences in the indications in both cases written Cracow, PL at the top of an earlier version, below the newest version 2.00. The temperature nearer the truth at this time are indications in the earlier version (7 C). In earlier version (Kraków, malopolskie) there are in polish language name of City and Province

The old version is running for you?
That's something new. For me the pretty ladies tells me there's an error.
How did you manage that?

Kroll wrote:What do you think about it ?


The old version is using MSN weather web services.
The new version is using OpenWeatherMap web services.
So there will be differences readings as the provider is different.
I wonder if MSN weather is more accurate than OpenWeatherMap.

The name of the city is returned also by the web services.
If it returns in Polish then PH weather will display that.
So it looks like MSN is a bigger network (wild guess) than OpenWeatherMap as it seems to support local languages.
My Stuff: FB/Falcon CT63+CTPCI ATI R7500 14+512MB 30GB HDD CF HxC_SD EtherNEC/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
jfl
Atari Super Hero
Atari Super Hero
Posts: 788
Joined: Tue Jul 18, 2006 10:55 pm
Location: Liège, Belgium
Contact:

Re: Phweather - weather app for Mint ( New version 2.0 !!)

Postby jfl » Thu Apr 30, 2015 6:40 am

wongck wrote:The old version is running for you?
That's something new. For me the pretty ladies tells me there's an error.

The previous version works for me too. Both the current weather and the forecast are displayed correctly.
Jean-François
GEMDict – GEMClip

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11498
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Phweather - weather app for Mint ( New version 2.0 !!)

Postby wongck » Thu Apr 30, 2015 2:22 pm

I tried out v1.22 and it does not work for me, in fact some cities crashes it,

Few weeks back it was like "service cannot be found" or something like that.
And a city not found error in ph weather.

At least today, I can get some data... and crashes phweather.
I debugged it and the XML is somewhat changed. For example the provider is wdt now instead of previously imap.

I treid using Orlando, FL.
previous xml from MSN web service(from my save test data)

Code: Select all

<weatherdata>
<weather weatherlocationcode="wc:USFL0521" weatherlocationname="Windermere, FL" zipcode="34786" weatherfullname="Windermere, Florida" searchlocation="Disney University, Orange, FL, United States" searchdistance="5.28888141596562" searchscore="0.95" url="http://local.msn.com/weather.aspx?eid=388825&q=Windermere-FL&zip=34786" imagerelativeurl="http://blst.msn.com/as/wea3/i/en-us/" degreetype="F" provider="iMap" isregion="False" region="" alert="" searchresult="Windermere, FL (closest location for Disney University, Orange, FL, United States)" lat="28.4280567169189" lon="-81.5783309936523" entityid="388825">
<current temperature="73" skycode="31" skytext="Clear"/>
</weather>
</weatherdata>


xml now from MSN web service (fresh from internet)

Code: Select all

<weatherdata xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><weather weatherlocationcode="wc:USFL0372" weatherlocationname="Orlando, FL" weatherfullname="Orlando, FL" searchlocation="" searchdistance="" searchscore="" url="http://a.msn.com/54/en-US/ct28.538,-81.377?ctsrc=win7" imagerelativeurl="http://blob.weather.microsoft.com/static/weather4/en-us/" degreetype="C" provider="wdt" isregion="True" region="FL" alert="" searchresult="" lat="28.538" long="-81.377" entityid="24611"><current temperature="20" skycode="26" skytext="Cloudy" /></weather></weatherdata>


I am lost as to why the older version worked for some of you, unless the provider is changed only for some region so it depends on where the request is routed (I also assume Akamai may be involved in speeding up the response since I know MS uses Akamai).

In any case, it looks like I should make phweather also able to get from MSN as well as OpenWeatherMap.... :mrgreen:
My Stuff: FB/Falcon CT63+CTPCI ATI R7500 14+512MB 30GB HDD CF HxC_SD EtherNEC/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11498
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Phweather - weather app for Mint ( New version 2.0 !!)

Postby wongck » Mon May 04, 2015 12:33 am

Over the weekend while working on phweather, I noticed that there were umpteen times when OpenWeatherMaps return "cannot connect" and "temporary suspended" error. So the service is relatively poor as compared to MSN.

Also the last observatory time seems more frequent for MSN, there was once the observatory time was half hour ago for MSN while that of OWM was more than 6 hours ago. This may explain the deviation in weather forecasting seen in earlier post.
My Stuff: FB/Falcon CT63+CTPCI ATI R7500 14+512MB 30GB HDD CF HxC_SD EtherNEC/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11498
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Phweather - weather app for Mint ( New version 2.1 !!)

Postby wongck » Sun May 10, 2015 3:09 pm

New version 2.1 now supports both MSN and Open Weather Map service.
The weather service is selectable for each window, so you may want to try out both to see which one work best for you.

Get it from the usual place https://sites.google.com/site/probehous ... -downloads
My Stuff: FB/Falcon CT63+CTPCI ATI R7500 14+512MB 30GB HDD CF HxC_SD EtherNEC/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

vido
Captain Atari
Captain Atari
Posts: 467
Joined: Mon Jan 31, 2011 7:39 pm

Re: Phweather - weather app for Mint ( New version 2.1 !!)

Postby vido » Sat May 16, 2015 1:47 pm

Thanks Wongck!
MSN and Open Weather Map shows totaly different weather for my place. Seems to MSN is much more accurate.

Paolo
Captain Atari
Captain Atari
Posts: 456
Joined: Tue Sep 28, 2004 3:43 pm
Location: Italy

Re: Phweather - weather app for Mint ( New version 2.1 !!)

Postby Paolo » Fri May 22, 2015 5:06 pm

Hi, wongck!
I noticed that the forecast isn't available with OpenWeather. Am I doing something wrong? Shall I wait more?

Another question: I noticed that some icons are the same for probably slightly different weather. Is there a correspondence list? Maybe everyone of us could find (and share) some more icons...

User avatar
TheNameOfTheGame
Atari Super Hero
Atari Super Hero
Posts: 834
Joined: Mon Jul 23, 2012 8:57 pm
Location: Almost Heaven, West Virginia

Re: Phweather - weather app for Mint ( New version 2.1 !!)

Postby TheNameOfTheGame » Fri Mar 03, 2017 3:49 am

disregard

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11498
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Phweather - weather app for Mint ( New version 2.1 !!)

Postby wongck » Fri Mar 03, 2017 12:32 pm

TheNameOfTheGame wrote:disregard

sure
My Stuff: FB/Falcon CT63+CTPCI ATI R7500 14+512MB 30GB HDD CF HxC_SD EtherNEC/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 11498
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Phweather - weather app for Mint ( New version 2.1 !!)

Postby wongck » Fri Mar 03, 2017 12:36 pm

Paolo wrote:Another question: I noticed that some icons are the same for probably slightly different weather. Is there a correspondence list? Maybe everyone of us could find (and share) some more icons...


Basic image is as follows:
cloudy = index 9
few-showers = index 3
foggy = index 11
partly-cloudy = index 8
snow = index 6
heavy snow = index 7
thunderstorm = index 2
sun = index 1
windy = index 10 = index
Rainy = index 4
hail = index 5
unknown = index 1 (SUN)
My Stuff: FB/Falcon CT63+CTPCI ATI R7500 14+512MB 30GB HDD CF HxC_SD EtherNEC/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list


Social Media

     

Return to “Professionals”

Who is online

Users browsing this forum: No registered users and 1 guest