Skip to content

Conversation

dopplershift
Copy link
Contributor

@dopplershift dopplershift commented Apr 28, 2024

Rationale

This replaces a couple of internal uses of PlateCarree() for lon/lat coords with more proper geodetic CRS's on the same ellipse, which avoids some precision problems. In the case of LambertConformal, this was resulting in a traceback when creating a boundary on a spherical Earth datum.

This also fixes another case doing the same thing, seemingly without problem, but it seems better to avoid PlateCarree() here too.

Fixes #2377.

Implications

@CLAassistant
Copy link

CLAassistant commented Apr 28, 2024

CLA assistant check
All committers have signed the CLA.

@dopplershift dopplershift force-pushed the fix-2377 branch 2 times, most recently from 79f3a93 to 0f66f48 Compare April 28, 2024 04:24
This replaces a couple of internal uses of PlateCarree() for lon/lat
coords with more proper geodetic CRS's on the same ellipse, which avoids
some precision problems. In the case of LambertConformal, this was
resulting in a traceback when creating a boundary on a spherical Earth
datum.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error initializing LambertConformal projection on sphere with 0.23
3 participants