Skip to content

Commit

Permalink
Update SRTM URL.
Browse files Browse the repository at this point in the history
Fixes #1080.
  • Loading branch information
QuLogic committed Oct 12, 2018
1 parent 9c8ee16 commit 6ac5d17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cartopy/io/srtm.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,8 @@ class SRTMDownloader(Downloader):
"""
FORMAT_KEYS = ('config', 'resolution', 'x', 'y')

_SRTM_BASE_URL = ('https://e4ftl01.cr.usgs.gov/SRTM/SRTMGL{resolution}.'
'003/2000.02.11/')
_SRTM_BASE_URL = ('https://e4ftl01.cr.usgs.gov/MEASURES/'
'SRTMGL{resolution}.003/2000.02.11/')
_SRTM_LOOKUP_CACHE = os.path.join(os.path.dirname(__file__),
'srtm.npz')
_SRTM_LOOKUP_MASK = np.load(_SRTM_LOOKUP_CACHE)['mask']
Expand Down

0 comments on commit 6ac5d17

Please sign in to comment.