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

Add ne_ prefix to NaturalEarth cache files. #1037

Merged
merged 1 commit into from
Apr 26, 2018

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented Feb 23, 2018

This prefix is used in the zip files provided by NaturalEarth, so if you download anything manually, you need to rename all the files for Cartopy to find them. This change makes that renaming no longer necessary, at the expense of a few extra re-downloads.

I don't know if NE changed the filenames or we have just been messing it up all this time.

This prefix is used in the zip files provided by NaturalEarth, so if you
download anything manually, you need to rename all the files for Cartopy
to find them. This change makes that renaming no longer necessary, at
the expense of a few extra re-downloads.
@QuLogic QuLogic changed the base branch from master to v0.16.x February 28, 2018 01:36
Copy link
Member

@pelson pelson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was certainly necessary at one point, but I agree with moving forwards with the new naming scheme.

I have kept promising myself to go back and add versioning into the downloader, so that we can [in]validate old files, and help people avoid a stagnant cache of files.

Glad to see that the tests have passed (a good sign for this PR). Any thoughts on the implications for tools/feature_download.py? It looks to me like the config is being used well in that script, so everything should "just worktm".

Copy link
Member

@pelson pelson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, just spotted this is against v0.16.x.

I don't think we can honestly call this a patch. If you put it against master, I'll happily cut a v0.17 rather than a v0.16.1...

@pelson pelson added this to the 0.17 milestone Apr 26, 2018
@QuLogic QuLogic changed the base branch from v0.16.x to master April 26, 2018 06:22
@QuLogic
Copy link
Member Author

QuLogic commented Apr 26, 2018

Done.

@pelson pelson merged commit 1b05e08 into SciTools:master Apr 26, 2018
@pelson
Copy link
Member

pelson commented Apr 26, 2018

Thanks @QuLogic.

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.

2 participants