Weathericon - collection of weather icons.
This is a redesigned set of icons, meant to be used in conjunction with Locationforecast/2.0. They are available in PNG, SVG and PDF formats.
The icons are not meant to be called on demand like earlier versions, but to be downloaded as a gzipped TAR archive and packed with your application. This will result in better performance and minimize API traffic.
The original icons as used on yr.no can be found on https://github.com/YR/weather-symbols/.
Some symbols come in three different variants, for day, night and polar twilight respectively. Others (the ones without sun or moon) are constant during the day. Locationforecast/2.0 will specify the correct variant to use for each hour.
You can potentially try to reconstruct the weather icons in the API from the locationforecast data. A description of the symbolalgorithms is too long to document and support officially, but you can have a look at the source code here if you are interested: https://github.com/metno/weather_symbol.
|heavyrainandthunder||11||Heavy rain and thunder|
|heavyrainshowers||41||Heavy rain showers|
|heavyrainshowersandthunder||25||Heavy rain showers and thunder|
|heavysleetandthunder||32||Heavy sleet and thunder|
|heavysleetshowers||43||Heavy sleet showers|
|heavysleetshowersandthunder||27||Heavy sleet showers and thunder|
|heavysnowandthunder||34||Heavy snow and thunder|
|heavysnowshowers||45||Heavy snow showers|
|heavysnowshowersandthunder||29||Heavy snow showers and thunder|
|lightrainandthunder||30||Light rain and thunder|
|lightrainshowers||40||Light rain showers|
|lightrainshowersandthunder||24||Light rain showers and thunder|
|lightsleetandthunder||31||Light sleet and thunder|
|lightsleetshowers||42||Light sleet showers|
|lightsnowandthunder||33||Light snow and thunder|
|lightsnowshowers||44||Light snow showers|
|lightssleetshowersandthunder||26||Lights sleet showers and thunder|
|lightssnowshowersandthunder||28||Lights snow showers and thunder|
|rainandthunder||22||Rain and thunder|
|rainshowersandthunder||6||Rain showers and thunder|
|sleetandthunder||23||Sleet and thunder|
|sleetshowersandthunder||20||Sleet showers and thunder|
|snowandthunder||14||Snow and thunder|
|snowshowersandthunder||21||Snow showers and thunder|
This will download a gzipped TAR archive of all icons in all formats.
This will return a JSON structure with textual explanations for each code in various languages, as well as the old numerical symbol id used by previous versions of Locationforecast.
The weather icons are copyright (c) 2015-2017 Yr and licensed under the MIT License.
See https://github.com/YR/weather-symbols/blob/master/LICENSE for more information.
New icon set launched together with Locationforecast 2.0
New, redesigned icons now using mnemonic codes instead of numbers (and arithmetic!).