From b549d8220c5789f7873193e25395845c63ef9de2 Mon Sep 17 00:00:00 2001 From: NCLanceman Date: Thu, 19 Jun 2025 22:45:49 -0500 Subject: [PATCH] cleanup details --- __pycache__/iconSelector.cpython-311.pyc | Bin 2888 -> 2751 bytes iconSelector.py | 6 ++---- weather.py | 14 +++++--------- 3 files changed, 7 insertions(+), 13 deletions(-) diff --git a/__pycache__/iconSelector.cpython-311.pyc b/__pycache__/iconSelector.cpython-311.pyc index a00097b88b091fce9954fa573f08044b1f9d0ffc..59bf32068b0793e4b09b1a119cfb2c827b2482f2 100644 GIT binary patch delta 429 zcmW-dJ4*vW5XX1#l6&ToKrk4I#s{bo9}rNGh~O8vCfZyVGRGOYJlI46HnEV@2^X*w zERa=X7j@Nw5fULV}PCM$&V54a?Z@MjpsYic~$Y)gzt= zy6Rq%ycf|{xe8m2O40YX>s1ereW}ab4E|J`uLQQ1Nv)!7Y?UiT&n>vVTWZ#X$f33| z>}Va{UdJ*U5u4;vJhxeDf!M)DqzUtc1ww|fNLV5)6X|#ql+UO!CGUxo0>6g>>ok(|c{r#Sn@8{oHe4+#&Mk7Q+{s9wJ3yNf*_g-R8@*nRjNuWCK>^gw~%`nBRfIQj%c&M zfI4+(WTfs4tx(mWqI-ufj2R>U2i=%EahJKz_UC)|eRsZR|1RH7JKtA#c_r@Xnn=!`y?W`SrD%7G00qT*MKbOp5~fh zfQf3MZ=s(<&7tNY4+ZoKV1t8dL-B&S4y=_>ilFVW+SFfqYfVctt#*8r+O58ltzP86 zr*vmfNgPr6c{SpX@>r&9LXq%*P$tYIpR_;O8irFh`{G*YkIBs^!g$5Y$s6POG}R8A zQ@;yOqOctV^^>lLZ9`*$+sQ9ur?HF$sTKR7e0R9j{*dZQM*Sd;1p3u#Rjty#?T2ko z?#V!Q;+|5^&|AN0njiVu8iut}YMkJa1OGr#o1*`x>WEbLWZXFgwLwXt(^pD%<1Jrp zzg870nj=&R^MnP$B4LR@A2u0w%@hrq9Oj?-BJ4pwkS|q(y=9E!M)U)5CphP0wlezP jJ!aPV{stationName}\n{condition} \n{temp} \n{windData} \n{humidity} \n{precipitation}" + result = f"{stationName}\n{condition}\n{temp}\ + \n{windData}\n{humidity}\n{precipitation}" return result -# Results at Hector Field - Fargo Int'l Airport -# request_addr = "https://api.weather.gov/stations/KFAR/observations/latest" -# Results at Dothan Regional Airport -# request_addr = "https://api.weather.gov/stations/KDHN/observations/latest" - request_addr = f"https://api.weather.gov/stations/{stationName}/observations/latest" @@ -105,5 +101,5 @@ else: weatherIcon = iconSelect.imageSelector(parsedCondition, timeOfDay) # print(f" \u2601 {condition}, {roundedTemp} F") print( - f"{weatherIcon} {roundedTemp}F") + f"{weatherIcon}{roundedTemp}\u00b0F") print(tooltipPrinter(request_json))