Metar is a Python package designed to parse METAR-coded weather reports, providing easy access to various meteorological data points such as wind, temperature, visibility, and cloud conditions. The project recently settled on the package name `metar` (previously `python-metar`). It is currently at version 2.0.1, with an active release cadence, and requires Python >=3.10.
pip install metarVerified import paths — ran on the pinned version, not inferred.
Parse a sample METAR string and access its attributes, then print a human-readable summary.
Remove the `utcdelta` argument when instantiating `Metar`. The library now handles UTC offsets internally or expects UTC input.
If you were using `position.getdistance`, you will need to implement custom distance calculation or find an alternative method. The library no longer provides this functionality.
Use `pip install metar` for installation and `from metar.Metar import Metar` for imports.
Ensure your environment uses Python 3.10 or a newer version.
Ensure you have installed the correct package with `pip install metar` and update your import statements to `from metar.Metar import Metar`.
Remove the `utcdelta` argument from the `Metar` constructor call. The library no longer uses this parameter.
This method is no longer available. You will need to implement a custom distance calculation if this functionality is required.
No dependency data recorded yet.