✓ Verified 🛒 E-commerce ✓ Enhanced Data

Aviation Weather

Fetch aviation weather data (METAR, TAF, PIREPs)

Rating
4 (258 reviews)
Downloads
48,668 downloads
Version
1.0.0

Overview

Fetch aviation weather data (METAR, TAF, PIREPs)

Complete Documentation

View Source →

Aviation Weather

Fetch real-time aviation weather from the FAA's aviationweather.gov API.

Quick Reference

bash
# METAR for specific airports
python3 scripts/wx.py KSMO KLAX KVNY

# METAR + TAF
python3 scripts/wx.py KSMO KLAX --metar --taf

# Just TAF
python3 scripts/wx.py KSMO --taf

# PIREPs near a location (lat/lon)
python3 scripts/wx.py --pirep --lat 34.0 --lon -118.4 --radius 100

# Raw output with JSON
python3 scripts/wx.py KSMO --json

# Verbose (show raw METAR text)
python3 scripts/wx.py KSMO -v

Default Airports

When no stations specified, defaults to Santa Monica area: KSMO, KLAX, KVNY

Flight Categories

  • 🟢 VFR - Ceiling >3000ft AGL and visibility >5sm
  • 🔵 MVFR - Ceiling 1000-3000ft or visibility 3-5sm
  • 🔴 IFR - Ceiling 500-1000ft or visibility 1-3sm
  • 🟣 LIFR - Ceiling <500ft or visibility <1sm

Common SoCal Airports

CodeName
KSMOSanta Monica
KLAXLos Angeles Intl
KVNYVan Nuys
KBURBurbank
KTOATorrance
KSNAJohn Wayne
KFULFullerton
KCMACamarillo
KOXROxnard
KPSPPalm Springs

Options

  • --metar, -m: Fetch METAR (default)
  • --taf, -t: Fetch TAF forecast
  • --pirep, -p: Fetch pilot reports
  • --hours N: Hours of METAR history (default: 2)
  • --lat, --lon: Location for PIREP search
  • --radius N: PIREP search radius in nm (default: 100)
  • --verbose, -v: Show raw observation text
  • --json: Output raw JSON data

Installation

Terminal bash

openclaw install aviation-weather
    
Copied!

💻Code Examples

example.sh
# METAR for specific airports
python3 scripts/wx.py KSMO KLAX KVNY

# METAR + TAF
python3 scripts/wx.py KSMO KLAX --metar --taf

# Just TAF
python3 scripts/wx.py KSMO --taf

# PIREPs near a location (lat/lon)
python3 scripts/wx.py --pirep --lat 34.0 --lon -118.4 --radius 100

# Raw output with JSON
python3 scripts/wx.py KSMO --json

# Verbose (show raw METAR text)
python3 scripts/wx.py KSMO -v

Tags

#transportation #data

Quick Info

Category E-commerce
Model Claude 3.5
Complexity One-Click
Author dimitryvin
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install aviation-weather