{"action":"created","comment":{"url":"https://api.github.com/repos/OGGM/oggm/pulls/comments/60219775","id":60219775,"diff_hunk":"@@ -218,12 +245,17 @@ def _download_alternate_topo_file(fname):\n     \"\"\"\n \n     # temporary check\n-    fzipname = fname + '.zip'\n+    fzipname = fname.split('.')[0] + '.zip'\n     if fzipname not in [\n-        'gimpdem_90m.tif.zip',\n-        'iceland.tif.zip',\n-        'northcanada.tif.zip',\n-        'svalbard.tif.zip',\n+        'gimpdem_90m.zip',\n+        'iceland.zip',\n+        'northcanada.zip',\n+        'svalbard.zip',\n+        'AN1.zip',\n+        'AN2.zip',\n+        'AN3.zip',\n+        'AN4.zip',\n+        'AN5.zip'\n     ]:","path":"oggm/utils.py","position":80,"original_position":80,"commit_id":"0df3e2a1b4412a5d10d49088effc576c6a4ff799","original_commit_id":"0df3e2a1b4412a5d10d49088effc576c6a4ff799","user":{"login":"JohannesUIBK","id":10832560,"avatar_url":"https://avatars.githubusercontent.com/u/10832560?v=3","gravatar_id":"","url":"https://api.github.com/users/JohannesUIBK","html_url":"https://github.com/JohannesUIBK","followers_url":"https://api.github.com/users/JohannesUIBK/followers","following_url":"https://api.github.com/users/JohannesUIBK/following{/other_user}","gists_url":"https://api.github.com/users/JohannesUIBK/gists{/gist_id}","starred_url":"https://api.github.com/users/JohannesUIBK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohannesUIBK/subscriptions","organizations_url":"https://api.github.com/users/JohannesUIBK/orgs","repos_url":"https://api.github.com/users/JohannesUIBK/repos","events_url":"https://api.github.com/users/JohannesUIBK/events{/privacy}","received_events_url":"https://api.github.com/users/JohannesUIBK/received_events","type":"User","site_admin":false},"body":"Ah okay!\r\nI thought it was easier to have all SRTM DEMs from one source (as they should be the same anyway!?)\r\nI will change things the way you have suggested now over the next days.\r\nI think a good name for the dataset was `_download_dem3_filled` if you are okay with it.\r\n\r\nAN1 to AN5 stand for the Antarctica tiles 1-5.\r\n\r\nLast but not least: yes, if you talk about the `fzipname` test, we should definitely check whether we can implement special conditions for special lats/lons in the `_download_dem3_filled` download function. That's what I believe would be the easiest to get the files nevertheless. ","created_at":"2016-04-19T12:19:35Z","updated_at":"2016-04-19T12:19:35Z","html_url":"https://github.com/OGGM/oggm/pull/75#discussion_r60219775","pull_request_url":"https://api.github.com/repos/OGGM/oggm/pulls/75","_links":{"self":{"href":"https://api.github.com/repos/OGGM/oggm/pulls/comments/60219775"},"html":{"href":"https://github.com/OGGM/oggm/pull/75#discussion_r60219775"},"pull_request":{"href":"https://api.github.com/repos/OGGM/oggm/pulls/75"}}},"pull_request":{"url":"https://api.github.com/repos/OGGM/oggm/pulls/75","id":67003073,"html_url":"https://github.com/OGGM/oggm/pull/75","diff_url":"https://github.com/OGGM/oggm/pull/75.diff","patch_url":"https://github.com/OGGM/oggm/pull/75.patch","issue_url":"https://api.github.com/repos/OGGM/oggm/issues/75","number":75,"state":"open","locked":false,"title":"Download corrected SRTM files and spelling ","user":{"login":"JohannesUIBK","id":10832560,"avatar_url":"https://avatars.githubusercontent.com/u/10832560?v=3","gravatar_id":"","url":"https://api.github.com/users/JohannesUIBK","html_url":"https://github.com/JohannesUIBK","followers_url":"https://api.github.com/users/JohannesUIBK/followers","following_url":"https://api.github.com/users/JohannesUIBK/following{/other_user}","gists_url":"https://api.github.com/users/JohannesUIBK/gists{/gist_id}","starred_url":"https://api.github.com/users/JohannesUIBK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohannesUIBK/subscriptions","organizations_url":"https://api.github.com/users/JohannesUIBK/orgs","repos_url":"https://api.github.com/users/JohannesUIBK/repos","events_url":"https://api.github.com/users/JohannesUIBK/events{/privacy}","received_events_url":"https://api.github.com/users/JohannesUIBK/received_events","type":"User","site_admin":false},"body":"Automatic filled SRTM download from viewfinderpanoramas.org should work now.","created_at":"2016-04-19T11:37:38Z","updated_at":"2016-04-19T12:19:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8fc7b9726d9d6330d27b5f3b000e6e8ae2a9c2f5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OGGM/oggm/pulls/75/commits","review_comments_url":"https://api.github.com/repos/OGGM/oggm/pulls/75/comments","review_comment_url":"https://api.github.com/repos/OGGM/oggm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OGGM/oggm/issues/75/comments","statuses_url":"https://api.github.com/repos/OGGM/oggm/statuses/0df3e2a1b4412a5d10d49088effc576c6a4ff799","head":{"label":"JohannesUIBK:master","ref":"master","sha":"0df3e2a1b4412a5d10d49088effc576c6a4ff799","user":{"login":"JohannesUIBK","id":10832560,"avatar_url":"https://avatars.githubusercontent.com/u/10832560?v=3","gravatar_id":"","url":"https://api.github.com/users/JohannesUIBK","html_url":"https://github.com/JohannesUIBK","followers_url":"https://api.github.com/users/JohannesUIBK/followers","following_url":"https://api.github.com/users/JohannesUIBK/following{/other_user}","gists_url":"https://api.github.com/users/JohannesUIBK/gists{/gist_id}","starred_url":"https://api.github.com/users/JohannesUIBK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohannesUIBK/subscriptions","organizations_url":"https://api.github.com/users/JohannesUIBK/orgs","repos_url":"https://api.github.com/users/JohannesUIBK/repos","events_url":"https://api.github.com/users/JohannesUIBK/events{/privacy}","received_events_url":"https://api.github.com/users/JohannesUIBK/received_events","type":"User","site_admin":false},"repo":{"id":44522365,"name":"oggm","full_name":"JohannesUIBK/oggm","owner":{"login":"JohannesUIBK","id":10832560,"avatar_url":"https://avatars.githubusercontent.com/u/10832560?v=3","gravatar_id":"","url":"https://api.github.com/users/JohannesUIBK","html_url":"https://github.com/JohannesUIBK","followers_url":"https://api.github.com/users/JohannesUIBK/followers","following_url":"https://api.github.com/users/JohannesUIBK/following{/other_user}","gists_url":"https://api.github.com/users/JohannesUIBK/gists{/gist_id}","starred_url":"https://api.github.com/users/JohannesUIBK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohannesUIBK/subscriptions","organizations_url":"https://api.github.com/users/JohannesUIBK/orgs","repos_url":"https://api.github.com/users/JohannesUIBK/repos","events_url":"https://api.github.com/users/JohannesUIBK/events{/privacy}","received_events_url":"https://api.github.com/users/JohannesUIBK/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JohannesUIBK/oggm","description":"Open Global Glacier Model","fork":true,"url":"https://api.github.com/repos/JohannesUIBK/oggm","forks_url":"https://api.github.com/repos/JohannesUIBK/oggm/forks","keys_url":"https://api.github.com/repos/JohannesUIBK/oggm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JohannesUIBK/oggm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JohannesUIBK/oggm/teams","hooks_url":"https://api.github.com/repos/JohannesUIBK/oggm/hooks","issue_events_url":"https://api.github.com/repos/JohannesUIBK/oggm/issues/events{/number}","events_url":"https://api.github.com/repos/JohannesUIBK/oggm/events","assignees_url":"https://api.github.com/repos/JohannesUIBK/oggm/assignees{/user}","branches_url":"https://api.github.com/repos/JohannesUIBK/oggm/branches{/branch}","tags_url":"https://api.github.com/repos/JohannesUIBK/oggm/tags","blobs_url":"https://api.github.com/repos/JohannesUIBK/oggm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JohannesUIBK/oggm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JohannesUIBK/oggm/git/refs{/sha}","trees_url":"https://api.github.com/repos/JohannesUIBK/oggm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JohannesUIBK/oggm/statuses/{sha}","languages_url":"https://api.github.com/repos/JohannesUIBK/oggm/languages","stargazers_url":"https://api.github.com/repos/JohannesUIBK/oggm/stargazers","contributors_url":"https://api.github.com/repos/JohannesUIBK/oggm/contributors","subscribers_url":"https://api.github.com/repos/JohannesUIBK/oggm/subscribers","subscription_url":"https://api.github.com/repos/JohannesUIBK/oggm/subscription","commits_url":"https://api.github.com/repos/JohannesUIBK/oggm/commits{/sha}","git_commits_url":"https://api.github.com/repos/JohannesUIBK/oggm/git/commits{/sha}","comments_url":"https://api.github.com/repos/JohannesUIBK/oggm/comments{/number}","issue_comment_url":"https://api.github.com/repos/JohannesUIBK/oggm/issues/comments{/number}","contents_url":"https://api.github.com/repos/JohannesUIBK/oggm/contents/{+path}","compare_url":"https://api.github.com/repos/JohannesUIBK/oggm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JohannesUIBK/oggm/merges","archive_url":"https://api.github.com/repos/JohannesUIBK/oggm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JohannesUIBK/oggm/downloads","issues_url":"https://api.github.com/repos/JohannesUIBK/oggm/issues{/number}","pulls_url":"https://api.github.com/repos/JohannesUIBK/oggm/pulls{/number}","milestones_url":"https://api.github.com/repos/JohannesUIBK/oggm/milestones{/number}","notifications_url":"https://api.github.com/repos/JohannesUIBK/oggm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JohannesUIBK/oggm/labels{/name}","releases_url":"https://api.github.com/repos/JohannesUIBK/oggm/releases{/id}","deployments_url":"https://api.github.com/repos/JohannesUIBK/oggm/deployments","created_at":"2015-10-19T08:53:23Z","updated_at":"2016-04-18T08:49:28Z","pushed_at":"2016-04-19T11:34:18Z","git_url":"git://github.com/JohannesUIBK/oggm.git","ssh_url":"git@github.com:JohannesUIBK/oggm.git","clone_url":"https://github.com/JohannesUIBK/oggm.git","svn_url":"https://github.com/JohannesUIBK/oggm","homepage":null,"size":9979,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OGGM:master","ref":"master","sha":"8e690d87b5f7daa0ee6f6570b84b8b7820369f54","user":{"login":"OGGM","id":14758186,"avatar_url":"https://avatars.githubusercontent.com/u/14758186?v=3","gravatar_id":"","url":"https://api.github.com/users/OGGM","html_url":"https://github.com/OGGM","followers_url":"https://api.github.com/users/OGGM/followers","following_url":"https://api.github.com/users/OGGM/following{/other_user}","gists_url":"https://api.github.com/users/OGGM/gists{/gist_id}","starred_url":"https://api.github.com/users/OGGM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OGGM/subscriptions","organizations_url":"https://api.github.com/users/OGGM/orgs","repos_url":"https://api.github.com/users/OGGM/repos","events_url":"https://api.github.com/users/OGGM/events{/privacy}","received_events_url":"https://api.github.com/users/OGGM/received_events","type":"Organization","site_admin":false},"repo":{"id":43965645,"name":"oggm","full_name":"OGGM/oggm","owner":{"login":"OGGM","id":14758186,"avatar_url":"https://avatars.githubusercontent.com/u/14758186?v=3","gravatar_id":"","url":"https://api.github.com/users/OGGM","html_url":"https://github.com/OGGM","followers_url":"https://api.github.com/users/OGGM/followers","following_url":"https://api.github.com/users/OGGM/following{/other_user}","gists_url":"https://api.github.com/users/OGGM/gists{/gist_id}","starred_url":"https://api.github.com/users/OGGM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OGGM/subscriptions","organizations_url":"https://api.github.com/users/OGGM/orgs","repos_url":"https://api.github.com/users/OGGM/repos","events_url":"https://api.github.com/users/OGGM/events{/privacy}","received_events_url":"https://api.github.com/users/OGGM/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OGGM/oggm","description":"Open Global Glacier Model ","fork":false,"url":"https://api.github.com/repos/OGGM/oggm","forks_url":"https://api.github.com/repos/OGGM/oggm/forks","keys_url":"https://api.github.com/repos/OGGM/oggm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OGGM/oggm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OGGM/oggm/teams","hooks_url":"https://api.github.com/repos/OGGM/oggm/hooks","issue_events_url":"https://api.github.com/repos/OGGM/oggm/issues/events{/number}","events_url":"https://api.github.com/repos/OGGM/oggm/events","assignees_url":"https://api.github.com/repos/OGGM/oggm/assignees{/user}","branches_url":"https://api.github.com/repos/OGGM/oggm/branches{/branch}","tags_url":"https://api.github.com/repos/OGGM/oggm/tags","blobs_url":"https://api.github.com/repos/OGGM/oggm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OGGM/oggm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OGGM/oggm/git/refs{/sha}","trees_url":"https://api.github.com/repos/OGGM/oggm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OGGM/oggm/statuses/{sha}","languages_url":"https://api.github.com/repos/OGGM/oggm/languages","stargazers_url":"https://api.github.com/repos/OGGM/oggm/stargazers","contributors_url":"https://api.github.com/repos/OGGM/oggm/contributors","subscribers_url":"https://api.github.com/repos/OGGM/oggm/subscribers","subscription_url":"https://api.github.com/repos/OGGM/oggm/subscription","commits_url":"https://api.github.com/repos/OGGM/oggm/commits{/sha}","git_commits_url":"https://api.github.com/repos/OGGM/oggm/git/commits{/sha}","comments_url":"https://api.github.com/repos/OGGM/oggm/comments{/number}","issue_comment_url":"https://api.github.com/repos/OGGM/oggm/issues/comments{/number}","contents_url":"https://api.github.com/repos/OGGM/oggm/contents/{+path}","compare_url":"https://api.github.com/repos/OGGM/oggm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OGGM/oggm/merges","archive_url":"https://api.github.com/repos/OGGM/oggm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OGGM/oggm/downloads","issues_url":"https://api.github.com/repos/OGGM/oggm/issues{/number}","pulls_url":"https://api.github.com/repos/OGGM/oggm/pulls{/number}","milestones_url":"https://api.github.com/repos/OGGM/oggm/milestones{/number}","notifications_url":"https://api.github.com/repos/OGGM/oggm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OGGM/oggm/labels{/name}","releases_url":"https://api.github.com/repos/OGGM/oggm/releases{/id}","deployments_url":"https://api.github.com/repos/OGGM/oggm/deployments","created_at":"2015-10-09T15:55:31Z","updated_at":"2016-02-13T15:59:36Z","pushed_at":"2016-04-19T11:37:39Z","git_url":"git://github.com/OGGM/oggm.git","ssh_url":"git@github.com:OGGM/oggm.git","clone_url":"https://github.com/OGGM/oggm.git","svn_url":"https://github.com/OGGM/oggm","homepage":"http://oggm.org","size":9935,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":20,"forks":6,"open_issues":20,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OGGM/oggm/pulls/75"},"html":{"href":"https://github.com/OGGM/oggm/pull/75"},"issue":{"href":"https://api.github.com/repos/OGGM/oggm/issues/75"},"comments":{"href":"https://api.github.com/repos/OGGM/oggm/issues/75/comments"},"review_comments":{"href":"https://api.github.com/repos/OGGM/oggm/pulls/75/comments"},"review_comment":{"href":"https://api.github.com/repos/OGGM/oggm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OGGM/oggm/pulls/75/commits"},"statuses":{"href":"https://api.github.com/repos/OGGM/oggm/statuses/0df3e2a1b4412a5d10d49088effc576c6a4ff799"}}}}