FAILURE MAP
← Case archive

FA-70087 / Map projection transforms / Member archive

Sinusoidal equal-area inverse: latitude domain check · case 02

Rows beyond the poles are decoded as valid latitudes.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Input [x, y, lon0] metres on a sphere R = 6371007. lat = y/R radians; if |lat| > pi/2 return None. If cos(lat) < 1e-12 (a pole) return [lon0, +/-90]. Otherwise dl = x/(R*cos(lat)); if |dl| > pi the point is outside the map outline and None is returned. lon = lon0 + deg(dl) wrapped to [-180, 180). Return [lon, lat] degrees rounded to 6 decimals.

Why this case matters

MODIS-style sinusoidal grids are inverted to label pixels; outside-outline pixels must be recognised as fill.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
boundary #19[0.0, -107.918474]nullFailed

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 ↗