Skip to content

mcdaniel/avparse

Repository files navigation

NOTE: this project is deprecated as of 07/24, and will not be updated.

avparse

A parser library for FAA and International Aviation Information

Gang: Lex/Yacc are certainly still used. A more modern tool is Antler (https://www.antlr3.org/) and it can generate code in almost any language. Another kind of parsing that got a lot of buzz last decade is Parsing Expression Grammars (PEG), which generates easier to read code (like recursive descent) and places less restriction on input grammars, with a little loss of efficiency compared to LL and LALR parsing. See http://bford.info/packrat/.

METAR CODES, REFERENCE:

https://www.weather.gov/media/wrh/mesowest/metar_decode_key.pdf https://business.desu.edu/sites/business/files/document/16/metar_and_taf_codes.pdf

TODO List

+ change error handling to something more appopriate 
+ Flight - text to speech library - add for text
+ Move to library so we can link it to other things
+ Add TAF/MOS processing

COMPLETED

+ Work on the time string [completed]
+ Add correction [COR] - see example METAR
+ Add X/YSM visibility to parsing/processing
+ Add temperature to processing  [completed]
+ Add altimeter setting to processing [completed]
+ Add conditions to setttings, e.g., -DZ, -SN, ... (page 11 of desu link above)
+ The conditions and coverage lists reorder anything longer than 2 elemetns (need to change this to add new elements onto tail)

About

A parser library for FAA and International Aviation Information

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors