Table for mapping Yahoo! weather codes with Mike Afford Media (mikeafford.com) weather icons. WeatherCodes and Conditions from Yahoo! Developer Network (https://developer.yahoo.com/weather/documentation.html#codes) Day and Night Icon filenames from the extended (92 icon) symbol sets available at https://www.mikeafford.com There are 'DAY' and 'NIGHT' icons listed for each condition code, except codes 27-34, where 'day' or 'night' are part of the actual condition description, or implied (e.g. 'sunny'). Mike Afford Media icons normally only show the sun or moon as part of the symbol when the weather condition explicitly mentions 'showers' or implies broken cloud (ie. partly cloudy, but not 'cloudy'). WeatherCode Condition DayIcon NightIcon 0 tornado wsymbol_0079_tornado wsymbol_0079_tornado 1 tropical storm wsymbol_0080_tropical_storm_hurricane wsymbol_0080_tropical_storm_hurricane 2 hurricane wsymbol_0080_tropical_storm_hurricane wsymbol_0080_tropical_storm_hurricane 3 severe thunderstorms wsymbol_0024_thunderstorms wsymbol_0040_thunderstorms_night 4 thunderstorms wsymbol_0024_thunderstorms wsymbol_0040_thunderstorms_night 5 mixed rain and snow wsymbol_0021_cloudy_with_sleet wsymbol_0037_cloudy_with_sleet_night 6 mixed rain and sleet wsymbol_0021_cloudy_with_sleet wsymbol_0037_cloudy_with_sleet_night 7 mixed snow and sleet wsymbol_0021_cloudy_with_sleet wsymbol_0037_cloudy_with_sleet_night 8 freezing drizzle wsymbol_0049_freezing_drizzle wsymbol_0067_freezing_drizzle_night 9 drizzle wsymbol_0048_drizzle wsymbol_0066_drizzle_night 10 freezing rain wsymbol_0050_freezing_rain wsymbol_0068_freezing_rain_night 11 showers wsymbol_0009_light_rain_showers wsymbol_0025_light_rain_showers_night 12 showers wsymbol_0010_heavy_rain_showers wsymbol_0026_heavy_rain_showers_night 13 snow flurries wsymbol_0011_light_snow_showers wsymbol_0027_light_snow_showers_night 14 light snow showers wsymbol_0011_light_snow_showers wsymbol_0027_light_snow_showers_night 15 blowing snow wsymbol_0053_blowing_snow wsymbol_0071_blowing_snow_night 16 snow wsymbol_0019_cloudy_with_light_snow wsymbol_0035_cloudy_with_light_snow_night 17 hail wsymbol_0022_cloudy_with_light_hail wsymbol_0038_cloudy_with_light_hail_night 18 sleet wsymbol_0021_cloudy_with_sleet wsymbol_0037_cloudy_with_sleet_night 19 dust wsymbol_0056_dust_sand wsymbol_0074_dust_sand_night 20 foggy wsymbol_0007_fog wsymbol_0064_fog_night 21 haze wsymbol_0005_hazy_sun wsymbol_0005_hazy_sun 22 smoky wsymbol_0055_smoke wsymbol_0073_smoke_night 23 blustery wsymbol_0060_windy wsymbol_0078_windy_night 24 windy wsymbol_0060_windy wsymbol_0078_windy_night 25 cold wsymbol_0046_cold wsymbol_0062_cold_night 26 cloudy wsymbol_0004_black_low_cloud wsymbol_0042_cloudy_night 27 mostly cloudy (night) N/A wsymbol_0044_mostly_cloudy_night 28 mostly cloudy (day) wsymbol_0043_mostly_cloudy N/A 29 partly cloudy (night) N/A wsymbol_0041_partly_cloudy_night 30 partly cloudy (day) wsymbol_0002_sunny_intervals N/A 31 clear (night) N/A wsymbol_0008_clear_sky_night 32 sunny wsymbol_0001_sunny N/A 33 fair (night) N/A wsymbol_0041_partly_cloudy_night 34 fair (day) wsymbol_0003_white_cloud N/A 35 mixed rain and hail wsymbol_0023_cloudy_with_heavy_hail wsymbol_0039_cloudy_with_heavy_hail_night 36 hot wsymbol_0045_hot wsymbol_0061_hot_night 37 isolated thunderstorms wsymbol_0016_thundery_showers wsymbol_0032_thundery_showers_night 38 scattered thunderstorms wsymbol_0016_thundery_showers wsymbol_0032_thundery_showers_night 39 scattered thunderstorms wsymbol_0016_thundery_showers wsymbol_0032_thundery_showers_night 40 scattered showers wsymbol_0009_light_rain_showers wsymbol_0025_light_rain_showers_night 41 heavy snow wsymbol_0020_cloudy_with_heavy_snow wsymbol_0036_cloudy_with_heavy_snow_night 42 scattered snow showers wsymbol_0011_light_snow_showers wsymbol_0027_light_snow_showers_night 43 heavy snow wsymbol_0020_cloudy_with_heavy_snow wsymbol_0036_cloudy_with_heavy_snow_night 44 partly cloudy wsymbol_0002_sunny_intervals wsymbol_0041_partly_cloudy_night 45 thundershowers wsymbol_0016_thundery_showers wsymbol_0032_thundery_showers_night 46 snow showers wsymbol_0012_heavy_snow_showers wsymbol_0028_heavy_snow_showers_night 47 isolated thundershowers wsymbol_0016_thundery_showers wsymbol_0032_thundery_showers_night 3200 not available wsymbol_0999_unknown wsymbol_0999_unknown NOTES: 1) Mike Afford Media icons use the same symbol for tropical storm and hurricane, so condition codes (1) and (2) above are both mapped to wsymbol_0080_tropical_storm_hurricane 2) Currently there is no 'severe' thunderstorm icon, so (3) and (4) are both mapped to wsymbol_0024_thunderstorms and wsymbol_0040_thunderstorms_night 3) The three combinations of rain/snow/sleet are mapped to wsymbol_0021 (cloudy with sleet) and wsymbol_0037 (cloudy with sleet night) - there is also a heavy sleet icon available (0089 and 0090) which you may prefer to use for one or more of them. 4) Yahoo codes 11 and 12 both read 'showers'. In the absence of any further clues, I have mapped 'light rain showers' to 11, and 'heavy rain showers' to 12, but you may prefer to change these to your own preference (day and night icons for 'extreme' rain showers are also available) 5) Currently there is no specific snow 'flurries' icon, so 'light snow showers' (0011 and 0027) have been used for Yahoo code 13. I have assumed 46 (snow showers) to therefore be 'heavy'. 6) I have mapped 'cloudy with light snow' to code 16 (snow) and 'cloudy with heavy snow' to 43. There is also an icon for 'extreme snow' available, so you may prefer 'heavy' for code 16 and 'extreme' for code 43. 7) There is currently no night-time version of 'haze' available for code 21 (daytime version is used above) 8) Condition codes (23 blustery) and (24 windy) are both mapped to the icons for 'windy' 9) There is currently no icon for 'mixed rain and hail' code 35. 'Cloudy with heavy hail' has been used. 10) I have used 'thundery showers' to represent 'isolated' and 'scattered' thunderstorms, and 'thundershowers'. You may prefer to use 0024 (thunderstorms) and 0040 (thunderstorms_night) for 'isolated' or 'scattered'.