stilt.Simulation.footprint#

property Simulation.footprint: DataArray | None[source]#

The footprint, or None when the variant has no grid or it is empty.

An xarray.DataArray with dimensions (time, lat, lon), whose .stilt accessor has the PYSTILT methods.

Read from the output directory on first access and kept. An empty footprint, where no particle reached the grid, is None while has_footprint is true. Check has_footprint first when the run may not have finished.

Raises:

FileNotFoundError – If the footprint has not been written yet. Nothing is kept, so a read after the run finishes loads it.