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

Validating Natural Earth scales #1506

Merged
merged 1 commit into from Apr 6, 2020

Conversation

greglucas
Copy link
Contributor

Rationale

Fixes #1294

Raises if scale is not in (10m, 50m, 110m).

There could be more validation done to make sure the scale is valid with the selection still, but that could also get out of sync easily with Natural Earth. This is at least a first step towards raising better errors if someone doesn't pass in a valid scale.

Implications

ValueError is now raised if the scale isn't valid.

@greglucas greglucas added this to the 0.18 milestone Apr 4, 2020
@QuLogic QuLogic merged commit de1cd82 into SciTools:master Apr 6, 2020
@greglucas greglucas deleted the validate_ne_scale branch July 23, 2020 13:38
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.

404 error downloading ne_h_coastline.zip
2 participants