Metar
simple decoder for METAR (meteorological aerodrome report) messages
Install / Use
/learn @urkk/MetarREADME
METAR
METAR (METeorological Aerodrome Report) and TAF (terminal aerodrome forecast) message decoder for use in bots, templates and other data visualization. Raw text messages (as is) are used for decoding.
Based on the format approved by The Federal Service for Hydrometeorology and Environmental Monitoring of Russia.
Now supported
- In metars
- Header: station location, date/time, auto/cor/nil
- Wind (Wind Variability)
- Visibility
- Runway Visual Range
- Type of Weather
- Clouds
- Temperature/Dewpoint
- Altimeter Setting
- Metar supplementary informaton
- Type of recent weather
- State of the runway(s) (as R24/010060)
- Wind shear on runway(s) (as WS R24 or WS ALL RWY)
- In tafs
- Header: station location, date/time, cor/amd/nil/cnl
- Wind
- Visibility
- Type of Weather
- Clouds
- Temperatures
- Both - change expected: wind, visibility, type of Weather, clouds
Supported units
- Wind speed: knots, meters per second or kilometer per hour
- Horizontal visibility: meters or american land miles
- Runway visual range: meters or feet
- QNH pressure: hectopascal or inch of mercury
Limitations
- no color codes decoded
- only russian style remarks (no RMK from auto station, etc)
Example
import (
"fmt"
"github.com/urkk/metar"
)
msg, err := metar.NewMETAR("URSS 220630Z 02003MPS 9999 -SHRA SCT050CB OVC086 20/16 Q1015 R02/290060 R06/290060 TEMPO -TSRA BKN030CB RMK R06/03002MPS QFE760")
if err == nil {
fmt.Printf("%+v\n", msg)
}
Links
Related Skills
node-connect
342.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
xurl
342.5kA CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
frontend-design
85.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
