From 2b695e2f2e6c1679ba90630b835ac23ef920636d Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Mon, 30 Sep 2024 16:43:10 -0700 Subject: [PATCH] Update wx_meteo.py --- modules/wx_meteo.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/wx_meteo.py b/modules/wx_meteo.py index 0ff6768..8d6c3b6 100644 --- a/modules/wx_meteo.py +++ b/modules/wx_meteo.py @@ -100,6 +100,10 @@ def get_wx_meteo(lat=0, lon=0, unit=0): code_string = "Partly Cloudy" elif daily_weather_code[i] == 3: code_string = "Overcast" + elif daily_weather_code[i] == 5: + code_string = "Haze" + elif daily_weather_code[i] == 10: + code_string = "Mist" elif daily_weather_code[i] == 45: code_string = "Fog" elif daily_weather_code[i] == 48: @@ -132,6 +136,10 @@ def get_wx_meteo(lat=0, lon=0, unit=0): code_string = "Snow: Heavy" elif daily_weather_code[i] == 77: code_string = "Snow Grains" + elif daily_weather_code[i] == 78: + code_string = "Ice Crystals" + elif daily_weather_code[i] == 79: + code_string = "Ice Pellets" elif daily_weather_code[i] == 80: code_string = "Rain showers: Slight" elif daily_weather_code[i] == 81: @@ -146,6 +154,8 @@ def get_wx_meteo(lat=0, lon=0, unit=0): code_string = "Thunderstorm" elif daily_weather_code[i] == 96: code_string = "Hailstorm" + elif daily_weather_code[i] == 97: + code_string = "Thunderstorm Heavy" elif daily_weather_code[i] == 99: code_string = "Hailstorm Heavy"