stilt.FootprintConfig#
- class stilt.FootprintConfig(*, grid: stilt.spatial.Grid | None = None, geometry: Annotated[stilt.footprint.config.FileGeometrySpec | stilt.footprint.config.H3GeometrySpec | stilt.footprint.config.WindowsGeometrySpec, FieldInfo(annotation=NoneType, required=True, discriminator='kind')] | None = None, cells_per_target: Annotated[float, Gt(gt=0)] = 4.0, smooth_factor: float = 1.0, time_integrate: bool = False, transforms: list[Any] = <factory>) None[source]#
Footprint settings: the grid, smoothing, and particle transforms.
The config and each variant hold these as their defaults and overrides, and every footprint keeps the settings it was calculated with.
gridis the raster the footprint is computed on. Leave bothgridandgeometryunset for a variant that only produces particles. Givegeometryto name the polygons the footprint will be aggregated to, and the grid is derived from them (stilt.Mesh.to_grid()) when the project first reads its variants (project.variants), not when the config loads. When both are given,gridis used as is andgeometryis recorded with the footprints.
Parameters#
Parameter |
Description |
Default |
|---|---|---|
|
Domain and resolution of the footprint. Unset with |
|
|
Polygons the footprint will be aggregated to ( |
|
|
Grid cells across the smallest |
|
|
Factor on the width of the Gaussian smoothing kernel. 0 turns smoothing off. |
|
|
Sum the footprint over time into a single layer instead of hourly layers. |
|
|
Particle transforms applied in order before the footprint is computed. Each entry’s |
|