diff --git a/metar.html b/metar.html index 0b2009e..28f3700 100644 --- a/metar.html +++ b/metar.html @@ -265,6 +265,8 @@ sections.push({ raw: part, decoded: decodeWind(part) }); } else if (part.endsWith('SM') || part.match(/^\d+$/) || part.match(/^\d\/\dSM$/)) { sections.push({ raw: part, decoded: decodeVisibility(part) }); + } else if (part.match(/^([+-]|VC)?(MI|PR|BC|DR|BL|SH|TS|FZ|DZ|RA|SN|SG|IC|PL|GR|GS|UP|BR|FG|FU|VA|DU|SA|HZ|PY|PO|SQ|FC|SS|DS)+$/)) { + sections.push({ raw: part, decoded: decodeWeather(part) }); } else if (part.match(/^(SKC|CLR|FEW|SCT|BKN|OVC)/)) { sections.push({ raw: part, decoded: decodeClouds(part) }); } else if (part.match(/^(M?\d{2})\/(M?\d{2})$/)) {