metar
Metar - a package to parse METAR-coded weather reports
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has zero known vulnerabilities, installs with no dependencies, and solves a specific, well-defined problem (METAR parsing) that has few alternatives. It's suitable for aviation weather applications, research, and any project needing to decode standardized weather reports. The BSD license is permissive and poses no restrictions.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low friction: pure Python wheel with no runtime dependencies.
- Actively maintained as of 2026-07-20 with recent release activity.
License · maintenance · safety
permissive license (permissive) — BSD License (permissive): you can use, modify, and distribute this package freely in commercial and private projects, provided you retain the copyright notice and disclaimer.
last release 2026-03-20 (147 days) · last repo commit 2026-07-20 · 303 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 150,386 downloads/mo, #10,965 on PyPI
Alternatives
Verify before relying
from metar.Metar import Metar
obs = Metar('METAR KEWR 111851Z VRB03G19KT 2SM 22/22 A2987')
print(obs.temp)
print(obs.wind_speed)- Whether the package handles all regional METAR variants beyond WMO and US conventions mentioned in the description.
- Real-world accuracy and completeness of parsed remarks groups across different reporting stations.
What it is and what it does
Metar is a Python library for decoding METAR and SPECI reports—standardized coded weather observations used in aviation. It follows the World Meteorological Organization (WMO) specification and US Federal Meteorological Handbook conventions, extracting structured data like temperature, dew point, wind speed and direction, visibility, pressure, and weather phenomena from raw text reports. The library parses main-body groups and most US remark groups (cumulative precipitation, min/max temperature, peak wind, sea-level pressure), and accepts many international format variants.
The package has no external dependencies and installs as a pure Python wheel, making it lightweight and straightforward to integrate. It's tested against Python 3.10–3.14 and maintained actively on GitHub. You can use it to download and decode current METAR data from NOAA sources, build aviation weather dashboards, or analyze historical weather patterns for flight planning and meteorological research.
Use it for
- Download and decode current METAR reports for specific airports using NOAA data sources.
- Extract structured weather data (temperature, wind, visibility) from raw METAR text for aviation applications.
- Build weather monitoring or flight-planning tools that parse and display decoded meteorological observations.
- Analyze historical METAR data to study weather patterns and trends for research or operational purposes.
- Validate or test METAR parsing logic in aviation software or weather APIs.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has zero known vulnerabilities, installs with no dependencies, and solves a specific, well-defined problem (METAR parsing) that has few alternatives. It's suitable for aviation weather applications, research, and any project needing to decode standardized weather reports. The BSD license is permissive and poses no restrictions.
Install
metar on PyPI
Before you install
Low friction: pure Python wheel with no runtime dependencies. Actively maintained as of 2026-07-20 with recent release activity.
Requires Python 3.10 or later.
License in practice
BSD License (permissive): you can use, modify, and distribute this package freely in commercial and private projects, provided you retain the copyright notice and disclaimer.
Quickstart
from metar.Metar import Metar
obs = Metar('METAR KEWR 111851Z VRB03G19KT 2SM 22/22 A2987')
print(obs.temp)
print(obs.wind_speed)
Verify before relying
- Whether the package handles all regional METAR variants beyond WMO and US conventions mentioned in the description.
- Real-world accuracy and completeness of parsed remarks groups across different reporting stations.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 147 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 150,386 / month, #10,965 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: Science/ResearchLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonTopic :: Software Development :: Libraries :: Python Modules |
Evidence: metar-2.0.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “parse METAR weather reports”
- metarParses METAR and SPECI coded aviation weather reports into structured…
- pynwsAsynchronously fetch weather observations, forecasts, and alerts from…
- openbb-government-usIntegrates US Government data sources (commodity reports, weather,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also atcf-data-parser · eccodeslib · earthkit-meteo · MetPy · FlightRadarAPI · meteostat · pdbufr · xradar · cfgrib · env_canada