hsdn/metar-taf

Possible wrong code for Ice Pellets on Metar.php

Celinium opened this issue · 1 comments

After few tests with this PHP script (Thank you BTW for sharing it), I came to the conclusion the code for Ice Pellets is not the right one. More precisely, on line #143 the code :
'PE' => 'ice pellets',
should be replaced by
'PL' => 'ice pellets',

Here is sample METAR for Montreal I used : CYUL 081236Z 15019G24KT 4SM -FZDZ -PL DRSN OVC020 M02/M05 A2978 RMK NS8 SLP087

Hi. This fixed now dd996b5. Thanks for contribuion.