Skip to content

Commit 438dea7

Browse files
committed
Fix error message about missing basemap-data-hires
1 parent 59ffbf7 commit 438dea7

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ since version 1.3.0.
1616
- Upgrade development requirements for Python 3.10.
1717
- Move `doc` folder into `packages/basemap`.
1818

19+
### Fixed
20+
- Fix error message when trying to load high- and full-resolution datasets
21+
without installing the `basemap-data-hires` package.
22+
1923
## [1.3.0] - 2021-12-28
2024

2125
### Added

packages/basemap/src/mpl_toolkits/basemap/__init__.py

+4-5
Original file line numberDiff line numberDiff line change
@@ -1223,11 +1223,10 @@ def _readboundarydata(self,name,as_polygons=False):
12231223
read boundary data, clip to map projection region.
12241224
"""
12251225
msg = dedent("""
1226-
Unable to open boundary dataset file. Only the 'crude', 'low',
1227-
'intermediate' and 'high' resolution datasets are installed by default.
1228-
If you are requesting a 'full' resolution dataset, you may need to
1229-
download and install those files separately
1230-
(see the basemap README for details).""")
1226+
Unable to open boundary dataset file. Only the 'crude', 'low' and
1227+
'intermediate' resolution datasets are installed by default. If you
1228+
are requesting a 'high' or 'full' resolution dataset, you need to
1229+
install the `basemap-data-hires` package.""")
12311230
# only gshhs coastlines can be polygons.
12321231
if name != 'gshhs': as_polygons=False
12331232
try:

0 commit comments

Comments
 (0)