[mythtv-users] Mythweb mythweather has stars during the day and sun
knight at teksavvy.com
Tue Mar 9 03:24:58 UTC 2010
James Klaas wrote:
> On Mon, Mar 8, 2010 at 1:21 PM, Nicolas Riendeau <knight at teksavvy.com> wrote:
>>>On the mythweather page of my mythweb backend, it shows stars during the
>>>daylight hours for a clear day and the sun at night. At first I thought
>>>it might be something to do with UTC vs EST/EDT (where I am) but it
>>>doesn't make sense for that either.
>>Which source are you using? The BBC, Environment Canada, or the US National
> # Current Conditions
> * Location: Ann Arbor Municipal Airport, MI
> * Source: NWS-XML
I assume your problem is with the current conditions, right?
> National weather it appears.
Since you had mentionned UTC/GMT I thought your source might have been the BBC but it
is indeed the US National Weather Service (NWS for short).
I don't know if the info will be OK tomorrow but tonight I am getting small stars (ie
the right info) for the Ann Arbor Municipal Airport.
Try to find where the US NWS scripts are on your pc and run nwsxml.pl like so
./nwsxml.pl -u ENG KARB
Do you get the right info in the weather and weather_icon? The little stars are
usually associated with Fair and fair.jpg.
If I run it here (right now) I get:
cclocation::Ann Arbor Municipal Airport, MI
observation_time::Last Updated on Mar 8 2010, 9:53 pm EST
observation_time_rfc822::Mon, 8 Mar 2010 21:53:00 -0500
temperature_string::30.0 F (-1.1 C)
wind_string::Southwest at 3.5 MPH (3 KT)
dewpoint_string::26.1 F (-3.3 C)
wind_spdgst::3.5 (NA) mph
copyright::NOAA's National Weather Service
Which is essentially what I/you should get if you go to this URL:
Let me know what happens...
Have a nice day!
More information about the mythtv-users