stilt.observations.particle_background#

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

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

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

Return type:

Series

Parameters: