runtraj.particles.ParticlesAccessor#

class runtraj.particles.ParticlesAccessor(particles: 'pd.DataFrame') → 'None'[source]#

runtraj’s methods on a particle table, as particles.runtraj.

A package can subclass it and register the subclass under its own name.

Attributes#

plot

Plotting methods, such as particles.runtraj.plot.map().

Methods#

endpoints()

Return the last row of each particle, the one farthest in time from release.

grid_exits(bounds)

Return where each particle first left a longitude/latitude box.

to_cf_trajectories()

Return the particles as a CF-1.10 trajectory dataset, one trajectory per particle.