Skip to content

Commit

Permalink
Merge pull request #2317 from kdungs/main
Browse files Browse the repository at this point in the history
Allow GSHHS levels 5 and 6 for Antarctica.
  • Loading branch information
greglucas authored Jan 25, 2024
2 parents 5e44939 + dcb23a0 commit ec891b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cartopy/feature/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def __init__(self, scale='auto', levels=None, **kwargs):
if levels is None:
levels = [1]
self._levels = set(levels)
unknown_levels = self._levels.difference([1, 2, 3, 4])
unknown_levels = self._levels.difference([1, 2, 3, 4, 5, 6])
if unknown_levels:
raise ValueError(f"Unknown GSHHS levels {unknown_levels!r}.")

Expand Down

0 comments on commit ec891b0

Please sign in to comment.