IT'S MORE THAN WEATHER—IT'S MyWeather.

Icon Mapping By Data Type

  • Each data type contains a different set of @icon and @sky possibilities.
  • Use the master icon mapping reference here if utilizing multiple data types on a page.
Hourly Icon Mapping
Segment Period Icon Mapping
Day Summary Icon Mapping
Current Conditions Icon Mapping

Hourly Icon Mapping

  • There are three icon codes presented in the hourly forecast data.
  • The @ccover attribute only represents the forecasted cloud coverage, represented by icons 1, 2, 10, 11, 12, 21, 22, 30, 31, and 32.
  • The @precip attribute only represents the forecasted precipitation, represented by icons 4, 5, 6, 7, 8, 9, 24, 25, 26, 27, 28, 29.
  • A @precip attribute value of '0' means there is no forecasted precipitation.
  • The @icon attribute selects the @ccover value if @precip = '0'. Otherwise, it selects the @precip value.
  • You can create an hourly display with separate cloud cover and precip icons, or use the @icon attribute for a single icon display.
@icon @ccover @precip Example
1, 21 1, 21 0 (no icon) (clear)
2, 22 2, 22 0 (no icon) (cloudy)
4, 24 1, 2, 10, 11, 12, 21, 22, 30, 31, 32 4, 24 (mix)
5, 25 1, 2, 10, 11, 12, 21, 22, 30, 31, 32 5, 25 (rain)
6, 26 1, 2, 10, 11, 12, 21, 22, 30, 31, 32 6, 26 (snow)
7, 27 1, 2, 10, 11, 12, 21, 22, 30, 31, 32 7, 27 (mix chance or likely)
8, 28 1, 2, 10, 11, 12, 21, 22, 30, 31, 32 8, 28 (rain chance or likely)
9, 29 1, 2, 10, 11, 12, 21, 22, 30, 31, 32 9, 29 (snow chance or likely)
10, 30 10, 30 0 (no icon) (mostly clear)
11, 31 11, 31 0 (no icon) (mostly cloudy)
12, 32 12, 32 0 (no icon) (partly cloudy)

Segment Period Icon Mapping

@icon @sky (possible descriptions to accompany icon) Example
1, 21 Clear
2, 22 Cloudy
4, 24 Heavy Mix
5, 25 Heavy Rain
6, 26 Heavy Snow
7, 27 Light Mix
8, 28 Light Rain
9, 29 Light Snow
11, 31 Mostly Cloudy
12, 32 Partly Cloudy

Day Summary Icon Mapping

@icon @sky (possible descriptions to accompany icon) Example
1, 21 Sunny
2, 22 Cloudy, Chance Flurries, Chance Showers, Chance T-Storms, Ice Possible, Ice/Sleet Possible, Icy Mix Possible, Mix Possible, Scattered T-Storms, Sleet Possible
3, 23 Icy, Ice and Sleet, Ice Possible, Ice/Sleet Possible
4, 24 Heavy Rain/Snow, Rain/Snow, Icy Mix
5, 25 Heavy Rain
6, 26 Heavy Snow, Thundersnow
7, 27 Light Rain/Snow, Ice Possible, Ice/Sleet Possible, Icy, Icy Mix, Icy Mix Possible, Mix Possible, Rain/Snow, Sleet, Sleet Possible
8, 28 Light Rain, Rain
9, 29 Light Snow, Snow
10, 30 Mostly Sunny, Chance Flurries, Ice Possible, Ice/Sleet Possible, icy Mix Possible, Isolated Showers, Isolated T-Storms, Mix Possible, Sleet Possible
11, 31 Mostly Cloudy, Chance Flurries, Chance Showers, Chance T-Storms, ice Possible, Ice/Sleet Possible, Icy Mix Possible, Mix Possible, Scattered T-Storms, Sleet Possible
12, 32 Partly Cloudy, Chance Flurries, Chance Showers, Chance T-Storms, Ice Possible, Icy Mix Possible, Isolated T-Storms, Mix Possible,Sleet Possible
13, 33 Snow Showers, Thundersnow
14, 34 Rain, Isolated Showers, Scattered Showers
15, 35 Isolated T-Storms, Scattered T-Storms
16, 36 Sleet, Sleet Possible
17, 37 Thunderstorms

Current Conditions Icon Mapping

@icon @sky (possible descriptions to accompany icon) Example
1, 21 Clear
2, 22 Cloudy
3, 23 Freezing Rain
4, 24 Heavy Mix
5, 25 Heavy Rain
6, 26 Heavy Snow
7, 27 Light Mix
8, 28 Light Rain
9, 29 Light Snow
10, 30 Mostly Clear
11, 31 Mostly Cloudy
12, 32 Partly Cloudy
13, 33 Partly Cloudy Flurries
14, 34 Partly Cloudy Showers
15, 35 Partly Cloudy T-Storm
16, 36 Sleet
17, 37 T-Storm
18, 38 Foggy
19, 39 Hazy
20, 40 Windy