New METAR errors
Posted: Fri 08 Jul 2022 4:58 pm
All:
I'm been unable to download current METAR data for several days now. The NWS sites referenced in the scripts are reachable but obviously something has changed.
Getting the following error:
Lines 242-248 of the script are:
The METAR cache file is also not being created even though the cache folder perms are 777 (RWX) I'm running PHP 8.1.7 on the web host and all my Saratoga scripts are up to date.
Anyone else seeing this?
Thanks,
--Kurt
https://www.kpw3.com
I'm been unable to download current METAR data for several days now. The NWS sites referenced in the scripts are reachable but obviously something has changed.
Getting the following error:
Code: Select all
PHP Warning: Undefined array key "RAW-METAR" in /var/www/html/include-metar-display.php on line 243
Code: Select all
print " <tr>\n";
print " <td class=\"data1\" colspan=\"2\"><small>".$mtr['RAW-METAR']."</small></td>\n";
print " </tr>\n";
if(isset($_REQUEST['debug']) and strtolower($_REQUEST['debug']) == 'y') {
print " <tr>\n";
print " <td class=\"data1\" colspan=\"2\"><small>".$mtr['METAR']."</small></td>\n";
print " </tr>\n";
Anyone else seeing this?
Thanks,
--Kurt
https://www.kpw3.com