Skip to content
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

coastlines not downloadable for cartopy via julia conda.jl #9

Closed
ggebbie opened this issue Sep 24, 2021 · 2 comments
Closed

coastlines not downloadable for cartopy via julia conda.jl #9

ggebbie opened this issue Sep 24, 2021 · 2 comments

Comments

@ggebbie
Copy link
Owner

ggebbie commented Sep 24, 2021

PyCall can be installed with a julia-specific version of python, but the coastlines dataset can no longer be accessed via the NaturalScience website pointed at in cartopy 0.18. See also SciTools/cartopy#1849.

@ggebbie
Copy link
Owner Author

ggebbie commented Oct 1, 2021

One fix is to update the julia-specific version of python from within Julia:
ENV["PYTHON"] = ""
Pkg.build("PyCall")
restart REPL?
Conda.add("matplotlib",channel="conda-forge")
Conda.add("shapely",channel="conda-forge")
Conda.add("cartopy=0.20.0",channel="conda-forge")

The shapely library may not need updating. I tried updating it to fix a SSL_Certificate unverified error. This error appears on a laptop, but not on a desktop. It could be checked by repeating the same process in python.

If cartopy doesn't download the coastline files, they can be copied from an outside version of python, but the location has changed from cartopy 0.18.0 to 0.20.0. Now they reside in .local/cartopy/....

@ggebbie ggebbie closed this as completed Oct 1, 2021
@ggebbie
Copy link
Owner Author

ggebbie commented Oct 1, 2021

See https://github.com/JuliaLang/NetworkOptions.jl#verify_host for info on SSL_CERTIFICATE not verified problem.

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

No branches or pull requests

1 participant