Skip to content

Fix animations - #277

Open
dnerini wants to merge 2 commits into
mainfrom
fix/showcase-globe-animations
Open

dnerini wants to merge 2 commits into
mainfrom
fix/showcase-globe-animations

Conversation

@dnerini

@dnerini dnerini commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Two main issues are fixed in this PR:

  • issue with the way Cartopy sets the edge of the orthographic globe. _orthographic_tri now drops points outside the projection's x/y limits, not just NaNs.
  • ImageMagick (used to make the animated gifs) kept each frame in memory at very high precision and hit the system's resource limits. We replaced convert with a new scriptbased on Pillow.

dnerini and others added 2 commits October 17, 2026 00:15
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cartopy places limb points slightly outside the projection limits; contour
vertices beyond the limits make it re-project paths via shapely, which can
invert a band's holes and paint it over the whole globe.
@dnerini
dnerini requested review from jonasbhend and lclanzi October 19, 2026 12:46
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