Hi again,
I just saw this METAR:
EGBE 260820Z 0200KT 340V060 CAVOK 06/02 Q1033
There's an error in the windgroup (0200KT), isn't there? Johnny?
It fools the get_winddir_image() method in pw_images.php because the
'340V060' makes the 'wind' entry non-empty, but still, there's no
'deg' entry because '0200KT' is malformed.
The fix is trivial in pw_images.php, but I just wanted to make sure,
that it's the METAR that's wrong, and not the parsing.
=2D-=20
Martin Geisler My GnuPG Key: 0xF7F6B57B
See my homepage at http://www.gimpster.com/ for:
PHP Weather =3D> Shows the current weather on your webpage.
PHP Shell =3D> A telnet-connection (almost :-) in a PHP page.
|