___ ___ ___ ___
/ /\ ___ / /\ ___ / /\ / /\
/ /:/_ /__/| / /::\ /__/\ / /:/_ / /::\
/ /:/ /\ ___ ___ | |:| / /:/\:\ \ \:\ / /:/ /\ / /:/\:\
/ /:/ /:/ /__/\ / /\ | |:| / /:/ \:\ \ \:\ / /:/ /:/_ / /:/~/:/
/__/:/ /:/ \ \:\ / /:/ __|__|:| /__/:/ \__\:\ ___ \__\:\ /__/:/ /:/ /\ /__/:/ /:/___
\ \:\/:/ \ \:\ /:/ /__/::::\ \ \:\ / /:/ /__/\ | |:| \ \:\/:/ /:/ \ \:\/:::::/
\ \::/ \ \:\/:/ ~\~~\:\ \ \:\ /:/ \ \:\| |:| \ \::/ /:/ \ \::/~~~~
\ \:\ \ \::/ \ \:\ \ \:\/:/ \ \:\__|:| \ \:\/:/ \ \:\
\ \:\ \__\/ \__\/ \ \::/ \__\::::/ \ \::/ \ \:\
\__\/ \__\/ ~~~~ \__\/ \__\/
What's that plane flying overhead?
I live underneath a flight path for airplanes arriving at LaGuardia Airport in New York. When I hear the planes, I get curious: where are those people coming from? I wrote this to find out. You can read more about my feelings here.
On the Raspberry Pi, we're running Dump1090 to handle the hard work of determining what planes are in the sky nearby. Piggybacking on Dump1090's JSON, dump1090_to_nearest_flight.py
outputs the flight number and change-in-altitude of the nearest plane, optionally restricting that plane to a given area and/or altitude . flight_number_to_departure_airport.py
translates that flight number, using a database, to the mostly likely non-NYC airport that is that flight's departure airport or destination. display_letters.py
displays that airport's code (and, maybe, eventually, the city name for non-US airports).
Follow the instructions! If something seems wrong or could be improved upon, please submit a pull request.
If you need to draw an area for your favorite flight path, use geojson.io. That's what I used to generate laguardia_area.geojson.
Are you a NIMBY who is opposed to noise, airplanes, travel, etc.?
Nah. I can hear the planes, but it's not really annoying. I'm not worried or angry, just curious about the world around me... :)
I do have a cat named Nimby though.
But airplanes flying overhead could crash on you! They are dangerous!
No, they're not. Please don't contact me anymore.
Why isn't this Python 3 compatible?
I couldn't get the Adafruit Python LED Backpack library working in Python 3. That's probably because I'm bad at Python, not on them.
I have an idea to make this better. Can I send you a pull request?
Yes, please. I would like that very much.
This project would have been impossible without: