Local command-line tool for generating LG26 daily airspace decision-support output.
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.pdfRun 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.txtLG26_YYYY-MM-DD_INACTIVE.txtLG26_YYYY-MM-DD_STATUS.txtLG26_YYYY-MM-DD_WARNINGS.txtLG26_YYYY-MM-DD_REVIEW.txtLG26_YYYY-MM-DD_RESULT.json
PIB PDF extraction works with Homebrew poppler:
brew install popplerThat 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.
Start the local confirmation UI for any generated output folder:
PYTHONPATH=src python3 -m lg26_airspace ui \
--output output/20260712-aat-weekdayOr use the npm wrapper:
npm run startTo choose another output folder:
OUTPUT_DIR=output/20260712-aat-rerun npm run startOpen 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