tangram
Tangram is an open framework that aggregates Mode S data feed for detecting turbulence.
Installation
-
You must have at least one Mode S feed
-
Checkout following repositories, and make sure they are all in the same directory:
- Checkout traffic repository: https://github.com/xoolive/traffic
- Checkout atmlab repository: https://github.com/xoolive/atmlab
- Checkout this repository: https://github.com/open-aviation/tangram
-
install poetry: https://python-poetry.org/docs/#installation
-
install tangram using:
cd tangram
poetry install
Running
Setup
# If need be...
mkdir -p ~/.config/systemd/user
# Copy the files to systemd configuration folder
cp systemd/* ~/.config/systemd/user/
Prepare
systemctl --user enable decoder@delft
systemctl --user enable aggregator
systemctl --user enable turbulence
Run
systemctl --user start decoder@delft
systemctl --user start aggregator
systemctl --user start turbulence
Send Data
The raw feed can be sent to the server from your receiver as follows:
nc 127.0.0.1 [modesbeast_port] | nc -u [server_ip] [port_number]
Check Status
systemctl --user status decoder@delft
systemctl --user status aggregator
systemctl --user status turbulence
Results
Here is an example of the tool running in real time: