Skip to content

update cartopy download URL #74

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

Merged
merged 1 commit into from
Sep 30, 2021

Conversation

jimustafa
Copy link
Contributor

The dataset that cartopy downloads comes from a CDN (http://naciscdn.org/) that goes down intermittently. The dataset is also hosted on S3, and this PR updates the download URL to point to the S3 source (cf. SciTools/cartopy#1325 (comment)).

@timhoffm timhoffm merged commit 2e1d87b into matplotlib:master Sep 30, 2021
@QuLogic
Copy link
Member

QuLogic commented Sep 30, 2021

Why would we not just use the latest Cartopy that has the correct URL?

@jimustafa
Copy link
Contributor Author

Good question. While cartopy v0.20.0 does have updated URLs, it requires PROJ 8+, which is not available as a deb package for Ubuntu 20.04 (see SciTools/cartopy#1879). This could make it difficult to install during the CI build. With @QuLogic (an author of cartopy) commenting, I am worried that I may be missing something.

@jimustafa jimustafa deleted the update-cartopy-dl-url branch September 30, 2021 02:40
@QuLogic
Copy link
Member

QuLogic commented Sep 30, 2021

Ah, I see we aren't using conda for the build, so that would make that difficult. Though it is preferable to update Cartopy soon, I'm not sure it will have much other effect on the results.

You can actually download the current script and pre-download instead of modifying Cartopy settings.

@jimustafa jimustafa mentioned this pull request Mar 9, 2023
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.

3 participants