-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test failure with Proj v5.0.1 #1071
Comments
Hi @avalentino. Thanks for sharing this. It looks like proj v5 must have updated its Transverse Mercator code, including numerical accuracy differences. At first glance (I haven't reminded myself of the test code itself, so may be wrong) I couldn't say that the new results are wrong/right, and would therefore be inclined to update the test to assert that the values are approximately equal, rather than absolutely equal. Would happily take a PR that did such a thing to this test (at which point, I'd double check the provenance of the numbers being tested, just in case there is good reason to check the values should be absolutely equal to those currently written in the test). Thanks again, |
@pelson yes, I can provide a patch with updated reference values. |
Yep, suggest updating the decimal parameter, and using the existing values. |
IMO it could be a temporary workaround waiting for a solution for OSGeo/PROJ#985 (cc @kbevers). |
I'll see if I can find the time to look at it tomorrow. |
Description
I'm working to update the cartopy package in debian.
I encountered some problem trying to run the unit tests.
The issue seems to be related to some kind of incompatibility with PROJ v5.0.1 used to build the package.
See also OSGeo/PROJ#985.
Related issue #1045.
Code to reproduce
Traceback
Operating system
Cartopy version
0.16.0
The text was updated successfully, but these errors were encountered: