Author Topic: NWS Alerts errors  (Read 1535 times)

0 Members and 1 Guest are viewing this topic.

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
NWS Alerts errors
« on: March 23, 2023, 12:13:25 PM »
Not sure why this popped up.. it hasn’t in the past see quote..

Quote
Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 726

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 726

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 726

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 726

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 726

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 726

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 726

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 726

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 726

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 726

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 726

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 726

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 726

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 726

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 726

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 726

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 726

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 726

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 726

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 726

Warning: array_merge(): Expected parameter 1 to be an array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 731
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NWS Alerts errors
« Reply #1 on: March 23, 2023, 02:28:49 PM »
I'd not seen that before, either.

Try changing nws-alerts.php
Code: [Select]
if(!isset($log_folder))    {$logAlerts = false;}
to
Code: [Select]
if(!isset($log_folder))    {$logAlerts = false;}
if(!isset($daily_log[0]))    {$daily_log = array();}
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Re: NWS Alerts errors
« Reply #2 on: March 23, 2023, 04:13:16 PM »
I'd not seen that before, either.

Try changing nws-alerts.php
Code: [Select]
if(!isset($log_folder))    {$logAlerts = false;}
to
Code: [Select]
if(!isset($log_folder))    {$logAlerts = false;}
if(!isset($daily_log[0]))    {$daily_log = array();}

still getting it.

Quote
Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: array_merge(): Expected parameter 1 to be an array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 732
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Re: NWS Alerts errors
« Reply #3 on: March 23, 2023, 04:14:23 PM »
I'd not seen that before, either.

Try changing nws-alerts.php
Code: [Select]
if(!isset($log_folder))    {$logAlerts = false;}
to
Code: [Select]
if(!isset($log_folder))    {$logAlerts = false;}
if(!isset($daily_log[0]))    {$daily_log = array();}

still getting it.

Quote
Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: in_array() expects parameter 2 to be array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 727

Warning: array_merge(): Expected parameter 1 to be an array, null given in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/nws-alerts.php on line 732

this is line 727 :         if(!in_array($dlv, $daily_log)) {                                  //     IF alert is not in the cache file
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NWS Alerts errors
« Reply #4 on: March 23, 2023, 07:57:41 PM »
It's likely because you've enabled
Code: [Select]
$logAlerts     = true;         // true=log alerts    false=don't log alerts in nws-alerts-config.php and the current copy of ./alertlog/NWSalertLog20230323.txt contains
Code: [Select]
<?php 
 
$daily_log 
NULL;

?>

which is not an array, but NULL and Curly's code doesn't handle that in PHP over 5.6.

Change nws-alerts-config.php to
Code: [Select]
$logAlerts     = false;         // true=log alerts    false=don't log alerts
and the warnings should disappear.

I see logs with data on the 21st and 22nd, with a lot of Hydrologic Alerts, but the 23rd has no alerts.

The default for the template set was to NOT use alert logging, so I'd not adapted the Curly script to handle the $daily_log = NULL; issue.. turning it off is your best course for now.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Re: NWS Alerts errors
« Reply #5 on: March 23, 2023, 10:56:16 PM »
It's likely because you've enabled
Code: [Select]
$logAlerts     = true;         // true=log alerts    false=don't log alerts in nws-alerts-config.php and the current copy of ./alertlog/NWSalertLog20230323.txt contains
Code: [Select]
<?php 
 
$daily_log 
NULL;

?>

which is not an array, but NULL and Curly's code doesn't handle that in PHP over 5.6.

Change nws-alerts-config.php to
Code: [Select]
$logAlerts     = false;         // true=log alerts    false=don't log alerts
and the warnings should disappear.

I see logs with data on the 21st and 22nd, with a lot of Hydrologic Alerts, but the 23rd has no alerts.

The default for the template set was to NOT use alert logging, so I'd not adapted the Curly script to handle the $daily_log = NULL; issue.. turning it off is your best course for now.

ok that fixed it, just weird I never had this issue in the past. I really like the alert logging I hope you can fix it one day.
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NWS Alerts errors
« Reply #6 on: March 24, 2023, 02:29:43 PM »
I think I've fixed the cause of the issues with $daily_log = NULL;

Try the attached nws-alerts.php V1.44
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Re: NWS Alerts errors
« Reply #7 on: March 25, 2023, 03:09:56 AM »
I think I've fixed the cause of the issues with $daily_log = NULL;

Try the attached nws-alerts.php V1.44

no longer getting those errors with the attached nws-alerts.php v1.44 you sent. Thanks Ken :)
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Offline mkutche

  • Forecaster
  • *****
  • Posts: 1041
    • GosportWx.com
Re: NWS Alerts errors
« Reply #8 on: March 25, 2023, 08:57:36 PM »
Sorry to bother you again but now this error popped up on NWS Alerts Log

Quote
Warning: count(): Parameter must be an array or an object that implements Countable in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/wxnws-alerts-log.php on line 145

Warning: Invalid argument supplied for foreach() in /hermes/walnacweb03/walnacweb03/walnacweb03aa/b1007/moo.cyrptoworldnet/Gosportwx/wxnws-alerts-log.php on line 150

http://gosportwx.com/wxnws-alerts-log.php?logfile=20230323
Mike K.
Davis Vantage Vue 6250 - CumulusMX (3.21.1-b3205)
Gosport, Indiana
Gosportwx.com twitter.com/GosportINWX
-----------------------------------------------------------

Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NWS Alerts errors
« Reply #9 on: March 25, 2023, 09:16:15 PM »
Hmmm...

Try changing wxnws-alert-log.php from
Code: [Select]
// count the alerts
$alert_count = count($daily_log);
to
Code: [Select]
// count the alerts
if(!isset($daily_log) or !is_array($daily_log)) {$daily_log = array(); }
$alert_count = count($daily_log);
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline 92merc

  • BismarckWeather.net
  • Forecaster
  • *****
  • Posts: 1308
  • BismarckWeather.net
    • BismarckWeather.net
Re: NWS Alerts errors
« Reply #10 on: May 11, 2023, 01:28:31 PM »
I think I've fixed the cause of the issues with $daily_log = NULL;

Try the attached nws-alerts.php V1.44
Was this going into official production?  I put this into my production, but the check version is stating I have a newer version.

Just curious.
https://www.BismarckWeather.net
Davis VP2, Cumulus, WeatherDisplay, Blitzortung, Saratoga Scripts, NOAA Stream via PI

Offline tmabell

  • Forecaster
  • *****
  • Posts: 394
    • Mishawaka Weather
Re: NWS Alerts errors
« Reply #11 on: May 13, 2023, 09:37:27 AM »
This is for Ken.  I added this to my version of the script because this product (SQW) has been operational for a while now. Perhaps others in the Lake Snow Belts may benefit from this change as well. Thank you for the continued updates!

Quote
   array('N'=>'Snow Squall Warning',             'C'=>'#D00', 'S'=>'2', 'I'=>'WSW.gif'),

Online saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NWS Alerts errors
« Reply #12 on: May 13, 2023, 01:15:09 PM »
I think I've fixed the cause of the issues with $daily_log = NULL;

Try the attached nws-alerts.php V1.44
Was this going into official production?  I put this into my production, but the check version is stating I have a newer version.

Just curious.
Today!

This is for Ken.  I added this to my version of the script because this product (SQW) has been operational for a while now. Perhaps others in the Lake Snow Belts may benefit from this change as well. Thank you for the continued updates!

Quote
   array('N'=>'Snow Squall Warning',             'C'=>'#D00', 'S'=>'2', 'I'=>'WSW.gif'),

Added.  Thanks.

Now available on the update tool for Base-USA, *-plugin, 13-May-2023
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP