FA-70168 / Map projection transforms / Member archive
Spherical polar stereographic forward: longitude offset direction · case 03
Polar grids are mirrored left to right.
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 fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| control #2 | [-6647880.23, 4717072.09] | [6647880.23, 4717072.09] | 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 ↗