Skip to content

cli

cli

pyaermod command-line interface.

Installed as the pyaermod console script (see pyproject.toml). Subcommands wrap the library's most common workflows so users don't have to write a Python harness for every run.

Subcommands

pyaermod info Print package version + feature availability.

pyaermod validate INPUT Parse INPUT (.inp file), run base + advanced validation, print the findings. Exits 1 if any error-severity finding is present.

pyaermod run INPUT [--working-dir DIR] [--timeout SECS] Parse and validate INPUT, then execute AERMOD. Summarizes the run (success, runtime, output files) and returns non-zero on failure.

pyaermod parse OUTPUT Parse an AERMOD .out file and print a summary (run info, averaging periods, peak concentrations per source group).

pyaermod plotfile FILE Parse a PLOTFILE / MAXIFILE / RANKFILE / deposition file and print its headline stats (record count, peak value, receptor range).

pyaermod profile INPUT --profile NAME [--apply] Lint INPUT against a named regulatory profile (EPA-AppendixW-2017, EPA-AppendixW-2023, Screening). With --apply, mutates the project in-place and rewrites INPUT.