stilt.observations.particle_background#

stilt.observations.particle_background(particles, field)[source]#

Return the field at each particle’s endpoint, indexed by indx.

The endpoint is the row farthest in time from release (stilt.trajectory.endpoint_rows()). A vertical dimension must be named after the particle column it is matched against: pres for pressure in hPa, zagl for height above ground in meters, or a column you add, such as height above sea level from zagl + zsfc. Rename it with, for example, field.rename(level="pres"). A field with a time dimension is sampled at the endpoint’s datetime.

Return type:

Series

Parameters: