Update locationdata.py

This commit is contained in:
SpudGunMan
2025-10-18 14:40:39 -07:00
parent 819bbbcaf4
commit 7a1396b99d
+10 -10
View File
@@ -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",
"amounts 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",
"less than a tenth of an inch possible": "< 0.1in",
"between a tenth and quarter of an inch possible": "0.1-0.25in",
"between a quarter and half an inch possible": "0.25-0.5in",
"between a half and three quarters of an inch possible": "0.5-0.75in",
"between one and two inches possible.": "1-2in",
"between two and three inches possible.": "2-3in",
"between three and four inches possible.": "3-4in",
"between four and five inches possible.": "4-5in",
"between five and six inches possible.": "5-6in",
"between six and eight inches possible.": "6-8in",
"monday": "Mon",
"tuesday": "Tue",
"wednesday": "Wed",