joeyates/metar-parser

Invalid visibility from report (4,000km?)

Closed this issue · 1 comments

VABB 282210Z 22005KT 4000 HZ SCT018 FEW025TCU BKN100 28/25 Q1003 NOSIG

The following METAR leads to a 4,000KM visibility reading. I am not familiar with the non-US format to figure out what is going on. My guess is that means 4,000 meters? Seems to work fine for other international, but that is Mumbai Airport in India.

Thanks again for all the help--this gem is looking pretty stable overall and is exactly what I needed.

I had a doubt about numerals in the visibility field. I've updated the parser to treat them as meters. See ffbddc1