{"action":"created","comment":{"url":"https://api.github.com/repos/obspy/obspy/pulls/comments/65506999","id":65506999,"diff_hunk":"@@ -349,19 +349,29 @@ def sanitize_downloads(self, logger):\n         of the download helpers does not allow for a StationXML file with no\n         data.\n         \"\"\"\n+        from obspy.io.mseed.util import get_start_and_end_time","path":"obspy/clients/fdsn/mass_downloader/download_helpers.py","position":4,"original_position":4,"commit_id":"e18e35afc03851f93fcec2700126ccd51808112b","original_commit_id":"e18e35afc03851f93fcec2700126ccd51808112b","user":{"login":"krischer","id":800487,"avatar_url":"https://avatars.githubusercontent.com/u/800487?v=3","gravatar_id":"","url":"https://api.github.com/users/krischer","html_url":"https://github.com/krischer","followers_url":"https://api.github.com/users/krischer/followers","following_url":"https://api.github.com/users/krischer/following{/other_user}","gists_url":"https://api.github.com/users/krischer/gists{/gist_id}","starred_url":"https://api.github.com/users/krischer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krischer/subscriptions","organizations_url":"https://api.github.com/users/krischer/orgs","repos_url":"https://api.github.com/users/krischer/repos","events_url":"https://api.github.com/users/krischer/events{/privacy}","received_events_url":"https://api.github.com/users/krischer/received_events","type":"User","site_admin":false},"body":"Can you move the import to the top of the file?","created_at":"2016-06-02T09:10:08Z","updated_at":"2016-06-02T09:10:08Z","html_url":"https://github.com/obspy/obspy/pull/1373#discussion_r65506999","pull_request_url":"https://api.github.com/repos/obspy/obspy/pulls/1373","_links":{"self":{"href":"https://api.github.com/repos/obspy/obspy/pulls/comments/65506999"},"html":{"href":"https://github.com/obspy/obspy/pull/1373#discussion_r65506999"},"pull_request":{"href":"https://api.github.com/repos/obspy/obspy/pulls/1373"}}},"pull_request":{"url":"https://api.github.com/repos/obspy/obspy/pulls/1373","id":66694452,"html_url":"https://github.com/obspy/obspy/pull/1373","diff_url":"https://github.com/obspy/obspy/pull/1373.diff","patch_url":"https://github.com/obspy/obspy/pull/1373.patch","issue_url":"https://api.github.com/repos/obspy/obspy/issues/1373","number":1373,"state":"closed","locked":false,"title":"FDSN mass_downloader channel priorities ignore low gain.","user":{"login":"krischer","id":800487,"avatar_url":"https://avatars.githubusercontent.com/u/800487?v=3","gravatar_id":"","url":"https://api.github.com/users/krischer","html_url":"https://github.com/krischer","followers_url":"https://api.github.com/users/krischer/followers","following_url":"https://api.github.com/users/krischer/following{/other_user}","gists_url":"https://api.github.com/users/krischer/gists{/gist_id}","starred_url":"https://api.github.com/users/krischer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krischer/subscriptions","organizations_url":"https://api.github.com/users/krischer/orgs","repos_url":"https://api.github.com/users/krischer/repos","events_url":"https://api.github.com/users/krischer/events{/privacy}","received_events_url":"https://api.github.com/users/krischer/received_events","type":"User","site_admin":false},"body":"Suggested patch to [obspy.clients.fdsn.mass_downloader.restrictions](https://github.com/obspy/obspy/blob/master/obspy/clients/fdsn/mass_downloader/restrictions.py#L198) to change default channel priorities to include low-gain (\\*L\\*) seismometers.\r\n\r\nI think this would help make the mass_downloader more general, so you can download all stations from a network by not setting the channel restriction.\r\n\r\nI edited my version to change lines 198-200 to:\r\n\r\n`                 channel_priorities=(\"H[HL][ZNE]\", \"B[HL][ZNE]\",\r\n                                     \"M[HL][ZNE]\", \"E[HL][ZNE]\",\r\n                                     \"L[HL][ZNE]\"),`\r\n\r\nHappy to make a pull request for this if you want.","created_at":"2016-04-15T19:42:43Z","updated_at":"2016-06-02T09:10:08Z","closed_at":"2016-06-02T02:32:40Z","merged_at":null,"merge_commit_sha":"b4d2d9dd088b0cd23ac2833e9e6de8e3c973407d","assignee":{"login":"krischer","id":800487,"avatar_url":"https://avatars.githubusercontent.com/u/800487?v=3","gravatar_id":"","url":"https://api.github.com/users/krischer","html_url":"https://github.com/krischer","followers_url":"https://api.github.com/users/krischer/followers","following_url":"https://api.github.com/users/krischer/following{/other_user}","gists_url":"https://api.github.com/users/krischer/gists{/gist_id}","starred_url":"https://api.github.com/users/krischer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krischer/subscriptions","organizations_url":"https://api.github.com/users/krischer/orgs","repos_url":"https://api.github.com/users/krischer/repos","events_url":"https://api.github.com/users/krischer/events{/privacy}","received_events_url":"https://api.github.com/users/krischer/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/obspy/obspy/pulls/1373/commits","review_comments_url":"https://api.github.com/repos/obspy/obspy/pulls/1373/comments","review_comment_url":"https://api.github.com/repos/obspy/obspy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/obspy/obspy/issues/1373/comments","statuses_url":"https://api.github.com/repos/obspy/obspy/statuses/e18e35afc03851f93fcec2700126ccd51808112b","head":{"label":"calum-chamberlain:maintenance_1.0.x","ref":"maintenance_1.0.x","sha":"e18e35afc03851f93fcec2700126ccd51808112b","user":{"login":"calum-chamberlain","id":10913395,"avatar_url":"https://avatars.githubusercontent.com/u/10913395?v=3","gravatar_id":"","url":"https://api.github.com/users/calum-chamberlain","html_url":"https://github.com/calum-chamberlain","followers_url":"https://api.github.com/users/calum-chamberlain/followers","following_url":"https://api.github.com/users/calum-chamberlain/following{/other_user}","gists_url":"https://api.github.com/users/calum-chamberlain/gists{/gist_id}","starred_url":"https://api.github.com/users/calum-chamberlain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calum-chamberlain/subscriptions","organizations_url":"https://api.github.com/users/calum-chamberlain/orgs","repos_url":"https://api.github.com/users/calum-chamberlain/repos","events_url":"https://api.github.com/users/calum-chamberlain/events{/privacy}","received_events_url":"https://api.github.com/users/calum-chamberlain/received_events","type":"User","site_admin":false},"repo":{"id":35978987,"name":"obspy","full_name":"calum-chamberlain/obspy","owner":{"login":"calum-chamberlain","id":10913395,"avatar_url":"https://avatars.githubusercontent.com/u/10913395?v=3","gravatar_id":"","url":"https://api.github.com/users/calum-chamberlain","html_url":"https://github.com/calum-chamberlain","followers_url":"https://api.github.com/users/calum-chamberlain/followers","following_url":"https://api.github.com/users/calum-chamberlain/following{/other_user}","gists_url":"https://api.github.com/users/calum-chamberlain/gists{/gist_id}","starred_url":"https://api.github.com/users/calum-chamberlain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calum-chamberlain/subscriptions","organizations_url":"https://api.github.com/users/calum-chamberlain/orgs","repos_url":"https://api.github.com/users/calum-chamberlain/repos","events_url":"https://api.github.com/users/calum-chamberlain/events{/privacy}","received_events_url":"https://api.github.com/users/calum-chamberlain/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/calum-chamberlain/obspy","description":"ObsPy: A Python Toolbox for seismology/seismological observatories.","fork":true,"url":"https://api.github.com/repos/calum-chamberlain/obspy","forks_url":"https://api.github.com/repos/calum-chamberlain/obspy/forks","keys_url":"https://api.github.com/repos/calum-chamberlain/obspy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/calum-chamberlain/obspy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/calum-chamberlain/obspy/teams","hooks_url":"https://api.github.com/repos/calum-chamberlain/obspy/hooks","issue_events_url":"https://api.github.com/repos/calum-chamberlain/obspy/issues/events{/number}","events_url":"https://api.github.com/repos/calum-chamberlain/obspy/events","assignees_url":"https://api.github.com/repos/calum-chamberlain/obspy/assignees{/user}","branches_url":"https://api.github.com/repos/calum-chamberlain/obspy/branches{/branch}","tags_url":"https://api.github.com/repos/calum-chamberlain/obspy/tags","blobs_url":"https://api.github.com/repos/calum-chamberlain/obspy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/calum-chamberlain/obspy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/calum-chamberlain/obspy/git/refs{/sha}","trees_url":"https://api.github.com/repos/calum-chamberlain/obspy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/calum-chamberlain/obspy/statuses/{sha}","languages_url":"https://api.github.com/repos/calum-chamberlain/obspy/languages","stargazers_url":"https://api.github.com/repos/calum-chamberlain/obspy/stargazers","contributors_url":"https://api.github.com/repos/calum-chamberlain/obspy/contributors","subscribers_url":"https://api.github.com/repos/calum-chamberlain/obspy/subscribers","subscription_url":"https://api.github.com/repos/calum-chamberlain/obspy/subscription","commits_url":"https://api.github.com/repos/calum-chamberlain/obspy/commits{/sha}","git_commits_url":"https://api.github.com/repos/calum-chamberlain/obspy/git/commits{/sha}","comments_url":"https://api.github.com/repos/calum-chamberlain/obspy/comments{/number}","issue_comment_url":"https://api.github.com/repos/calum-chamberlain/obspy/issues/comments{/number}","contents_url":"https://api.github.com/repos/calum-chamberlain/obspy/contents/{+path}","compare_url":"https://api.github.com/repos/calum-chamberlain/obspy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/calum-chamberlain/obspy/merges","archive_url":"https://api.github.com/repos/calum-chamberlain/obspy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/calum-chamberlain/obspy/downloads","issues_url":"https://api.github.com/repos/calum-chamberlain/obspy/issues{/number}","pulls_url":"https://api.github.com/repos/calum-chamberlain/obspy/pulls{/number}","milestones_url":"https://api.github.com/repos/calum-chamberlain/obspy/milestones{/number}","notifications_url":"https://api.github.com/repos/calum-chamberlain/obspy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/calum-chamberlain/obspy/labels{/name}","releases_url":"https://api.github.com/repos/calum-chamberlain/obspy/releases{/id}","deployments_url":"https://api.github.com/repos/calum-chamberlain/obspy/deployments","created_at":"2015-05-20T23:08:00Z","updated_at":"2016-02-22T20:48:13Z","pushed_at":"2016-05-15T20:36:39Z","git_url":"git://github.com/calum-chamberlain/obspy.git","ssh_url":"git@github.com:calum-chamberlain/obspy.git","clone_url":"https://github.com/calum-chamberlain/obspy.git","svn_url":"https://github.com/calum-chamberlain/obspy","homepage":"http://www.obspy.org","size":75402,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"obspy:maintenance_1.0.x","ref":"maintenance_1.0.x","sha":"da64f3b5e4d26012e3c2243d376429f5a697c138","user":{"login":"obspy","id":1701221,"avatar_url":"https://avatars.githubusercontent.com/u/1701221?v=3","gravatar_id":"","url":"https://api.github.com/users/obspy","html_url":"https://github.com/obspy","followers_url":"https://api.github.com/users/obspy/followers","following_url":"https://api.github.com/users/obspy/following{/other_user}","gists_url":"https://api.github.com/users/obspy/gists{/gist_id}","starred_url":"https://api.github.com/users/obspy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obspy/subscriptions","organizations_url":"https://api.github.com/users/obspy/orgs","repos_url":"https://api.github.com/users/obspy/repos","events_url":"https://api.github.com/users/obspy/events{/privacy}","received_events_url":"https://api.github.com/users/obspy/received_events","type":"Organization","site_admin":false},"repo":{"id":5731348,"name":"obspy","full_name":"obspy/obspy","owner":{"login":"obspy","id":1701221,"avatar_url":"https://avatars.githubusercontent.com/u/1701221?v=3","gravatar_id":"","url":"https://api.github.com/users/obspy","html_url":"https://github.com/obspy","followers_url":"https://api.github.com/users/obspy/followers","following_url":"https://api.github.com/users/obspy/following{/other_user}","gists_url":"https://api.github.com/users/obspy/gists{/gist_id}","starred_url":"https://api.github.com/users/obspy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obspy/subscriptions","organizations_url":"https://api.github.com/users/obspy/orgs","repos_url":"https://api.github.com/users/obspy/repos","events_url":"https://api.github.com/users/obspy/events{/privacy}","received_events_url":"https://api.github.com/users/obspy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/obspy/obspy","description":"ObsPy: A Python Toolbox for seismology/seismological observatories.","fork":false,"url":"https://api.github.com/repos/obspy/obspy","forks_url":"https://api.github.com/repos/obspy/obspy/forks","keys_url":"https://api.github.com/repos/obspy/obspy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/obspy/obspy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/obspy/obspy/teams","hooks_url":"https://api.github.com/repos/obspy/obspy/hooks","issue_events_url":"https://api.github.com/repos/obspy/obspy/issues/events{/number}","events_url":"https://api.github.com/repos/obspy/obspy/events","assignees_url":"https://api.github.com/repos/obspy/obspy/assignees{/user}","branches_url":"https://api.github.com/repos/obspy/obspy/branches{/branch}","tags_url":"https://api.github.com/repos/obspy/obspy/tags","blobs_url":"https://api.github.com/repos/obspy/obspy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/obspy/obspy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/obspy/obspy/git/refs{/sha}","trees_url":"https://api.github.com/repos/obspy/obspy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/obspy/obspy/statuses/{sha}","languages_url":"https://api.github.com/repos/obspy/obspy/languages","stargazers_url":"https://api.github.com/repos/obspy/obspy/stargazers","contributors_url":"https://api.github.com/repos/obspy/obspy/contributors","subscribers_url":"https://api.github.com/repos/obspy/obspy/subscribers","subscription_url":"https://api.github.com/repos/obspy/obspy/subscription","commits_url":"https://api.github.com/repos/obspy/obspy/commits{/sha}","git_commits_url":"https://api.github.com/repos/obspy/obspy/git/commits{/sha}","comments_url":"https://api.github.com/repos/obspy/obspy/comments{/number}","issue_comment_url":"https://api.github.com/repos/obspy/obspy/issues/comments{/number}","contents_url":"https://api.github.com/repos/obspy/obspy/contents/{+path}","compare_url":"https://api.github.com/repos/obspy/obspy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/obspy/obspy/merges","archive_url":"https://api.github.com/repos/obspy/obspy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/obspy/obspy/downloads","issues_url":"https://api.github.com/repos/obspy/obspy/issues{/number}","pulls_url":"https://api.github.com/repos/obspy/obspy/pulls{/number}","milestones_url":"https://api.github.com/repos/obspy/obspy/milestones{/number}","notifications_url":"https://api.github.com/repos/obspy/obspy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/obspy/obspy/labels{/name}","releases_url":"https://api.github.com/repos/obspy/obspy/releases{/id}","deployments_url":"https://api.github.com/repos/obspy/obspy/deployments","created_at":"2012-09-08T19:17:46Z","updated_at":"2016-06-01T03:52:36Z","pushed_at":"2016-06-02T08:49:13Z","git_url":"git://github.com/obspy/obspy.git","ssh_url":"git@github.com:obspy/obspy.git","clone_url":"https://github.com/obspy/obspy.git","svn_url":"https://github.com/obspy/obspy","homepage":"http://www.obspy.org","size":94115,"stargazers_count":210,"watchers_count":210,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":155,"mirror_url":null,"open_issues_count":166,"forks":155,"open_issues":166,"watchers":210,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/obspy/obspy/pulls/1373"},"html":{"href":"https://github.com/obspy/obspy/pull/1373"},"issue":{"href":"https://api.github.com/repos/obspy/obspy/issues/1373"},"comments":{"href":"https://api.github.com/repos/obspy/obspy/issues/1373/comments"},"review_comments":{"href":"https://api.github.com/repos/obspy/obspy/pulls/1373/comments"},"review_comment":{"href":"https://api.github.com/repos/obspy/obspy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/obspy/obspy/pulls/1373/commits"},"statuses":{"href":"https://api.github.com/repos/obspy/obspy/statuses/e18e35afc03851f93fcec2700126ccd51808112b"}}}}
{"actor":{"display_login":"krischer"}}