Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

competition_airspace-check

Local command-line tool for generating LG26 daily airspace decision-support output.

Current usage

Run against the bundled example files:

PYTHONPATH=src python3 -m lg26_airspace \
  --task docs/LG26_Task_AAT_Example.txt \
  --aup docs/AUP_20260712_1901r1.kml \
  --pib docs/PIB_EDDZ2607122559_20260712_1920r1.pdf

Run from a daily input folder:

PYTHONPATH=src python3 -m lg26_airspace \
  --day-folder input/20260712 \
  --date 2026-07-12 \
  --task input/20260712/task.txt

--day-folder auto-detects one *.kml AUP/UUP file and one *.pdf PIB file. If the folder contains a task text file with task in the filename, --task can be omitted. --date overrides the date in the task file, which is useful when reusing an example task geometry for a different day.

Outputs are written to output/YYYY-MM-DD/:

  • LG26_YYYY-MM-DD_ACTIVE.txt
  • LG26_YYYY-MM-DD_INACTIVE.txt
  • LG26_YYYY-MM-DD_STATUS.txt
  • LG26_YYYY-MM-DD_WARNINGS.txt
  • LG26_YYYY-MM-DD_REVIEW.txt
  • LG26_YYYY-MM-DD_RESULT.json

PIB PDF extraction works with Homebrew poppler:

brew install poppler

That provides the pdftotext command used by the tool.

Alternatively, PIB extraction can use the optional Python dependency:

pip install '.[pdf]'

Without either pdftotext or pypdf, the run is marked incomplete and the review report explains that PIB text was not extracted.

LG26_YYYY-MM-DD_INACTIVE.txt contains nearby hard airspaces that are not allocated in the supplied AUP/UUP during the task window. Entries are marked CHECK because absence from AUP is not, by itself, legal proof of inactivity; PIB/NOTAM review remains required.

Review UI

Start the local confirmation UI for any generated output folder:

PYTHONPATH=src python3 -m lg26_airspace ui \
  --output output/20260712-aat-weekday

Or use the npm wrapper:

npm run start

To choose another output folder:

OUTPUT_DIR=output/20260712-aat-rerun npm run start

Open the printed local URL. The UI saves decisions to confirmations.json in the output folder and can generate: Use the folder selector in the header to switch between generated output folders under output/ without restarting the server. Use the input-folder controls in the header to select an input/ day folder, task file, analysis date, and corridor, then click Run to generate a new output folder and switch to it.

LG26_YYYY-MM-DD_CONFIRMED_ACTIVE.txt
LG26_YYYY-MM-DD_CONFIRMED_INACTIVE.txt

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages