stilt.PointReceptor#

class stilt.PointReceptor(time: 'TimeLike', longitude: 'float', latitude: 'float', altitude: 'float', *, altitude_ref: 'VerticalReference' = 'agl') 'None'[source]#

A single-point STILT receptor.

Parameters

timedatetime-like or str

Timestamp associated with the receptor.

longitudefloat

Longitude [-180, 180].

latitudefloat

Latitude [-90, 90].

altitudefloat

Altitude interpreted according to altitude_ref.

altitude_ref{“agl”, “msl”}, default “agl”

Vertical reference for the altitude.

Methods#

from_dict(d)

Reconstruct a receptor from a dict produced by to_dict.

from_points(time, points, *[, altitude_ref])

Build a receptor from (longitude, latitude, altitude) tuples.

to_dict()

Return a dict with keys type, time, longitude, latitude, altitude, altitude_ref.

Attributes#

geometry

Lazily derived shapely geometry.

id

Receptor identifier composed of timestamp and location.

location_id

"{lon}_{lat}_{alt}" formatted location identifier.

plot

Plotting namespace (e.g. receptor.plot.map()).

points

All constituent shapely Points.