Skip to content

Fix 4326 streaks in regions reaching a pole on Mercator - #106

Merged
Shane98c merged 1 commit into
mainfrom
fix/4326-polar-lat-lookup
Nov 4, 2026
Merged

Shane98c merged 1 commit into
mainfrom
fix/4326-polar-lat-lookup

Conversation

@Shane98c

@Shane98c Shane98c commented Nov 4, 2026

Copy link
Copy Markdown
Member

Fixes streaks on Mercator across every EPSG:4326 region that reaches a pole (CMIP6 tasmax, Icechunk IMERG), from #102.

Regions reaching 90° have meshes far past the Mercator world, so the latitude lookup was anchored off-map, where its Float32 terms cancel. The lookup now anchors to the visible part of the region, with a new u_latShift uniform. Regions inside the world are unchanged.

#100 followup fix

@vercel

vercel Bot commented Nov 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
zarr-layer Ready Ready Preview Nov 4, 2026 3:53am UTC

Request Review

@Shane98c
Shane98c merged commit bdf4692 into main Nov 4, 2026
10 checks passed
@Shane98c
Shane98c deleted the fix/4326-polar-lat-lookup branch November 4, 2026 03:54

This branch was successfully deployed

1 active deployment
Preview — 48c64c5d Deployed Nov 4, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant