This repository contains scripts to capture and merge data from multiple ADS-B basestations into a single file on a daily basis.
- Dockerfile: Dockerfile for building a Docker image with the necessary tools and scripts.
- scripts/
- capture.sh: Thread invoker for each host
- thread.sh: Responsible for call and maintain netcat active and grabbing data
- cronjob.sh: Cron job script to backup the merged data and clear the data file daily.
The main purpose of this project is to automate the data collection process and merge ADS-B data from multiple basestations into a single file. By consolidating the data, it becomes easier to analyze and extract insights from a broader range of aircraft information.
To use this project, follow these steps:
- Build the Docker image using the provided
Dockerfile
. - Set the environment variable
HOSTS
to a comma-separated list of ADS-B basestation IP addresses or hostnames. - Start the Docker container with the built image.
Be aware that must be open and available at port 30003
on each station to work.
Here's an example command to run the Docker container:
docker build -t 1090merge .
docker run -d -e HOSTS="192.168.1.100,192.168.1.101,192.168.1.102" 1090merge