stilt.Release#
- class stilt.Release(*, kind: str, time: datetime.datetime, altitude_ref: Literal['agl', 'msl']='agl', attrs: dict[str, typing.Any]=<factory>) None[source]#
Base class of the release types.
A release is a frozen value: its release time, its release points, and the vertical reference of their heights.
coords()gives(lon, lat, alt)for each release point. Two releases are equal when their type, time, points, andaltitude_refmatch;attrsdo not count.
Parameters#
Parameter |
Description |
Default |
|---|---|---|
|
Release type: point, column, or multipoint. |
Required |
|
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 |
Required |
|
Whether heights are above ground (agl) or sea level (msl). |
|
|
Extra labels, such as a site or scene name: the columns of |
|
Attributes#
Shapely geometry of the release points. |
|
Release id, the release time followed by the location id. |
|
Identifier of this release's location. |
|
Plotting methods, such as |
|
Release points as shapely |
Methods#
|
Return |
|
Build a release of the right type from a dict made by |
|
Build a release from the JSON |
|
Build the right release type for a list of points. |
|
Return this release as a plain dict that |
|
Return this release as JSON, as result files record it; |