runtraj.MultiPointRelease#

class runtraj.MultiPointRelease(*, kind: Literal['multipoint'] = 'multipoint', time: datetime.datetime, altitude_ref: Literal['agl', 'msl'] = 'agl', attrs: dict[str, typing.Any] = <factory>, longitudes: tuple[float, ...], latitudes: tuple[float, ...], altitudes: tuple[float, ...]) → None[source]#

Release that releases particles from several points at once.

Use it for a slanted column, such as a satellite sounding sampled at several heights along the line of sight. Points may share a horizontal location, but a transport model may refuse such a release: HYSPLIT joins them into a line source, so with HYSPLIT use a ColumnRelease or one PointRelease per height. A release of only two points at one location is refused here, since releases.csv reads it as a column.

Parameters#

Parameter

Description

Default

kind

Release type.

'multipoint'

time

Release time, UTC. A time-zone-aware value is converted to UTC and a naive one taken as UTC. A string must be ISO 8601 or YYYYMMDDHHMM; other forms, such as the day-first 05/07/2023, are refused.

Required

altitude_ref

Whether heights are above ground (agl) or sea level (msl).

'agl'

attrs

Extra labels, such as a site or scene name: the columns of releases.csv that runtraj does not use. They are kept when the releases are written back, and are columns of project.releases and project.simulations to select on. They are not part of the release’s id or of equality.

{}

longitudes

Longitude of each point in degrees, from -180 to 180.

Required

latitudes

Latitude of each point in degrees, from -90 to 90.

Required

altitudes

Height of each point in meters.

Required

Attributes#

location_id

Location id, "multi_<hash>", ending in msl above sea level.

Methods#

coords()

Return (lon, lat, alt) of each release point.

Inherited#

From Release: from_dict, from_json, from_points, geometry, id, plot, points, to_dict, to_json