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:presfor pressure in hPa orzaglfor height above ground in metres (rename it withfield.rename(level="pres")), or a column you add, such as height above sea level fromzagl + zsfc. A time-varying field is sampled at the endpoint’sdatetime.- Return type:
Series- Parameters:
particles (DataFrame)
field (DataArray)