Update of /cvsroot/phpweather/phpweather In directory usw-pr-cvs1:/tmp/cvs-serv4154 Modified Files: metar_parser.php Log Message: I just changed a comment slightly. Index: metar_parser.php =================================================================== RCS file: /cvsroot/phpweather/phpweather/metar_parser.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- metar_parser.php 2001/03/30 13:25:36 1.2 +++ metar_parser.php 2001/04/08 09:58:15 1.3 @@ -251,8 +251,8 @@ $decoded_metar['visibility_group' . $visibility_groups]['meter'] = round($vis_miles * 1609.344); } elseif ($part == 'CAVOK') { /* CAVOK: Used when the visibility is greater than 10 - kilometers, the lowest cloud-base is at 5000 feet and there - is no significant weather. */ + kilometers, the lowest cloud-base is at 5000 feet or more + and there is no significant weather. */ $visibility_groups++; $decoded_metar['visibility_group' . $visibility_groups]['prefix'] = 1; /* Greater than */ $decoded_metar['visibility_group' . $visibility_groups]['km'] = 10; @@ -261,9 +261,7 @@ $decoded_metar['visibility_group' . $visibility_groups]['ft'] = 32800; $decoded_metar['cloud_group1']['condition'] = 'CAVOK'; } elseif (ereg('^R([0-9]{2})([RLC]?)/([MP]?)([0-9]{4})([DNU]?)V?(P?)([0-9]{4})?([DNU]?)$', $part, $regs)) { - /* - - */ + /* Runway-group */ $runway_groups++; $decoded_metar['runway_group' . $runway_groups]['nr'] = $regs[1]; if (!empty($regs[2])) { _______________________________________________ PHPWeather-checkins mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/phpweather-checkins