runtraj.models.hysplit.releases.check_releases#

runtraj.models.hysplit.releases.check_releases(releases, trajectory=False, sources=False)[source]#

Return the releases HYSPLIT cannot run, one row each, with check, release and message.

releases has one row per release point (release, kind, longitude, latitude). A multipoint release is refused when two of its points share a horizontal location: HYSPLIT joins consecutive release locations at one latitude and longitude, to 5 decimal places, into a vertical line source and releases only from the last pair.

With trajectory, for hyts_std, a column release is refused instead: every location starts a trajectory of its own, so a multipoint release may repeat a location, and there is no line source for a column.

With sources, for a concentration run with ichem: 1, a column release is refused as well as a multipoint one that repeats a location: the run’s grids are one per release location, and a column is two locations and one source.

Return type:

DataFrame

Parameters: