Skip to content

Instantly share code, notes, and snippets.

@stellasphere
Last active July 29, 2026 21:59
Show Gist options
  • Select an option

  • Save stellasphere/9490c195ed2b53c707087c8c2db4ec0c to your computer and use it in GitHub Desktop.

Select an option

Save stellasphere/9490c195ed2b53c707087c8c2db4ec0c to your computer and use it in GitHub Desktop.
WMO weather interpretation code descriptions (& images)
{
"0":{
"day":{
"description":"Sunny",
"image":"http://openweathermap.org/img/wn/01d@2x.png"
},
"night":{
"description":"Clear",
"image":"http://openweathermap.org/img/wn/01n@2x.png"
}
},
"1":{
"day":{
"description":"Mainly Sunny",
"image":"http://openweathermap.org/img/wn/01d@2x.png"
},
"night":{
"description":"Mainly Clear",
"image":"http://openweathermap.org/img/wn/01n@2x.png"
}
},
"2":{
"day":{
"description":"Partly Cloudy",
"image":"http://openweathermap.org/img/wn/02d@2x.png"
},
"night":{
"description":"Partly Cloudy",
"image":"http://openweathermap.org/img/wn/02n@2x.png"
}
},
"3":{
"day":{
"description":"Cloudy",
"image":"http://openweathermap.org/img/wn/03d@2x.png"
},
"night":{
"description":"Cloudy",
"image":"http://openweathermap.org/img/wn/03n@2x.png"
}
},
"45":{
"day":{
"description":"Foggy",
"image":"http://openweathermap.org/img/wn/50d@2x.png"
},
"night":{
"description":"Foggy",
"image":"http://openweathermap.org/img/wn/50n@2x.png"
}
},
"48":{
"day":{
"description":"Rime Fog",
"image":"http://openweathermap.org/img/wn/50d@2x.png"
},
"night":{
"description":"Rime Fog",
"image":"http://openweathermap.org/img/wn/50n@2x.png"
}
},
"51":{
"day":{
"description":"Light Drizzle",
"image":"http://openweathermap.org/img/wn/09d@2x.png"
},
"night":{
"description":"Light Drizzle",
"image":"http://openweathermap.org/img/wn/09n@2x.png"
}
},
"53":{
"day":{
"description":"Drizzle",
"image":"http://openweathermap.org/img/wn/09d@2x.png"
},
"night":{
"description":"Drizzle",
"image":"http://openweathermap.org/img/wn/09n@2x.png"
}
},
"55":{
"day":{
"description":"Heavy Drizzle",
"image":"http://openweathermap.org/img/wn/09d@2x.png"
},
"night":{
"description":"Heavy Drizzle",
"image":"http://openweathermap.org/img/wn/09n@2x.png"
}
},
"56":{
"day":{
"description":"Light Freezing Drizzle",
"image":"http://openweathermap.org/img/wn/09d@2x.png"
},
"night":{
"description":"Light Freezing Drizzle",
"image":"http://openweathermap.org/img/wn/09n@2x.png"
}
},
"57":{
"day":{
"description":"Freezing Drizzle",
"image":"http://openweathermap.org/img/wn/09d@2x.png"
},
"night":{
"description":"Freezing Drizzle",
"image":"http://openweathermap.org/img/wn/09n@2x.png"
}
},
"61":{
"day":{
"description":"Light Rain",
"image":"http://openweathermap.org/img/wn/10d@2x.png"
},
"night":{
"description":"Light Rain",
"image":"http://openweathermap.org/img/wn/10n@2x.png"
}
},
"63":{
"day":{
"description":"Rain",
"image":"http://openweathermap.org/img/wn/10d@2x.png"
},
"night":{
"description":"Rain",
"image":"http://openweathermap.org/img/wn/10n@2x.png"
}
},
"65":{
"day":{
"description":"Heavy Rain",
"image":"http://openweathermap.org/img/wn/10d@2x.png"
},
"night":{
"description":"Heavy Rain",
"image":"http://openweathermap.org/img/wn/10n@2x.png"
}
},
"66":{
"day":{
"description":"Light Freezing Rain",
"image":"http://openweathermap.org/img/wn/10d@2x.png"
},
"night":{
"description":"Light Freezing Rain",
"image":"http://openweathermap.org/img/wn/10n@2x.png"
}
},
"67":{
"day":{
"description":"Freezing Rain",
"image":"http://openweathermap.org/img/wn/10d@2x.png"
},
"night":{
"description":"Freezing Rain",
"image":"http://openweathermap.org/img/wn/10n@2x.png"
}
},
"71":{
"day":{
"description":"Light Snow",
"image":"http://openweathermap.org/img/wn/13d@2x.png"
},
"night":{
"description":"Light Snow",
"image":"http://openweathermap.org/img/wn/13n@2x.png"
}
},
"73":{
"day":{
"description":"Snow",
"image":"http://openweathermap.org/img/wn/13d@2x.png"
},
"night":{
"description":"Snow",
"image":"http://openweathermap.org/img/wn/13n@2x.png"
}
},
"75":{
"day":{
"description":"Heavy Snow",
"image":"http://openweathermap.org/img/wn/13d@2x.png"
},
"night":{
"description":"Heavy Snow",
"image":"http://openweathermap.org/img/wn/13n@2x.png"
}
},
"77":{
"day":{
"description":"Snow Grains",
"image":"http://openweathermap.org/img/wn/13d@2x.png"
},
"night":{
"description":"Snow Grains",
"image":"http://openweathermap.org/img/wn/13n@2x.png"
}
},
"80":{
"day":{
"description":"Light Showers",
"image":"http://openweathermap.org/img/wn/09d@2x.png"
},
"night":{
"description":"Light Showers",
"image":"http://openweathermap.org/img/wn/09n@2x.png"
}
},
"81":{
"day":{
"description":"Showers",
"image":"http://openweathermap.org/img/wn/09d@2x.png"
},
"night":{
"description":"Showers",
"image":"http://openweathermap.org/img/wn/09n@2x.png"
}
},
"82":{
"day":{
"description":"Heavy Showers",
"image":"http://openweathermap.org/img/wn/09d@2x.png"
},
"night":{
"description":"Heavy Showers",
"image":"http://openweathermap.org/img/wn/09n@2x.png"
}
},
"85":{
"day":{
"description":"Light Snow Showers",
"image":"http://openweathermap.org/img/wn/13d@2x.png"
},
"night":{
"description":"Light Snow Showers",
"image":"http://openweathermap.org/img/wn/13n@2x.png"
}
},
"86":{
"day":{
"description":"Snow Showers",
"image":"http://openweathermap.org/img/wn/13d@2x.png"
},
"night":{
"description":"Snow Showers",
"image":"http://openweathermap.org/img/wn/13n@2x.png"
}
},
"95":{
"day":{
"description":"Thunderstorm",
"image":"http://openweathermap.org/img/wn/11d@2x.png"
},
"night":{
"description":"Thunderstorm",
"image":"http://openweathermap.org/img/wn/11n@2x.png"
}
},
"96":{
"day":{
"description":"Light Thunderstorms With Hail",
"image":"http://openweathermap.org/img/wn/11d@2x.png"
},
"night":{
"description":"Light Thunderstorms With Hail",
"image":"http://openweathermap.org/img/wn/11n@2x.png"
}
},
"99":{
"day":{
"description":"Thunderstorm With Hail",
"image":"http://openweathermap.org/img/wn/11d@2x.png"
},
"night":{
"description":"Thunderstorm With Hail",
"image":"http://openweathermap.org/img/wn/11n@2x.png"
}
}
}
@tuxthepenguin84

Copy link
Copy Markdown

96 should be "Light Thunderstorms With Hail"

@stellasphere

Copy link
Copy Markdown
Author

Updated

@Dariadeer

Copy link
Copy Markdown

Awesome, thank you!

@DrMoshtael

Copy link
Copy Markdown

Very helpful, thank you!

@ugurtekbas

Copy link
Copy Markdown

Thanks for creating this file. 👏🏼
I combine some of the descriptions with the table here, and use these descriptions for the historic weather data I get from Open-Meteo.

@alleida23

Copy link
Copy Markdown

Thank you!!

@VictorTapiaEgana

Copy link
Copy Markdown

Muchas Gracias 👏

@eamadorm

eamadorm commented Apr 4, 2024

Copy link
Copy Markdown

Thanks a lot! This is really helpful!

@danielba777

Copy link
Copy Markdown

Great, thank you!!! 🤩

@tobozo

tobozo commented May 20, 2024

Copy link
Copy Markdown

@BonBon125

Copy link
Copy Markdown

Thank you so much!

@civilspeedy

Copy link
Copy Markdown

Thank you, really helpful 👍

@srseibs

srseibs commented Sep 26, 2024

Copy link
Copy Markdown

Should the URLs all be "https:" instead of "http:" ?

@llaryall

Copy link
Copy Markdown

thanks it was really helpful for me 👍

@ibrammalik

Copy link
Copy Markdown

Thank you so much!!, really helpful 🫡👍

@yaobin-kid

Copy link
Copy Markdown

Thank you

@Austin-540

Austin-540 commented Mar 14, 2025

Copy link
Copy Markdown

Thank you!!!!

@vishaljain70

Copy link
Copy Markdown

Thank you.
I noticed that there is a gap between 3 to 45 in the list. Is something not listed?
I am interested in knowing the conditions for hot and humid, heatwave, etc. conditions.
Thanks again.

@LefterisMavrakis

Copy link
Copy Markdown

Thank you!

@cosmicle0

Copy link
Copy Markdown

thank you :)

@JSmithLab

Copy link
Copy Markdown

Incredibly helpful, thank you for making this!

@byphilipp

Copy link
Copy Markdown

This is part of WMO code table 4677. Automatic stations using other WMO code table 4680.
https://artefacts.ceda.ac.uk/badc_datadocs/surface/code.html

@onlinemax

Copy link
Copy Markdown

Really helpful thank you

@septemptus

Copy link
Copy Markdown

thank you

@kariymam

Copy link
Copy Markdown

thank you for this!

@hafizmhd

hafizmhd commented Nov 3, 2025

Copy link
Copy Markdown

Thank you!

@vishaljain70

Copy link
Copy Markdown

Many, many thanks

@17tking

17tking commented Dec 17, 2025

Copy link
Copy Markdown

Thank you for this! Helps so much!

@Dark99965

Copy link
Copy Markdown

tysm

@aitorllj93

Copy link
Copy Markdown

Thank you so much. I have included this information in a (i18n) npm package so everyone can use it and keep it up-to-date:

Language files:

Icon Mappings (don't include the icons themselves, just the names or urls):

The library itself: https://github.com/pxl-ui/weather-i18n

Everyone please feel free to include more languages, translation keys and icon mappings and I'll make sure the PRs gets merged asap so we can create a useful tooling for most common scenarios.

Also, in the process I found out there are already other standards I don't know whether they are worth it to take a look or not (WMO 4678 comes to my mind). The project is implemented in a way to cover as many standards as needed so if anyone can share their experiences I would like to figure out whether it makes sense to include more or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment