This project is read-only.

METAR Fail with // Token

Jun 15, 2013 at 6:22 PM

Thanks for this great job.

This metar fail YPXM 151500Z AUTO 09008KT 9999 // BKN009 OVC012 26/24 Q1011 because of the // token between visi and cloud I guess.

If I use the MetarDecoderWithAllOptional class it does not fail but the Clouds property of the metar object is empty and it sould be filled wth two item :

Broken sky (5-7 oktas), at 900 feet
Overcast sky (8 oktas), at 1200 feet

Do you plan to fix that or is there any workaround ?

Jun 21, 2013 at 8:24 AM
Hi, the block "//" is not valid for EU/US METARs, so it will not be implemented in the "common" decoders.

However, it might be in the MetarDecoderWithAllOptional class, so I will look at it next week and I'll let you know.

The current workaround might be to remove all " // " (with spaces before and after, and only two slashes, not "////") in the string, or extend it to the four-slash (but I cannot test it right now).

So - thanx for your information, I will let you know.
Jun 23, 2013 at 9:29 PM
Thx for your feedback, !

I'll wait for your update but there is no hurry for me :)