vibeproj.projections.stereographic

Polar Stereographic projection.

Conformal azimuthal projection for polar regions. Used by UPS (EPSG:32661/32761) and polar scientific grids (EPSG:3031, 3413).

Math from PROJ stere.c and Snyder, “Map Projections: A Working Manual”.

Classes

PolarStereographic

Polar Stereographic (variants A, B, C).

Module Contents

class vibeproj.projections.stereographic.PolarStereographic

Bases: vibeproj.projections.base.Projection

Polar Stereographic (variants A, B, C).

name = 'stere'
setup(params: vibeproj.crs.ProjectionParams) dict

Compute derived parameters from projection params.

Called once at construction time. Returns a dict of computed params that will be passed to forward/inverse.

forward(lam, phi, params, computed, xp)

Forward projection: geographic (lon, lat in radians) -> projected (x, y in meters).

lam: longitude relative to central meridian (radians), array phi: latitude (radians), array Returns (x, y) in projection-native units (before false easting/northing and scale).

inverse(x, y, params, computed, xp)

Inverse projection: projected (x, y) -> geographic (lon, lat in radians).

x, y: projection-native units (after removing false easting/northing and scale). Returns (lam, phi) in radians, with lam relative to central meridian.