stilt.Footprint#
- class stilt.Footprint(receptor: stilt.receptors.Receptor, config: stilt.config.footprint.FootprintConfig, data: xarray.core.dataarray.DataArray, name: str = '')[source]#
Gridded footprint of one receptor.
A footprint is the sensitivity of the concentration at the receptor to the surface flux in each grid cell, in ppm per (µmol m⁻² s⁻¹). Multiply it by a flux and sum over the grid to get the enhancement at the receptor (
enhancement()).Footprints normally come from a simulation (
sim.footprint) or a file (from_netcdf()).
Parameters
receptorReceptorReceptor the footprint belongs to.
configFootprintConfigGrid and smoothing settings it was calculated with.
gridmust be set.dataxarray.DataArrayValues with dimensions
(time, lat, lon), or(time, y, x)on a projected grid. Coordinates are cell centres, andtimeis the start of each hour. A time-integrated footprint has one time, the receptor time.namestr, optionalName of the footprint, usually the variant name.
Methods#
|
Sum the footprint onto the cells of another grid or set of polygons, per time bin. |
|
Calculate a footprint from particles. |
|
Return the modelled enhancement at the receptor, footprint times flux summed over the grid. |
|
Read a footprint from a NetCDF file written by |
|
Sum the footprint over time. |
|
Write the footprint to a CF-1.8 NetCDF file. |
Attributes#
|
Plotting methods, such as |
|
Start and end of the period the footprint covers. |
|
Grid the footprint is on ( |