From 18cca4ffddcb77d6e9fb6ad2946494d4d5836a05 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Sat, 18 Oct 2025 14:35:28 -0700 Subject: [PATCH] Update locationdata.py --- modules/locationdata.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/modules/locationdata.py b/modules/locationdata.py index d6f851e..4aadcc7 100644 --- a/modules/locationdata.py +++ b/modules/locationdata.py @@ -298,16 +298,16 @@ def get_NOAAweather(lat=0, lon=0, unit=0): def abbreviate_noaa(row): # replace long strings with shorter ones for display replacements = { - "amounts less than a tenth of an inch possible.": "< 0.1in", - "ammounts between a tenth and quarter of an inch possible.": "0.1-0.25in", - "amounts between a quarter and half an inch possible.": "0.25-0.5in", - "amounts between a half and three quarters of an inch possible.": "0.5-0.75in", - "amounts between one and two inches possible.": "1-2in", - "amounts between two and three inches possible.": "2-3in", - "amounts between three and four inches possible.": "3-4in", - "amounts between four and five inches possible.": "4-5in", - "amounts between five and six inches possible.": "5-6in", - "amounts between six and eight inches possible.": "6-8in", + "amts. less than a tenth of an inch possible.": "< 0.1in", + "amts. between a tenth and quarter of an inch possible.": "0.1-0.25in", + "amts. between a quarter and half an inch possible.": "0.25-0.5in", + "amts. between a half and three quarters of an inch possible.": "0.5-0.75in", + "amts. between one and two inches possible.": "1-2in", + "amts. between two and three inches possible.": "2-3in", + "amts. between three and four inches possible.": "3-4in", + "amts. between four and five inches possible.": "4-5in", + "amts. between five and six inches possible.": "5-6in", + "amts. between six and eight inches possible.": "6-8in", "monday": "Mon", "tuesday": "Tue", "wednesday": "Wed",