mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-07-05 09:21:23 +02:00
Update locationdata.py
This commit is contained in:
+10
-10
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user