feat: Add airport codes for CYEG, CYXS, CVYR, and CYBW
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
@@ -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`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user