aerscreen_runner¶
aerscreen_runner ¶
AERSCREEN binary runner.
Parallels :class:pyaermod.aersurface_runner.AERSURFACERunner. AERSCREEN
is EPA's screening front-end to AERMOD; the runner stages the deck as
aerscreen.inp in the working directory, dispatches to the binary,
and surfaces stdout / stderr / output-file diagnostics.
Typical usage::
from pyaermod import AERSCREENConfig, AERSCREENSourceType
from pyaermod.aerscreen_runner import AERSCREENRunner
cfg = AERSCREENConfig(...)
runner = AERSCREENRunner()
result = runner.run(cfg, working_dir="/tmp/aerscreen_so2")
if result.success:
# result.output_files contains the .out summary, .pst per-distance
# impact table, and the full AERMOD-equivalent run logs.
pass
AERSCREENRunResult
dataclass
¶
Outcome of an AERSCREEN execution.
AERSCREENRunner ¶
Execute AERSCREEN from Python.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
executable_path
|
Optional[Union[str, Path]]
|
Path to the |
None
|
log_level
|
str
|
Python logging level name. |
'INFO'
|
run ¶
run(config: AERSCREENConfig, *, working_dir: Union[str, Path], timeout: int = 1800) -> AERSCREENRunResult
Run AERSCREEN against a configured deck.