[mythtv-commits] Ticket #1988: MythWeather gives inconsistent reports (due to MSNBC data)
MythTV
mythtv at cvs.mythtv.org
Fri Jun 23 14:11:41 UTC 2006
#1988: MythWeather gives inconsistent reports (due to MSNBC data)
-------------------------+--------------------------------------------------
Reporter: anonymous | Owner: ijr
Type: defect | Status: new
Priority: major | Milestone:
Component: mythweather | Version: 0.19
Severity: medium |
-------------------------+--------------------------------------------------
The MSNBC URL used to collect the weather data gives inconsistent reports.
Loading that URL into a browser and compare the results by hitting the
reload button.
A different weather source is needed.
Example:
[http://www.msnbc.com/m/chnk/d/weather_d_src.asp?acid=USMI0061]
Gives:
(1 - 6/23/2006 at 10:05) function makeWeatherObj() { this.swCity = "Bay
City"; this.swSubDiv = "MI"; this.swCountry = "USA"; this.swRegion =
"United States"; this.swTemp = "68"; this.swTempCel =
Math.round((5/9)*(this.swTemp-32)); this.swCIcon = "33"; this.swWindS =
"10"; this.swWindD = "SSW"; this.swBaro = "29.82"; this.swHumid = "94";
this.swReal = "68"; this.swUV = "0"; this.swVis = "5.00"; this.swLastUp =
"06/19/2006 01:55:00"; this.swConText = "Fair"; this.swFore =
"3|4|5|6|7|06/20/2006|06/21/2006|06/22/2006|06/23/2006|06/24/2006|30|32|38|30|38|4|24|28|4|28|81|77|82|83|82|20|10|40|20|30|33|29|29|29|29|23|4|4|4|4|56|58|66|63|61|";
this.swAcid = "USMI0061"; }
----
(2 - 6/23/2006 at 10:06) function makeWeatherObj() { this.swCity = "Bay
City"; this.swSubDiv = "MI"; this.swCountry = "USA"; this.swRegion =
"United States"; this.swTemp = "66"; this.swTempCel =
Math.round((5/9)*(this.swTemp-32)); this.swCIcon = "34"; this.swWindS =
"9"; this.swWindD = "N"; this.swBaro = "30.01"; this.swHumid = "68";
this.swReal = "66"; this.swUV = "3"; this.swVis = "10.00"; this.swLastUp =
"06/20/2006 08:54:00"; this.swConText = "Fair"; this.swFore =
"3|4|5|6|7|06/20/2006|06/21/2006|06/22/2006|06/23/2006|06/24/2006|32|38|37|37|32|24|50|27|27|24|77|80|84|80|77|10|60|30|30|20|45|47|29|33|29|16|27|4|23|4|59|67|63|61|58|";
this.swAcid = "USMI0061"; }
----
(3 - 6/23/2006 at 10:07) function makeWeatherObj() { this.swCity = "Bay
City"; this.swSubDiv = "MI"; this.swCountry = "USA"; this.swRegion =
"United States"; this.swTemp = "79"; this.swTempCel =
Math.round((5/9)*(this.swTemp-32)); this.swCIcon = "34"; this.swWindS =
"7"; this.swWindD = "WSW"; this.swBaro = "29.98"; this.swHumid = "61";
this.swReal = "80"; this.swUV = "5"; this.swVis = "10.00"; this.swLastUp =
"06/22/2006 09:56:00"; this.swConText = "Fair"; this.swFore =
"5|6|7|1|2|06/22/2006|06/23/2006|06/24/2006|06/25/2006|06/26/2006|37|30|32|32|38|27|4|24|24|28|84|71|77|80|80|30|20|20|20|30|29|33|31|29|11|4|23|11|4|14|58|51|56|61|62|";
this.swAcid = "USMI0061"; }
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/1988>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list