runtraj.models.flexpart.FlexpartModel.release_rows#

FlexpartModel.release_rows(particles, release, config)[source]#

Return where each particle of a column or multipoint release started, which FLEXPART writes no row for.

FLEXPART numbers particles from 1 in the order they are released, and RELEASES (releases()) releases a column’s particle k in slab k of numpar, and a multipoint release’s particles point by point, so the number says where each started. The number of particles released is config.numpar, whichever of them particles holds: those that left the met’s domain before the first output step are missing, and the others keep their slabs or points.

Raises:

ValueError – If release is not a column or multipoint release.

Return type:

DataFrame

Parameters:
  • particles (DataFrame)

  • release (runtraj.releases.Release)

  • config (FlexpartConfig)