runtraj.ColumnRelease#

class runtraj.ColumnRelease(*, kind: Literal['column'] = 'column', time: datetime.datetime, altitude_ref: Literal['agl', 'msl']='agl', attrs: dict[str, typing.Any]=<factory>, longitude: float, latitude: float, bottom: float, top: float) → None[source]#

Release that releases particles evenly along a vertical line.

Parameters#

Parameter

Description

Default

kind

Release type.

'column'

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.

{}

longitude

Longitude in degrees, from -180 to 180.

Required

latitude

Latitude in degrees, from -90 to 90.

Required

bottom

Bottom of the column in meters. Must be less than top.

Required

top

Top of the column in meters.

Required

Attributes#

location_id

Location id, "<lon>_<lat>_X<bottom>-<top>", ending in msl above sea level.

Methods#

coords()

Return (lon, lat, alt) of the bottom and the top of the column.

Inherited#

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