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
  Open sourcing CQC Dean Roddey 10 423 08-05-2020, 08:40 PM
Last Post: rhosch
  What is everyone using for weather info? ghurty 11 618 04-23-2020, 08:00 AM
Last Post: Dean Roddey
  Weather tom 69 10,077 06-12-2019, 12:08 PM
Last Post: Dean Roddey
  I've open sourced my general purpose code Dean Roddey 0 552 03-09-2019, 06:53 PM
Last Post: Dean Roddey
  weather template help zane 20 9,594 01-13-2017, 05:48 PM
Last Post: Dean Roddey
  Weather images vanished pjgregory 1 1,847 12-31-2016, 08:18 AM
Last Post: khill
  Weather Radar potts.mike 22 7,013 05-30-2016, 07:17 AM
Last Post: kblagron
  One Driver - Multiple Comm Ports Open zra 4 2,250 05-04-2016, 08:29 AM
Last Post: zra
  Weather Underground Issue? sic0048 5 2,583 04-02-2016, 09:14 AM
Last Post: Dean Roddey
  Weather questions royalj7 2 1,666 10-09-2015, 02:09 PM
Last Post: potts.mike

Forum Jump:


Users browsing this thread: 1 Guest(s)