stilt.MultiPointRelease#

class stilt.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. Each point must have its own longitude and latitude. For several heights at one location, use a ColumnRelease or one PointRelease per height.

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