From 6ac5d17d7788d74e7b451f15098cfdbd2aa2b197 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Fri, 12 Oct 2018 16:40:44 -0400 Subject: [PATCH] Update SRTM URL. Fixes #1080. --- lib/cartopy/io/srtm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cartopy/io/srtm.py b/lib/cartopy/io/srtm.py index 8f05ff4e2..9abf0744f 100644 --- a/lib/cartopy/io/srtm.py +++ b/lib/cartopy/io/srtm.py @@ -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']