metar-taf-parser icon indicating copy to clipboard operation
metar-taf-parser copied to clipboard

Variable Winds Fail To Parse

Open ssokol opened this issue 1 year ago • 1 comments

I'm getting exceptions thrown by the WindVariationCommand.execute method due to a nil container object. This seems to happen only with variable wind values (eg. 200V270).

My javascript is pretty rusty, so I'm not quite sure how to backtrack through the call stack. Here's what I seen in the debugger:

image

ssokol avatar Jun 24 '24 15:06 ssokol

Hi, looking at the METAR string, I believe the problem is the METAR does not have a time stamp. This is a required part of METAR so it is strange it is not included!

aeharding avatar Aug 02 '24 19:08 aeharding