Read dump1090 data from a stream and insert it into MongoDB.
First, start dump1090 with --net
$ dump1090 --interactive --net --fix
Then ingest from a network stream:
$ nc somehost 30003 | ./ingest.py
You could also save the stream to a file along the way if you wanted:
$ nc somehost 30003 | tee somefile.csv | ./ingest.py
$ ./ingest.py somefile.csv
$ 7za e -so somefile.csv.7z | ./ingest.py -