A Python library for parsing METAR and TAF aviation weather messages. Version 1.11.0 supports runway visual range units and operates on Python >=3.9. The library parses raw METAR/TAF strings into structured model objects with weather phenomena, clouds, wind, visibility, etc. Released on PyPI as metar-taf-parser-mivek, with a development cadence of approximately 2-3 releases per year.
pip install metar-taf-parser-mivekVerified import paths — ran on the pinned version, not inferred.
Parse a METAR string and access wind data.
Wrap parser.parse() in try/except Exception.
Check metar.wind.direction is not None or use metar.wind.unit. For variable wind, direction returns 0 with variable flag.
Always confirm unit property (e.g., metar.visibility.unit) before interpreting values.
Use explicit submodule imports (e.g., from metar_taf_parser.parser.metar import MetarParser).
No dependency data recorded yet.