FAILURE MAP
← Case archive

FA-70170 / Map projection transforms / Member archive

Spherical polar stereographic forward: longitude offset direction · case 05

Polar grids are mirrored left to right.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

Case contract

Input [lon, lat, pole, lon0, k0]. pole "N" accepts lat >= 0 and "S" accepts lat <= 0; other points return None. Sphere R = 6371000, dl = rad(lon - lon0). North: rho = 2*R*k0*tan(pi/4 - phi/2), x = rho*sin(dl), y = -rho*cos(dl). South: rho = 2*R*k0*tan(pi/4 + phi/2), x = rho*sin(dl), y = rho*cos(dl). Rounded to 2 decimals.

Why this case matters

Sea-ice, Antarctic and Arctic products are gridded in polar stereographic; a sign slip rotates whole continents.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
control #4[-1012221.27, -5413982.3][1012221.27, -5413982.3]Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗