From b9a2f56e3936ed30fe6450898868cc529245a795 Mon Sep 17 00:00:00 2001 From: Kelly Date: Tue, 11 Aug 2026 20:47:31 -0700 Subject: [PATCH] fix meteo precipitation probability fixes https://github.com/SpudGunMan/meshing-around/issues/329 Co-Authored-By: va3vbe <209848734+va3vbe@users.noreply.github.com> --- modules/wx_meteo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/wx_meteo.py b/modules/wx_meteo.py index defd037..ffeb416 100644 --- a/modules/wx_meteo.py +++ b/modules/wx_meteo.py @@ -174,9 +174,9 @@ def get_wx_meteo(lat=0, lon=0, unit=0): # check for precipitation if daily_precipitation_hours[i] > 0: if unit == 0: - weather_report += "Precip: " + str(round(daily_precipitation_probability_max[i],2)) + "in, in " + str(round(daily_precipitation_hours[i],2)) + " hours. " + weather_report += "Precip: " + str(round(daily_precipitation_probability_max[i],2)) + "% chance, in " + str(round(daily_precipitation_hours[i],2)) + " hours. " else: - weather_report += "Precip: " + str(round(daily_precipitation_probability_max[i],2)) + "mm, in " + str(round(daily_precipitation_hours[i],2)) + " hours. " + weather_report += "Precip: " + str(round(daily_precipitation_probability_max[i],2)) + "% chance, in " + str(round(daily_precipitation_hours[i],2)) + " hours. " else: weather_report += "No Precip. "