PDA

View Full Version : Current Weather conditions icon missing?



speedbump49
October 9th, 2007, 09:04 PM
Any idea why my Current Conditions weather icon is always using the icon with big red "X"? This is the "cw_no_report_icon". All my five day forecast icon's are correct. Any one else find this behavior? Any fixes?

Ron
October 10th, 2007, 07:36 AM
Not sure, I'll investigate.

speedbump49
October 10th, 2007, 04:04 PM
Hi Ron,

More info. I was playing with this tonight. When I enter my location as "Toronto", it shows a Current Conditions Icon.

But when I use the longitude/latitude settings of my home town as Oakville (about 40km away from Toronto) I do not get a current conditions icon. With my Longitude/latitude setting I'm getting current conditions data and a five day forecast with icon's which is slightly different than Toronto, and I assume is more accurate. I suppose "Toronto" is a well known City and therefore is parsing data from Custom Weather differently.

For now I will leave my location set to Toronto, but it seems like its working with my longitude/latitude with the exception of the icon.

It would be nice if it can this is a small tweak in the code and could be fixed, perhaps Custom Weather somehow requires my longitude/latitude settings to mesh with their weather stations, but this is just a guess and as I'm getting good data now (minus the icon) I think its something else.


Thanks,
-mw

speedbump49
October 10th, 2007, 04:33 PM
Hi Ron,

Digging deeper, would you know if its true that CustomWeather uses a service provider called weatherbug for regional data?

Looking at the weatherbug web site for my town, they have the same data I see in Netremote when I'm missing the Current Conditions icon, AND as it happens, they don't show any icon on their web for current conditions either. Here's the link:

http://weather.weatherbug.com/Canada/Oakville-weather.html?zcode=z5602&lang_id=en-ca&stat=CWWB

I'm thinking that when I use a City location setting of Toronto, I see a Current Conditions icon because the data is sourced direct from Customweather and when I use my longitude/latitude location I'm getting local data, minus the icon value, straight from weatherbug.

Let me know if this is the reason.

cheers,

-mw

Ron
October 12th, 2007, 09:44 AM
That is a very interesting observation. Can you send me your information in a PM so I can do some digging/question asking here?

sirbooker
December 6th, 2007, 09:17 AM
i have just read through this whole thread as i am having the same problems !!
has this been resolved yet !

paul

Ron
December 6th, 2007, 09:20 AM
Sadly speedbump49 was right in his assertion.

speedbump49
December 6th, 2007, 04:20 PM
sirbooker, The solution for me remains to use "Toronto" as my location.

You can do the same by finding a supported city close to you that is shown on the http://www.myforecast.com site. Search your location, then click on "current conditions" if the X-Icon is shown there you know you will see it in Girder. Keep searching large cities in your region till you see a real icon under current conditions and use this setting in Girder.
-mw

dsmes
December 6th, 2007, 06:01 PM
I ran across this years ago and now parse my weather directly from weatherbug. For example, in Toronto, check out http://weather.weatherbug.com/Canada/Toronto-weather/local-observations.html?zcode=z6160 for current conditions. Real easy to parse too. e.g.
div class="wXmore-obs">
<div class="wXmore-obs-title">Observations for Toronto, Canada</div>
<div class="wXmore-obs-body"><div class="wXhbdr">
<h1 id="divMoreObsTime">Data as of: 9:00 PM</h1>
<ul class="wXconditions-more-obs1">

<li>Wind Chill: <span id="divFeelsLike">16°F</span></li>
<li>Humidity: <span id="divHumidity">59%</span></li>
<li>Dew Point: <span id="divDewPoint">14°F</span></li>
<li>Avg Wind: <span id="divAvgWind">12 WSW</span></li>
<li>Pressure: <span id="divPressure">30.23"</span></li>
</ul>

<ul class="wXconditions-more-obs2">
<li>Sunrise: <span>7:36 AM</span></li>
<li>Sunset: <span>4:40 PM</span></li>
<li>Rain/Month: <span>0.00"</span></li>
...
There's even a Java applet buried on the page that gets you real-time conditions (versus the hourly update or so). For the forecast, check out http://weather.weatherbug.com/Canada/Toronto-weather/local-forecast/detailed-forecast.html?zcode=z6160
Sure beats Custom Weather!

sirbooker
December 10th, 2007, 03:14 PM
dsmes
would you mind posting your weather gml file i would like to use it as well
custom weather eats to much memory .

thanks paul

emery
December 10th, 2007, 04:03 PM
Aye, I second that.
If it would not be too much trouble, I am looking at something a bit different in the weather aspect as well. Would be way cool to take a peek at that parser. Not sure it will work in my situation, but from what I saw from previous post, would like to try selected variables in location for conditions, etc.

Learning Lua, so may get in over my head, but would like to take a stab at it.

Thanks.

Ron
December 10th, 2007, 04:49 PM
check out girder/luascript/classes/CustomWeather.lua