-
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
Error specifying center long for Mercator projection and extents on Python 3.6 #1097
Comments
I have Python 3.6.6 miniconda running under Ubuntu 18.04 with the following (subset) of packages:
It sounds like there is some kind of issue with the non- conda-forge repository. I think we have been using |
I can reproduce this problem now, it is due to using version 5 of proj (proj4 5.0.1). If you install cartopy from conda defaults you get a version built against proj4 5.0.1, but on conda-forge you get a cartopy built with proj4 4.9.3. You should pin proj4 to a version less than 5 when installing, for a new environment from defaults:
or to modify an existing install from defaults:
|
Oh interesting, I'll have to double check that we are indeed having an issue on the Win install that seems to have a lower proj4 major version of 4. EDIT: Yes it seems the windows installation is OK in this regard, had a different problem unrelated to Cartopy that impacted the test above. |
In response to SciTools/cartopy#1097
Description
The following code works in Python 2 but fails in Python 3. The commented lines appear to work OK however, so it is really only a minor problem.
Code to reproduce
Traceback
The text was updated successfully, but these errors were encountered: