Open ctrachte opened 3 years ago
Depending on what you & @andrewdeclue want done with the NOAA icons here are some free font based icons https://www.iconfinder.com/iconsets/weather-color-2
Here is a full list of NOAA weather conditions and the icons they use https://w1.weather.gov/xml/current_obs/weather.php
Found a observation that did not have an icon "light rain,mist". It's coming back as null but there is an icon https://w1.weather.gov/images/fcicons/ra1.jpg but I think the API is returning https://www.weather.gov/images/fcicons/ra1.jpg
Thanks for leaving these comments to track this issue @MrRedBeard
Same for "unknown precip,mist". I have no idea why the current observation is unknown, even says it on the weather page for that location. https://forecast.weather.gov/MapClick.php?lat=47.41515000000004&lon=-120.29472999999996#.X_NyXdhKi70
Also need to account for "NA" https://forecast.weather.gov/MapClick.php?lat=40.14390000000003&lon=-120.12976999999995#.X_OCethKi70
@andrewdeclue tagging you so you can checkup on @MrRedBeard 's comments
@andrewdeclue yell at me if you have any questions about NOAA specifically
I ended up doing some CSS and Bootstrap to improve the look of the current icons being pulled. Tab was looking at the error handling and I talked to him about what I was doing with it... but decided to go ahead and commit the small change rather than something that I think would conflict. I'll swing back around to the missing icons and potentially complete icon replacement.
Weather.gov's API does not always return an image for the weather condition.
We need to phase this param out of the Simplifly app, and reference our own images for weather conditions from the
/assets
folder./assets
folder locally.