From 0522cbeaacba335adaf51024fc5ddb9357f27c57 Mon Sep 17 00:00:00 2001 From: Matt Walsh Date: Mon, 14 Nov 2022 13:53:57 -0600 Subject: [PATCH] add new cold regional icon --- server/images/r/cold.gif | Bin 0 -> 9600 bytes server/scripts/modules/icons.js | 8 +++++++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 server/images/r/cold.gif diff --git a/server/images/r/cold.gif b/server/images/r/cold.gif new file mode 100644 index 0000000000000000000000000000000000000000..4fb6c7f61b07963d4e39f3431ad2626729c4585b GIT binary patch literal 9600 zcmbuES5VV!_pW~g2q6Rrp@q;wDAIdJk={`RL_md5rTQWwDxxNo5JK-=dhZYrDH?iJ zdIzNo3W$vtTeAJ{Zy)YG^Udt%;F)#4X0EyJb(@--Xll8g2MmFshX6naaB?BEEQnX! z@_`Z>Efk=I0klT|EgbO68l&L=8XllU05k$Xivegvx<7FMEgqDb+eJ%Ypd|vdL?&u7 z@F$s(mI6>ynP_PMEghhxL22nQS{6Xd2B=xAw4A>K`=303mV=-c0JLWSwE#gY{5x>b z3VEm{z@HLcS{Wm)9H5m$Xk{o`xd5#Spj9!`ssUOxj9Mi?t6~3B4+QkB(Q1Tf4FIhc zO{kYF;#1$#){HbasuFIXP}Y+z{a}rBN|@!W&-{mH?4K!01nnMSbA*UCWTCD1p))- z21zLHwYQ|rEy8YLyTOau{R1yMTifd(`Q_j}n8L&IEhpr;fEc)l^(8u_iuY?2zj_4P z38YwLn)KCO#OU6q;?!X0p)$=B4A_L9U*`#f(+zz_94Z$m=IEq9TP~qz2OJy zd<$bgY>25r+}b#FZ%cWC5GoD%CtDQ-@M#HRup4NDXcoaT+cuJtS@Kh=3Vq@?Xs9V2 zgNL9!5xxl`zS4_sPvE<6so=YdkO8d%3N9`1Z>Ra43tsHm^ekz%HyV>M>_WQfdU$u^ zI35lG#h`dS{pFFzQcO?y#A3bk*g|*x7y+`+OvR5H?<17KPAd-27X3m={q>=I4-_lFzd@PA(AZA{B^wuNHm}4g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i`8>x z7E~|7-BLE05{dlV6KrtG`f0*6AFoqq9NaXOv)PhhGha#xAL^&vg6zN)LCxIXTevLl zcyIAY`1$2x5UZzCgu}Ink)pKkdMEkndA|+f9wNz8ZVX<^Q*I$nrwf~LPQlmSyOJe+ zd*fub7WeZ|d(Yh?&H@j31+stc0u0=WV{U|G668bFnq(@anuLW8S2J5}1H}Ra$<0a* zZNDAWx|ZCUn$Ft@x?(D$jOKf4*}wAb zkP#NT%4jby!3!@t`V?exs6#xnY#>gnK!&{dn0jpFRjkK9c^N@7%K2nJV(oWe@eu0Y z(xo&kly<*zWc@Aw6~-~ZumtmEf!>bt!Eeo>5OU6nrN7K~&rmNo?8jZN2HiW&tshLT zpY$D2SOjzPg7chs?L~jE0%Pr+=0OIkGC|DBg}3S#mo2VkUwqMSff?MYc|2|v=#j71 zYbu%$bQ=@Np!e3kSgt|ELh?@fsv`fR1)qA91#V_q{9eJ^JqcS2f7xkx0+0u^4s!s? zSJk3_RJ4XB-@4d8*jDatcy1c^b&%v5>-p3&Si}P>8kj3iP;c4yh&a8-ec7n;VU+c@ zqWf3Ft3RtW&|3wc9(Z8}KO+XKf61Mbr?X%FJ@Ics>p@BQfF)sWtQ^9gPPsG3>7ofx z0J}Enr<+?D7*(Lp)&?$FJ#)1}e!s)xATYwu&4~4TX3v)+8-fBX20DAcJKb%PpfOR* z_UB#>Ul>~y$bJiJOlULX$@vJr8vv*!G^Q8ezb*$x@%oAUlM+3IK@8> oYsJX { case 'skc-n': case 'nskc': case 'nskc-n': + case 'cold-n': return addPath('Clear-1992.gif'); case 'bkn': @@ -135,6 +136,9 @@ const icons = (() => { case 'blizzard': return addPath('Blowing Snow.gif'); + case 'cold': + return addPath('cold.gif'); + default: console.log(`Unable to locate regional icon for ${conditionName} ${link} ${isNightTime}`); return false; @@ -142,7 +146,7 @@ const icons = (() => { }; const getWeatherIconFromIconLink = (link, _isNightTime) => { - if (!link) return; + if (!link) return false; // internal function to add path to returned icon const addPath = (icon) => `images/${icon}`; @@ -166,11 +170,13 @@ const icons = (() => { case 'skc': case 'hot': case 'haze': + case 'cold': return addPath('CC_Clear1.gif'); case 'skc-n': case 'nskc': case 'nskc-n': + case 'cold-n': return addPath('CC_Clear0.gif'); case 'sct':