Skip to content

Alternative fix for Proj 9.8#2654

Draft
dopplershift wants to merge 3 commits intoSciTools:mainfrom
dopplershift:proj98-alt
Draft

Alternative fix for Proj 9.8#2654
dopplershift wants to merge 3 commits intoSciTools:mainfrom
dopplershift:proj98-alt

Conversation

@dopplershift
Copy link
Copy Markdown
Contributor

Alternative to #2653. Here I've forced the use of a spherical datum with the equidistant cyindrical projection, which causes our scaling to work properly again.

This does result in one test failure, caused by the fact that the forced R parameter means the datum for the projection is always spherical, which flows downstream into all calls of PlateCarree.to_geodetic().

While this is a smaller change, my personal opinion is in favor of #2653 because we finally get rid of all the hacks we have been doing to try to make PlateCarree work using the eqc projection.

This eliminates a warning from shapely deprecating the geos submodule.
The scaling we do with to_meter only works when the underlying eqc
projection is operating on a sphere, not an ellipsoid.
@dopplershift dopplershift changed the title Proj98 alt Alternative fix for Proj 9.8 Mar 27, 2026
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