{"action":"created","comment":{"url":"https://api.github.com/repos/pytroll/pyresample/pulls/comments/196101870","pull_request_review_id":129589477,"id":196101870,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NjEwMTg3MA==","diff_hunk":"@@ -1061,7 +1040,9 @@ def get_neighbour_info(self):\n                             (target_lats <= 90) & (target_lats >= -90))\n \n         index_arr, distance_arr = self._query_resample_kdtree(\n-            resample_kdtree, target_lons, target_lats, valid_output_idx)\n+            resample_kdtree, target_lons, target_lats, valid_output_idx,\n+            # None)\n+            mask.data.ravel()[valid_input_idx.ravel()])","path":"pyresample/kd_tree.py","position":130,"original_position":130,"commit_id":"19a00ff625a853d6712247495cac629b5e4475e2","original_commit_id":"19a00ff625a853d6712247495cac629b5e4475e2","user":{"login":"mraspaud","id":167802,"node_id":"MDQ6VXNlcjE2NzgwMg==","avatar_url":"https://avatars1.githubusercontent.com/u/167802?v=4","gravatar_id":"","url":"https://api.github.com/users/mraspaud","html_url":"https://github.com/mraspaud","followers_url":"https://api.github.com/users/mraspaud/followers","following_url":"https://api.github.com/users/mraspaud/following{/other_user}","gists_url":"https://api.github.com/users/mraspaud/gists{/gist_id}","starred_url":"https://api.github.com/users/mraspaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mraspaud/subscriptions","organizations_url":"https://api.github.com/users/mraspaud/orgs","repos_url":"https://api.github.com/users/mraspaud/repos","events_url":"https://api.github.com/users/mraspaud/events{/privacy}","received_events_url":"https://api.github.com/users/mraspaud/received_events","type":"User","site_admin":false},"body":"in satpy, `get_neighbour_info` is called only once. So this query call should probably be moved to `get_pixels_from_neighbour_info`","created_at":"2018-06-18T14:36:25Z","updated_at":"2018-06-18T14:37:15Z","html_url":"https://github.com/pytroll/pyresample/pull/128#discussion_r196101870","pull_request_url":"https://api.github.com/repos/pytroll/pyresample/pulls/128","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/pytroll/pyresample/pulls/comments/196101870"},"html":{"href":"https://github.com/pytroll/pyresample/pull/128#discussion_r196101870"},"pull_request":{"href":"https://api.github.com/repos/pytroll/pyresample/pulls/128"}}},"pull_request":{"url":"https://api.github.com/repos/pytroll/pyresample/pulls/128","id":195376783,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1Mzc2Nzgz","html_url":"https://github.com/pytroll/pyresample/pull/128","diff_url":"https://github.com/pytroll/pyresample/pull/128.diff","patch_url":"https://github.com/pytroll/pyresample/pull/128.patch","issue_url":"https://api.github.com/repos/pytroll/pyresample/issues/128","number":128,"state":"open","locked":false,"title":"[WIP] Add option to provide KDTree's 'mask' argument when querying","user":{"login":"djhoese","id":1828519,"node_id":"MDQ6VXNlcjE4Mjg1MTk=","avatar_url":"https://avatars3.githubusercontent.com/u/1828519?v=4","gravatar_id":"","url":"https://api.github.com/users/djhoese","html_url":"https://github.com/djhoese","followers_url":"https://api.github.com/users/djhoese/followers","following_url":"https://api.github.com/users/djhoese/following{/other_user}","gists_url":"https://api.github.com/users/djhoese/gists{/gist_id}","starred_url":"https://api.github.com/users/djhoese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djhoese/subscriptions","organizations_url":"https://api.github.com/users/djhoese/orgs","repos_url":"https://api.github.com/users/djhoese/repos","events_url":"https://api.github.com/users/djhoese/events{/privacy}","received_events_url":"https://api.github.com/users/djhoese/received_events","type":"User","site_admin":false},"body":"Also remove scipy kdtree as an option and removed get_capabilities. Needs tests and documentation. Also will need pykdtree 1.3.1 when it is released.\r\n\r\n - [ ] Tests added <!-- for all bug fixes or enhancements -->\r\n - [ ] Tests passed <!-- for all non-documentation changes -->\r\n - [x] Passes ``git diff origin/master **/*py | flake8 --diff`` <!-- remove if you did not edit any Python files  -->\r\n - [ ] Fully documented <!-- remove if this change should not be visible to users, e.g., if it is an internal clean-up, or if this is part of a larger project that will be documented later -->\r\n","created_at":"2018-06-17T13:06:09Z","updated_at":"2018-06-18T14:37:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"80bd6df06b73384d977104e4bcd9063b82ee4135","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pytroll/pyresample/pulls/128/commits","review_comments_url":"https://api.github.com/repos/pytroll/pyresample/pulls/128/comments","review_comment_url":"https://api.github.com/repos/pytroll/pyresample/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pytroll/pyresample/issues/128/comments","statuses_url":"https://api.github.com/repos/pytroll/pyresample/statuses/19a00ff625a853d6712247495cac629b5e4475e2","head":{"label":"djhoese:feature-kdtree-mask","ref":"feature-kdtree-mask","sha":"19a00ff625a853d6712247495cac629b5e4475e2","user":{"login":"djhoese","id":1828519,"node_id":"MDQ6VXNlcjE4Mjg1MTk=","avatar_url":"https://avatars3.githubusercontent.com/u/1828519?v=4","gravatar_id":"","url":"https://api.github.com/users/djhoese","html_url":"https://github.com/djhoese","followers_url":"https://api.github.com/users/djhoese/followers","following_url":"https://api.github.com/users/djhoese/following{/other_user}","gists_url":"https://api.github.com/users/djhoese/gists{/gist_id}","starred_url":"https://api.github.com/users/djhoese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djhoese/subscriptions","organizations_url":"https://api.github.com/users/djhoese/orgs","repos_url":"https://api.github.com/users/djhoese/repos","events_url":"https://api.github.com/users/djhoese/events{/privacy}","received_events_url":"https://api.github.com/users/djhoese/received_events","type":"User","site_admin":false},"repo":{"id":32419189,"node_id":"MDEwOlJlcG9zaXRvcnkzMjQxOTE4OQ==","name":"pyresample","full_name":"djhoese/pyresample","owner":{"login":"djhoese","id":1828519,"node_id":"MDQ6VXNlcjE4Mjg1MTk=","avatar_url":"https://avatars3.githubusercontent.com/u/1828519?v=4","gravatar_id":"","url":"https://api.github.com/users/djhoese","html_url":"https://github.com/djhoese","followers_url":"https://api.github.com/users/djhoese/followers","following_url":"https://api.github.com/users/djhoese/following{/other_user}","gists_url":"https://api.github.com/users/djhoese/gists{/gist_id}","starred_url":"https://api.github.com/users/djhoese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djhoese/subscriptions","organizations_url":"https://api.github.com/users/djhoese/orgs","repos_url":"https://api.github.com/users/djhoese/repos","events_url":"https://api.github.com/users/djhoese/events{/privacy}","received_events_url":"https://api.github.com/users/djhoese/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/djhoese/pyresample","description":"Geospatial image resampling in Python","fork":true,"url":"https://api.github.com/repos/djhoese/pyresample","forks_url":"https://api.github.com/repos/djhoese/pyresample/forks","keys_url":"https://api.github.com/repos/djhoese/pyresample/keys{/key_id}","collaborators_url":"https://api.github.com/repos/djhoese/pyresample/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/djhoese/pyresample/teams","hooks_url":"https://api.github.com/repos/djhoese/pyresample/hooks","issue_events_url":"https://api.github.com/repos/djhoese/pyresample/issues/events{/number}","events_url":"https://api.github.com/repos/djhoese/pyresample/events","assignees_url":"https://api.github.com/repos/djhoese/pyresample/assignees{/user}","branches_url":"https://api.github.com/repos/djhoese/pyresample/branches{/branch}","tags_url":"https://api.github.com/repos/djhoese/pyresample/tags","blobs_url":"https://api.github.com/repos/djhoese/pyresample/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/djhoese/pyresample/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/djhoese/pyresample/git/refs{/sha}","trees_url":"https://api.github.com/repos/djhoese/pyresample/git/trees{/sha}","statuses_url":"https://api.github.com/repos/djhoese/pyresample/statuses/{sha}","languages_url":"https://api.github.com/repos/djhoese/pyresample/languages","stargazers_url":"https://api.github.com/repos/djhoese/pyresample/stargazers","contributors_url":"https://api.github.com/repos/djhoese/pyresample/contributors","subscribers_url":"https://api.github.com/repos/djhoese/pyresample/subscribers","subscription_url":"https://api.github.com/repos/djhoese/pyresample/subscription","commits_url":"https://api.github.com/repos/djhoese/pyresample/commits{/sha}","git_commits_url":"https://api.github.com/repos/djhoese/pyresample/git/commits{/sha}","comments_url":"https://api.github.com/repos/djhoese/pyresample/comments{/number}","issue_comment_url":"https://api.github.com/repos/djhoese/pyresample/issues/comments{/number}","contents_url":"https://api.github.com/repos/djhoese/pyresample/contents/{+path}","compare_url":"https://api.github.com/repos/djhoese/pyresample/compare/{base}...{head}","merges_url":"https://api.github.com/repos/djhoese/pyresample/merges","archive_url":"https://api.github.com/repos/djhoese/pyresample/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/djhoese/pyresample/downloads","issues_url":"https://api.github.com/repos/djhoese/pyresample/issues{/number}","pulls_url":"https://api.github.com/repos/djhoese/pyresample/pulls{/number}","milestones_url":"https://api.github.com/repos/djhoese/pyresample/milestones{/number}","notifications_url":"https://api.github.com/repos/djhoese/pyresample/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/djhoese/pyresample/labels{/name}","releases_url":"https://api.github.com/repos/djhoese/pyresample/releases{/id}","deployments_url":"https://api.github.com/repos/djhoese/pyresample/deployments","created_at":"2015-03-17T20:42:39Z","updated_at":"2016-11-03T15:06:26Z","pushed_at":"2018-06-17T13:05:25Z","git_url":"git://github.com/djhoese/pyresample.git","ssh_url":"git@github.com:djhoese/pyresample.git","clone_url":"https://github.com/djhoese/pyresample.git","svn_url":"https://github.com/djhoese/pyresample","homepage":"http://pyresample.readthedocs.org","size":13776,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0","node_id":"MDc6TGljZW5zZTEy"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pytroll:master","ref":"master","sha":"80567dbf832c7e45174cca911a192c16cc8b3f58","user":{"login":"pytroll","id":13004956,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMDA0OTU2","avatar_url":"https://avatars0.githubusercontent.com/u/13004956?v=4","gravatar_id":"","url":"https://api.github.com/users/pytroll","html_url":"https://github.com/pytroll","followers_url":"https://api.github.com/users/pytroll/followers","following_url":"https://api.github.com/users/pytroll/following{/other_user}","gists_url":"https://api.github.com/users/pytroll/gists{/gist_id}","starred_url":"https://api.github.com/users/pytroll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pytroll/subscriptions","organizations_url":"https://api.github.com/users/pytroll/orgs","repos_url":"https://api.github.com/users/pytroll/repos","events_url":"https://api.github.com/users/pytroll/events{/privacy}","received_events_url":"https://api.github.com/users/pytroll/received_events","type":"Organization","site_admin":false},"repo":{"id":24117057,"node_id":"MDEwOlJlcG9zaXRvcnkyNDExNzA1Nw==","name":"pyresample","full_name":"pytroll/pyresample","owner":{"login":"pytroll","id":13004956,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMDA0OTU2","avatar_url":"https://avatars0.githubusercontent.com/u/13004956?v=4","gravatar_id":"","url":"https://api.github.com/users/pytroll","html_url":"https://github.com/pytroll","followers_url":"https://api.github.com/users/pytroll/followers","following_url":"https://api.github.com/users/pytroll/following{/other_user}","gists_url":"https://api.github.com/users/pytroll/gists{/gist_id}","starred_url":"https://api.github.com/users/pytroll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pytroll/subscriptions","organizations_url":"https://api.github.com/users/pytroll/orgs","repos_url":"https://api.github.com/users/pytroll/repos","events_url":"https://api.github.com/users/pytroll/events{/privacy}","received_events_url":"https://api.github.com/users/pytroll/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pytroll/pyresample","description":"Geospatial image resampling in Python","fork":false,"url":"https://api.github.com/repos/pytroll/pyresample","forks_url":"https://api.github.com/repos/pytroll/pyresample/forks","keys_url":"https://api.github.com/repos/pytroll/pyresample/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pytroll/pyresample/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pytroll/pyresample/teams","hooks_url":"https://api.github.com/repos/pytroll/pyresample/hooks","issue_events_url":"https://api.github.com/repos/pytroll/pyresample/issues/events{/number}","events_url":"https://api.github.com/repos/pytroll/pyresample/events","assignees_url":"https://api.github.com/repos/pytroll/pyresample/assignees{/user}","branches_url":"https://api.github.com/repos/pytroll/pyresample/branches{/branch}","tags_url":"https://api.github.com/repos/pytroll/pyresample/tags","blobs_url":"https://api.github.com/repos/pytroll/pyresample/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pytroll/pyresample/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pytroll/pyresample/git/refs{/sha}","trees_url":"https://api.github.com/repos/pytroll/pyresample/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pytroll/pyresample/statuses/{sha}","languages_url":"https://api.github.com/repos/pytroll/pyresample/languages","stargazers_url":"https://api.github.com/repos/pytroll/pyresample/stargazers","contributors_url":"https://api.github.com/repos/pytroll/pyresample/contributors","subscribers_url":"https://api.github.com/repos/pytroll/pyresample/subscribers","subscription_url":"https://api.github.com/repos/pytroll/pyresample/subscription","commits_url":"https://api.github.com/repos/pytroll/pyresample/commits{/sha}","git_commits_url":"https://api.github.com/repos/pytroll/pyresample/git/commits{/sha}","comments_url":"https://api.github.com/repos/pytroll/pyresample/comments{/number}","issue_comment_url":"https://api.github.com/repos/pytroll/pyresample/issues/comments{/number}","contents_url":"https://api.github.com/repos/pytroll/pyresample/contents/{+path}","compare_url":"https://api.github.com/repos/pytroll/pyresample/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pytroll/pyresample/merges","archive_url":"https://api.github.com/repos/pytroll/pyresample/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pytroll/pyresample/downloads","issues_url":"https://api.github.com/repos/pytroll/pyresample/issues{/number}","pulls_url":"https://api.github.com/repos/pytroll/pyresample/pulls{/number}","milestones_url":"https://api.github.com/repos/pytroll/pyresample/milestones{/number}","notifications_url":"https://api.github.com/repos/pytroll/pyresample/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pytroll/pyresample/labels{/name}","releases_url":"https://api.github.com/repos/pytroll/pyresample/releases{/id}","deployments_url":"https://api.github.com/repos/pytroll/pyresample/deployments","created_at":"2014-09-16T20:44:43Z","updated_at":"2018-06-12T14:17:15Z","pushed_at":"2018-06-17T13:06:11Z","git_url":"git://github.com/pytroll/pyresample.git","ssh_url":"git@github.com:pytroll/pyresample.git","clone_url":"https://github.com/pytroll/pyresample.git","svn_url":"https://github.com/pytroll/pyresample","homepage":"http://pyresample.readthedocs.org","size":9584,"stargazers_count":83,"watchers_count":83,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0","node_id":"MDc6TGljZW5zZTEy"},"forks":36,"open_issues":11,"watchers":83,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pytroll/pyresample/pulls/128"},"html":{"href":"https://github.com/pytroll/pyresample/pull/128"},"issue":{"href":"https://api.github.com/repos/pytroll/pyresample/issues/128"},"comments":{"href":"https://api.github.com/repos/pytroll/pyresample/issues/128/comments"},"review_comments":{"href":"https://api.github.com/repos/pytroll/pyresample/pulls/128/comments"},"review_comment":{"href":"https://api.github.com/repos/pytroll/pyresample/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pytroll/pyresample/pulls/128/commits"},"statuses":{"href":"https://api.github.com/repos/pytroll/pyresample/statuses/19a00ff625a853d6712247495cac629b5e4475e2"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"mraspaud"}}