aermap¶
aermap ¶
PyAERMOD AERMAP Input Generator
Generates AERMAP input files for terrain preprocessing. AERMAP is the EPA's terrain preprocessor for AERMOD.
AERMAP reads Digital Elevation Model (DEM) data and calculates: - Receptor elevations - Hill heights (for terrain-following calculations) - Source elevations
AERMAPDomain
dataclass
¶
Domain definition for AERMAP processing
AERMAPReceptor
dataclass
¶
Receptor definition for AERMAP
AERMAPSource
dataclass
¶
Source definition for AERMAP
AERMAPProject
dataclass
¶
AERMAP project configuration
Generates terrain elevations for receptors and sources.
from_aermod_project
classmethod
¶
from_aermod_project(aermod_project, dem_files: List[str], utm_zone: int = 16, datum: str = 'NAD83', buffer: float = 1000.0) -> AERMAPProject
Create an AERMAPProject from an AERMODProject.
Extracts source and receptor locations and builds corresponding AERMAP input for terrain elevation processing.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
aermod_project
|
AERMODProject
|
|
required |
dem_files
|
list of str
|
DEM file paths. |
required |
utm_zone
|
int
|
|
16
|
datum
|
str
|
|
'NAD83'
|
buffer
|
float
|
Buffer in meters around domain extents. |
1000.0
|
Returns:
| Type | Description |
|---|---|
AERMAPProject
|
|
create_grid_receptors_for_aermap ¶
create_grid_receptors_for_aermap(x_min: float, x_max: float, y_min: float, y_max: float, spacing: float) -> Tuple[float, float, int, int]
Helper function to calculate grid parameters for AERMAP
Args: x_min, x_max: X coordinate range y_min, y_max: Y coordinate range spacing: Grid spacing in meters
Returns: Tuple of (x_init, y_init, x_num, y_num)