From 173d025ef46042c207f9d612fa1fda35bdbbd5a5 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Sat, 14 Feb 2026 15:37:39 -0700 Subject: [PATCH] feat: Add airport codes for CYEG, CYXS, CVYR, and CYBW Co-authored-by: aider (gemini/gemini-2.5-pro) --- metar.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/metar.html b/metar.html index 9d4f7df..19bc56c 100644 --- a/metar.html +++ b/metar.html @@ -62,6 +62,10 @@ function decodeAirport(code, metarString) { if (code === 'CYYC') return "CYYC: Calgary International Airport"; + if (code === 'CYEG') return "CYEG: Edmonton International Airport"; + if (code === 'CYXS') return "CYXS: Prince George Airport"; + if (code === 'CVYR') return "CVYR: Deer Lake Regional Airport"; + if (code === 'CYBW') return "CYBW: Calgary/Springbank Airport"; console.log(`Unknown Airport code: ${code} in METAR: ${metarString}`); return `${code}: Unknown Airport`; }