Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open Weather Map - CurIcon
#1
If Im understanding this correctly, the value corresponds to a weather condition. However on the website the values are not the same as what the driver is displaying. 

https://openweathermap.org/weather-conditions



For example "Clear sky" value on driver is 32 but 01d from the above link. 

Is there some relationship or am I missing something?
Reply
#2
For backwards compatibility, all of the weather drivers since after the original Weather Channel one have mapped their values (as best we can) to those original Weather Channel ids, so that folks didn't have to re-do all of their weather screens (and so our auto-generated ones would continue to work with the existing weather condition images sets we auto-generate. The Weather Underground one and this one don't support all of those condition ids or exactly match to them.

But to see what any given id (assuming it's generated) would create, look through the two sets of weather condition images in the CQC image repo. The image names are the numbers for that condition.
Dean Roddey
Explorans limites defectum
Reply
#3
(11-07-2019, 03:13 PM)Dean Roddey Wrote: For backwards compatibility, all of the weather drivers since after the original Weather Channel one have mapped their values (as best we can) to those original Weather Channel ids, so that folks didn't have to re-do all of their weather screens (and so our auto-generated ones would continue to work with the existing weather condition images sets we auto-generate. The Weather Underground one and this one don't support all of those condition ids or exactly match to them.

But to see what any given id (assuming it's generated) would create, look through the two sets of weather condition images in the CQC image repo. The image names are the numbers for that condition.


Thanks. All fixed with the new fancy weather icons.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Weather tom 69 6,278 06-12-2019, 12:08 PM
Last Post: Dean Roddey
  I've open sourced my general purpose code Dean Roddey 0 349 03-09-2019, 06:53 PM
Last Post: Dean Roddey
  weather template help zane 20 8,792 01-13-2017, 05:48 PM
Last Post: Dean Roddey
  Weather images vanished pjgregory 1 1,577 12-31-2016, 08:18 AM
Last Post: khill
  Weather Radar potts.mike 22 6,264 05-30-2016, 07:17 AM
Last Post: kblagron
  One Driver - Multiple Comm Ports Open zra 4 1,934 05-04-2016, 08:29 AM
Last Post: zra
  Weather Underground Issue? sic0048 5 2,230 04-02-2016, 09:14 AM
Last Post: Dean Roddey
  Weather questions royalj7 2 1,473 10-09-2015, 02:09 PM
Last Post: potts.mike
  Is ther any way to open a webpage in a template? pjgregory 12 2,688 06-16-2015, 05:13 AM
Last Post: Dean Roddey
  Radar weather web widget crashed infviewer Ron Haley 12 4,178 06-03-2015, 04:52 PM
Last Post: NightLight

Forum Jump:


Users browsing this thread: 1 Guest(s)