occasional wrong information of temperature
Bug #1131488 reported by
Jack Yu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
indicator-china-weather |
Invalid
|
Undecided
|
Zhang Zhao |
Bug Description
I found that sometimes, the current temperature is lower than the min temperature or higher than the max temperature. Is this a program bug or source information error?
---------
After discussion at blueprint https:/
Changed in indicator-china-weather: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
description: | updated |
Changed in indicator-china-weather: | |
importance: | Medium → High |
status: | Confirmed → In Progress |
milestone: | none → 1.0.1 |
assignee: | nobody → Zhang Zhao (vaguedream) |
Changed in indicator-china-weather: | |
status: | In Progress → Invalid |
importance: | High → Undecided |
tags: | added: ubuntukylin |
To post a comment you must log in.
We use two urls to get the current weather infomation: www.weather. com.cn/ data/sk/ 101010100. html www.weather. com.cn/ data/cityinfo/ 101010100. html
http://
http://
Use first url we get: :{"city" :"北京"," cityid" :"101010100" ,"temp" :"3","WD" :"北风"," WS":"2级" ,"SD":" 18%","WSE" :"2","time" :"08:45" ,"isRadar" :"1","Radar" :"JC_RADAR_ AZ9010_ JB"}}
{"weatherinfo"
current temperature,wind direction,wind strength, humidity,published time
Use second url we get: :{"city" :"北京"," cityid" :"101010100" ,"temp1" :"7℃"," temp2": "-4℃"," weather" :"晴","img1" :"d0.gif" ,"img2" :"n0.gif" ,"ptime" :"08:00" }}
{"weatherinfo"
high temp,low temp,weather, published time
the two published time is not the same,and sometimes the current temperature is lower than the min temperature.Before we find better weather api,we have no method to resolve this bug.