You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While playing around with this library I found a problem in parsing some metars, When the raw metar is preceeded by 'AUTO' or 'AMD' The station is being reported as 'AUTO' or 'AMD'. I believe this to be incorrect behaviour.
Hi there,
While playing around with this library I found a problem in parsing some metars, When the raw metar is preceeded by 'AUTO' or 'AMD' The station is being reported as 'AUTO' or 'AMD'. I believe this to be incorrect behaviour.
Example outputs:
{ "station": "AUTO", "message": "AUTO LSZL 061950Z 10002KT 9999NDV NCD 01/M00 Q1015 RMK=", "remarks": [], "clouds": [], "weatherConditions": [], "trends": [], "runwaysInfo": [], "wind": { "speed": 2, "direction": "E", "degrees": 100, "unit": "KT" }, "visibility": { "indicator": "P", "value": 9999, "unit": "m", "ndv": true }, "temperature": 1, "dewPoint": 0, "altimeter": 1015, "remark": "" },
{ "station": "AMD", "message": "AMD LSZL 070643Z 0706/0715 VRB01KT CAVOK PROB40 TEMPO 0706/0708 4000 BCFG FEW002 PROB30 TEMPO 0706/0708 1200 PRFG BKN002=", "remarks": [], "clouds": [], "weatherConditions": [], "trends": [ { "type": "TEMPO", "weatherConditions": [ { "descriptive": "BC", "phenomenons": [ "FG" ] } ], "clouds": [ { "quantity": "FEW", "height": 200 } ], "times": [], "remarks": [], "raw": "TEMPO 0706/0708 4000 BCFG FEW002 PROB30", "visibility": { "value": 4000, "unit": "m" } }, { "type": "TEMPO", "weatherConditions": [ { "descriptive": "PR", "phenomenons": [ "FG" ] } ], "clouds": [ { "quantity": "BKN", "height": 200 } ], "times": [], "remarks": [], "raw": "TEMPO 0706/0708 1200 PRFG BKN002", "visibility": { "value": 1200, "unit": "m" } } ], "runwaysInfo": [], "wind": { "speed": 1, "direction": "VRB", "unit": "KT" }, "cavok": true, "visibility": { "indicator": "P", "value": 9999, "unit": "m" } },
The text was updated successfully, but these errors were encountered: