stilt.Footprint#

class stilt.Footprint(receptor: stilt.receptors.Receptor, config: stilt.config.footprint.FootprintConfig, data: xarray.core.dataarray.DataArray, name: str = '')[source]#

STILT footprint container with grid metadata and data array.

Methods#

aggregate(coords, time_bins)

Sample footprint at coordinates and integrate over time bins.

calculate(particles, receptor, config[, name])

Calculate footprint from particle trajectories.

from_netcdf(path, *[, chunks])

Create a footprint from a netCDF file.

integrate_over_time([start, end])

Integrate this footprint over an optional time range.

to_netcdf(path)

Write footprint to a netCDF file with CF-convention attributes.

Attributes#

empty_reason

Reason this footprint is an explicit zero-contribution output.

grid

Convenience accessor for the footprint grid metadata from the config.

is_empty

Return whether this footprint was explicitly marked empty.

plot

Plotting namespace (e.g. foot.plot.map()).

time_range

Get time range of footprint data.