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