jonah.id

Anki Deck for AWC Weather Symbols

Shared: https://ankiweb.net/shared/info/2142527470

Weather Symbols for Graphical Aviation Forecasts

This is a deck containing the graphical symbols and METAR/TAF codes for various weather conditions and chart features. It is produced from the AviationWeather.gov website.

Reproduction/Update Instructions:

  1. Navigate to https://aviationweather.gov/gfa/help/#symbols
  2. Open the browser inspector
  3. Paste the script at the bottom into the console
  4. Copy the text output
  5. Paste into a text file and save as a .csv file
  6. Use “Import File” feature in Anki Desktop. All options should be set automatically.

Script:

'#separator:Tab\n#html:true\n#notetype:Symbol Code Description\n#tags column:5\n#guid column:1\n#columns:GUID\tSymbol\tCode\tDescription\tTags\n' + Array.from(document.querySelectorAll('#symbols table tr:has(img)')).map(n => ['AviationWeatherSymbol_' + n.querySelector('img').dataset.icon, `<img src="${n.querySelector('img')?.src}">`, Array.from(n.querySelectorAll('td')).slice(-2)[0].textContent, Array.from(n.querySelectorAll('td')).slice(-1)[0].textContent, 'NOAA::NWS::AWC::GFA::Symbols::' + n.closest(':has(h3)').querySelector('h3').textContent.replace(/ /g, '_').replace(/[^a-z_]/ig, '')]).map(r => r.join('\t')).join('\n');

If the website is updated but not reflected here, please email me at hi@jonah.id

References

Creative Commons License