pyresample.future.spherical.point module

Define single and multiple points on the sphere through SPoint and SMultiPoint classes.

class pyresample.future.spherical.point.SMultiPoint(lon, lat)

Bases: SCoordinate

Object representing multiple points on a sphere.

__init__(lon, lat)
classmethod from_degrees(lon, lat)

Create SMultiPoint from lon/lat coordinates in degrees.

to_shapely()

Convert the SMultiPoint to a shapely MultiPoint (in lon/lat degrees).

class pyresample.future.spherical.point.SPoint(lon, lat)

Bases: SCoordinate

Object representing a single point on a sphere.

The lon and lat coordinates must be provided in radians.

__init__(lon, lat)
classmethod from_degrees(lon, lat)

Create SPoint from lon/lat coordinates in degrees.

to_shapely()

Convert the SPoint to a shapely Point (in lon/lat degrees).