Skip to content

Add scripts directory with an ADS-B file stats script.#1

Merged
dbetchkal merged 2 commits into
mainfrom
feature/scripts_dir_with_adsb_stats
Jun 11, 2026
Merged

Add scripts directory with an ADS-B file stats script.#1
dbetchkal merged 2 commits into
mainfrom
feature/scripts_dir_with_adsb_stats

Conversation

@elliott-ruebush

@elliott-ruebush elliott-ruebush commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Overview

This is a simple Python script to give us some details on ADS-B files so we know roughly what data sizes look like and what kind of SD cards we might need to include in ADS-B loggers. It supports an arbitrary root dir and file extension.

If worth it, we could extend to do this more generally, but it's easy enough to update in the future.

Part of the point of this PR is just to establish a home for our random scripts in a GitHub repo :octocat:

Example Output

If curious, here's the current output:


Brooks Camp Incinerator
=======================
2025 |  54 dates |  55 files |  0.25 GB | dup=1.02x
    TSV_Batch_2            29 files
    size stats: mean=4.7 MB, median=4.7 MB, min=0.3 MB, max=9.0 MB
    TSV                    26 files
    size stats: mean=4.7 MB, median=4.7 MB, min=0.3 MB, max=9.0 MB

TOTAL |  54 dates |  55 files |  0.25 GB

Healy Repeater
==============
2023 |  88 dates |  91 files |  0.75 GB | dup=1.03x
    TSV                    88 files
    size stats: mean=8.4 MB, median=8.8 MB, min=2.1 MB, max=12.7 MB
    TSV_                    3 files
    size stats: mean=8.4 MB, median=8.8 MB, min=2.1 MB, max=12.7 MB
2024 |  96 dates | 212 files |  2.15 GB | dup=2.21x
    TSV                    96 files
    size stats: mean=10.4 MB, median=10.0 MB, min=0.0 MB, max=26.5 MB
    TSV_clean              87 files
    size stats: mean=10.4 MB, median=10.0 MB, min=0.0 MB, max=26.5 MB
    TSV_lowShift           21 files
    size stats: mean=10.4 MB, median=10.0 MB, min=0.0 MB, max=26.5 MB
    TSV_garb                8 files
    size stats: mean=10.4 MB, median=10.0 MB, min=0.0 MB, max=26.5 MB
2025 |  90 dates |  97 files |  0.81 GB | dup=1.08x
    TSV_                   88 files
    size stats: mean=8.6 MB, median=8.6 MB, min=0.0 MB, max=15.1 MB
    AB_tests                4 files
    size stats: mean=8.6 MB, median=8.6 MB, min=0.0 MB, max=15.1 MB
    TSV                     3 files
    size stats: mean=8.6 MB, median=8.6 MB, min=0.0 MB, max=15.1 MB
    2025 ADS-B Healy Repeater    2 files
    size stats: mean=8.6 MB, median=8.6 MB, min=0.0 MB, max=15.1 MB

TOTAL | 274 dates | 400 files |  3.71 GB

K'esugi Ken Campground
======================
2022 |  84 dates |  84 files |  1.52 GB | dup=1.00x
    TSV                    84 files
    size stats: mean=18.5 MB, median=16.4 MB, min=4.1 MB, max=35.8 MB
2023 | 112 dates | 112 files |  2.04 GB | dup=1.00x
    TSV                   112 files
    size stats: mean=18.6 MB, median=18.0 MB, min=5.3 MB, max=36.1 MB
2025 | 129 dates | 129 files |  1.19 GB | dup=1.00x
    TSV                   129 files
    size stats: mean=9.4 MB, median=8.0 MB, min=1.3 MB, max=23.5 MB

TOTAL | 325 dates | 325 files |  4.74 GB

Old Town Cantwell
=================
2021 | 162 dates | 162 files |  0.43 GB | dup=1.00x
    TSV                   162 files
    size stats: mean=2.7 MB, median=2.9 MB, min=0.8 MB, max=5.2 MB
2022 | 157 dates | 157 files |  0.49 GB | dup=1.00x
    TSV                   157 files
    size stats: mean=3.2 MB, median=3.4 MB, min=1.0 MB, max=5.5 MB

TOTAL | 319 dates | 319 files |  0.92 GB

@dbetchkal dbetchkal merged commit d6356e5 into main Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants