A collection of Python scripts which server to parse ADSB data commonly transmitted by aircraft. Currently, two sources of ADSB data are supported:
I came across this site and just got giddy. I now have a Raspberry Pi 3 feeding ADSB data to ADSB hub, which in returns gets me the combined feed from all similar data providers. But now we need to parse this data in order to do nerdy things with it! Bingo: here's the code.
Clone and run! This is a lightweight repository that does not need any formal installation.
Each submodule implements parsing for a data source. Simply import the desired submodule and call its start() function, providing a timestamp for unique file name creation and an output file name for the accumulated data.
from adsb_parsing.virtual_radar_server import vrs_parsing as vrs
from adsb_parsing.utils import timestamped_file_name
TIME_STR = timestamped_file_name()
DUMP_PATH = "adsb_exchange_data_{}.h5".format(TIME_STR).replace(" ", "_")
if __name__ == '__main__':
vrs.start(TIME_STR, DUMP_PATH)
This software is released with the Apache License. Download it, use it, change it, share it. Just keep the license!