stilt.transforms.release_coordinate#

stilt.transforms.release_coordinate(particles, coordinate)[source]#

Return each particle’s release value of coordinate, indexed by indx.

Release coordinates such as xhgt are constant along a trajectory, but HYSPLIT diagnostics such as pres are written at every time step. The row nearest the receptor time (smallest |time| when time is in minutes; otherwise the first row) defines the release value.

Return type:

Series

Parameters:
  • particles (DataFrame)

  • coordinate (str)