• Stars
    star
    126
  • Rank 284,543 (Top 6 %)
  • Language
    Python
  • License
    MIT License
  • Created almost 9 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

what's that plane flying over my apartment RIGHT NOW?
       ___                                   ___                        ___           ___     
      /  /\                      ___        /  /\          ___         /  /\         /  /\    
     /  /:/_                    /__/|      /  /::\        /__/\       /  /:/_       /  /::\   
    /  /:/ /\  ___     ___     |  |:|     /  /:/\:\       \  \:\     /  /:/ /\     /  /:/\:\  
   /  /:/ /:/ /__/\   /  /\    |  |:|    /  /:/  \:\       \  \:\   /  /:/ /:/_   /  /:/~/:/  
  /__/:/ /:/  \  \:\ /  /:/  __|__|:|   /__/:/ \__\:\  ___  \__\:\ /__/:/ /:/ /\ /__/:/ /:/___
  \  \:\/:/    \  \:\  /:/  /__/::::\   \  \:\ /  /:/ /__/\ |  |:| \  \:\/:/ /:/ \  \:\/:::::/
   \  \::/      \  \:\/:/      ~\~~\:\   \  \:\  /:/  \  \:\|  |:|  \  \::/ /:/   \  \::/~~~~ 
    \  \:\       \  \::/         \  \:\   \  \:\/:/    \  \:\__|:|   \  \:\/:/     \  \:\     
     \  \:\       \__\/           \__\/    \  \::/      \__\::::/     \  \::/       \  \:\    
      \__\/                                 \__\/           ~~~~       \__\/         \__\/    

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.

How does this work?

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).

Build your own

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.

TODO

  • look up airport names for non-US airports and display them too. (Where right now we'd display EGLL, we should instead display EGLL (London Heathrow, UK)).
  • maybe also track noise. cf. http://webtrak5.bksv.com/panynj4
  • it appears Southwest's airplanes may broadcast their flight number as just the number, i.e. 539, not SWA539.

Theoretically Askable Questions

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.

I would like to thank the Academy...

This project would have been impossible without:

  1. the maintainers of dump1090 and the Mutability fork.
  2. the maintainers of the Virtual Radar Server FlightNumbers dump.
  3. @calus at the FlightAware forums who pointed me there.
  4. Adafruit for their cool hardware and libraries.
  5. Sam Keddy who created the Thintel font I'm using.

More Repositories

1

beauvoir

Guess a person's gender by their first name. Caveats apply.
Ruby
17
star
2

wayback2csv

transform a datapoint from a website into a CSV time-series dataset using the wayback machine
Python
12
star
3

ebola_parsers

Parse Ebola treatment documents using Tabula
Ruby
11
star
4

dump1090-mapper

make image maps of an airplane's flight path from a mtigas/dump1090-stream-parser database
JavaScript
9
star
5

bigappleserialbus

hardware bus notifier for NYC MTA
Python
7
star
6

scotuslm

Trigram language model + Supreme Court opinions = lulzy fake opinions
Python
7
star
7

scraperotus

A scraper for Supreme Court opinions
Ruby
5
star
8

marginalis

marginalis is a library implementing skeuomorphic marginalia
JavaScript
4
star
9

pacerai

Python
4
star
10

ineffable_wizardry_of_structure

generating syntactically-correct, sometimes-poetic English sentences
Python
4
star
11

TournamentManager

Tournament manager for debate, forensics, speech and mock trial
JavaScript
3
star
12

ineffable_abracadabra_of_cleaning

many NLG experiments including using word2vec to rephrase familiar book titles for the funniez
Python
3
star
13

hdaps_indicator

HDAPS indicator for Ubuntu Unity
Python
3
star
14

sunsetdetector

For a given photo, detect whether it is a sunset.
Ruby
3
star
15

hdaps_theftalarm

A theft alarm for laptops with a Hard Drive Active Protection System and Ubuntu's Unity shell.
Python
3
star
16

dkimverify

a pure-Ruby library for validating/verifying DKIM signatures.
Ruby
2
star
17

dump1090mapper

map aircraft from a dump1090-stream-parser database over NYC; Python port of https://github.com/jeremybmerrill/dump1090-mapper
Python
2
star
18

punditbot

true but silly predictions about the 2016 U.S. election... from a robot
Ruby
2
star
19

xls_to_csvs

explode an Excel spreadsheet's sheets into separate CSVs
Python
2
star
20

Wealthviz

Some graphs displaying salary and spending info for the Claremont Colleges
JavaScript
1
star
21

emojijobsreport

How much information do you really need about the jobs report?
1
star
22

fbdb

Ruby
1
star
23

CrowdsourceMyLife

Ruby
1
star
24

whd

A little rails app for Wage and Hour Division WHISARD dumps
Ruby
1
star
25

Guyfinder

Code for finding tokens of "guy" in Friends transcripts
Python
1
star
26

Kikuria

A collaborative database for my field methods class, documenting Kikuria.
Ruby
1
star
27

thesis-tweets

Script for thesis for counting you-guys-related tokens.
Python
1
star
28

oracle_bluekai_OCR

Oracle/BlueKai's data disclosure portal uses images (#@$%!?!?); scripts to train an OCR model and OCR the images to a CSV
Ruby
1
star
29

showem-a-poem

generate poems (of arbitrary format) from a source text
Python
1
star
30

champagne_real_pain

using NLP to generate more "champagne for my real friends, real pain for my sham friends"-style phrases
HTML
1
star
31

marta6bus

text a number, get the termini of vehicles on a MARTA route that sometimes short-turns
Ruby
1
star
32

BudgetViz

HTML/JS budget visualization
Python
1
star