{"action":"closed","number":1537,"pull_request":{"url":"https://api.github.com/repos/SciTools/iris/pulls/1537","id":28038372,"html_url":"https://github.com/SciTools/iris/pull/1537","diff_url":"https://github.com/SciTools/iris/pull/1537.diff","patch_url":"https://github.com/SciTools/iris/pull/1537.patch","issue_url":"https://api.github.com/repos/SciTools/iris/issues/1537","number":1537,"state":"closed","locked":false,"title":"Expose method of regridding to Regridder API.","user":{"login":"bjlittle","id":2051656,"avatar_url":"https://avatars.githubusercontent.com/u/2051656?v=3","gravatar_id":"","url":"https://api.github.com/users/bjlittle","html_url":"https://github.com/bjlittle","followers_url":"https://api.github.com/users/bjlittle/followers","following_url":"https://api.github.com/users/bjlittle/following{/other_user}","gists_url":"https://api.github.com/users/bjlittle/gists{/gist_id}","starred_url":"https://api.github.com/users/bjlittle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjlittle/subscriptions","organizations_url":"https://api.github.com/users/bjlittle/orgs","repos_url":"https://api.github.com/users/bjlittle/repos","events_url":"https://api.github.com/users/bjlittle/events{/privacy}","received_events_url":"https://api.github.com/users/bjlittle/received_events","type":"User","site_admin":false},"body":"This PR exposes the `method` of regridding to the API of the new `RectilinearRegridder` class.\r\n\r\nThe `method` may be `linear` or `nearest`, where the default behaviour is `linear`.\r\n\r\nThe `nearest` functionality has not yet been implemented. This PR exposes the means to select the method of regridding. ~~A following PR will implement and test the required underlying nearest-neighbour functionality.~~\r\n\r\nThis PR essentially:\r\n + Re-brands the `Rectilinear._regrid_bilinear_array` method to be `Rectilinear._regrid`,\r\n + Adds the **new** `method` argument to the `Rectilinear.__init__` and `Rectilinear._regrid` methods,\r\n + Deals with the testing fall-out from the above changes.\r\n\r\nThe addition of the `method` argument aligns the new `RectilinearRegridder` API with the signature and usage of the associated `RectilinearInterpolator` API.","created_at":"2015-01-26T16:18:01Z","updated_at":"2015-01-28T17:19:40Z","closed_at":"2015-01-28T17:19:40Z","merged_at":"2015-01-28T17:19:40Z","merge_commit_sha":"70d90e0e9327d272181a54682ae4839819edc32b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SciTools/iris/pulls/1537/commits","review_comments_url":"https://api.github.com/repos/SciTools/iris/pulls/1537/comments","review_comment_url":"https://api.github.com/repos/SciTools/iris/pulls/comments/{number}","comments_url":"https://api.github.com/repos/SciTools/iris/issues/1537/comments","statuses_url":"https://api.github.com/repos/SciTools/iris/statuses/4c6651dcb5a5d6f2ec973adcc2b7cda792b0d2cf","head":{"label":"bjlittle:nearest-regrid-refactor-4","ref":"nearest-regrid-refactor-4","sha":"4c6651dcb5a5d6f2ec973adcc2b7cda792b0d2cf","user":{"login":"bjlittle","id":2051656,"avatar_url":"https://avatars.githubusercontent.com/u/2051656?v=3","gravatar_id":"","url":"https://api.github.com/users/bjlittle","html_url":"https://github.com/bjlittle","followers_url":"https://api.github.com/users/bjlittle/followers","following_url":"https://api.github.com/users/bjlittle/following{/other_user}","gists_url":"https://api.github.com/users/bjlittle/gists{/gist_id}","starred_url":"https://api.github.com/users/bjlittle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjlittle/subscriptions","organizations_url":"https://api.github.com/users/bjlittle/orgs","repos_url":"https://api.github.com/users/bjlittle/repos","events_url":"https://api.github.com/users/bjlittle/events{/privacy}","received_events_url":"https://api.github.com/users/bjlittle/received_events","type":"User","site_admin":false},"repo":{"id":5312966,"name":"iris","full_name":"bjlittle/iris","owner":{"login":"bjlittle","id":2051656,"avatar_url":"https://avatars.githubusercontent.com/u/2051656?v=3","gravatar_id":"","url":"https://api.github.com/users/bjlittle","html_url":"https://github.com/bjlittle","followers_url":"https://api.github.com/users/bjlittle/followers","following_url":"https://api.github.com/users/bjlittle/following{/other_user}","gists_url":"https://api.github.com/users/bjlittle/gists{/gist_id}","starred_url":"https://api.github.com/users/bjlittle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjlittle/subscriptions","organizations_url":"https://api.github.com/users/bjlittle/orgs","repos_url":"https://api.github.com/users/bjlittle/repos","events_url":"https://api.github.com/users/bjlittle/events{/privacy}","received_events_url":"https://api.github.com/users/bjlittle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bjlittle/iris","description":"","fork":true,"url":"https://api.github.com/repos/bjlittle/iris","forks_url":"https://api.github.com/repos/bjlittle/iris/forks","keys_url":"https://api.github.com/repos/bjlittle/iris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bjlittle/iris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bjlittle/iris/teams","hooks_url":"https://api.github.com/repos/bjlittle/iris/hooks","issue_events_url":"https://api.github.com/repos/bjlittle/iris/issues/events{/number}","events_url":"https://api.github.com/repos/bjlittle/iris/events","assignees_url":"https://api.github.com/repos/bjlittle/iris/assignees{/user}","branches_url":"https://api.github.com/repos/bjlittle/iris/branches{/branch}","tags_url":"https://api.github.com/repos/bjlittle/iris/tags","blobs_url":"https://api.github.com/repos/bjlittle/iris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bjlittle/iris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bjlittle/iris/git/refs{/sha}","trees_url":"https://api.github.com/repos/bjlittle/iris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bjlittle/iris/statuses/{sha}","languages_url":"https://api.github.com/repos/bjlittle/iris/languages","stargazers_url":"https://api.github.com/repos/bjlittle/iris/stargazers","contributors_url":"https://api.github.com/repos/bjlittle/iris/contributors","subscribers_url":"https://api.github.com/repos/bjlittle/iris/subscribers","subscription_url":"https://api.github.com/repos/bjlittle/iris/subscription","commits_url":"https://api.github.com/repos/bjlittle/iris/commits{/sha}","git_commits_url":"https://api.github.com/repos/bjlittle/iris/git/commits{/sha}","comments_url":"https://api.github.com/repos/bjlittle/iris/comments{/number}","issue_comment_url":"https://api.github.com/repos/bjlittle/iris/issues/comments/{number}","contents_url":"https://api.github.com/repos/bjlittle/iris/contents/{+path}","compare_url":"https://api.github.com/repos/bjlittle/iris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bjlittle/iris/merges","archive_url":"https://api.github.com/repos/bjlittle/iris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bjlittle/iris/downloads","issues_url":"https://api.github.com/repos/bjlittle/iris/issues{/number}","pulls_url":"https://api.github.com/repos/bjlittle/iris/pulls{/number}","milestones_url":"https://api.github.com/repos/bjlittle/iris/milestones{/number}","notifications_url":"https://api.github.com/repos/bjlittle/iris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bjlittle/iris/labels{/name}","releases_url":"https://api.github.com/repos/bjlittle/iris/releases{/id}","created_at":"2012-08-06T10:45:19Z","updated_at":"2014-09-23T09:42:09Z","pushed_at":"2015-01-28T13:04:20Z","git_url":"git://github.com/bjlittle/iris.git","ssh_url":"git@github.com:bjlittle/iris.git","clone_url":"https://github.com/bjlittle/iris.git","svn_url":"https://github.com/bjlittle/iris","homepage":"","size":95670,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"SciTools:master","ref":"master","sha":"171fcf5a09e6cad7154f975586d9a634270ba3e5","user":{"login":"SciTools","id":1391487,"avatar_url":"https://avatars.githubusercontent.com/u/1391487?v=3","gravatar_id":"","url":"https://api.github.com/users/SciTools","html_url":"https://github.com/SciTools","followers_url":"https://api.github.com/users/SciTools/followers","following_url":"https://api.github.com/users/SciTools/following{/other_user}","gists_url":"https://api.github.com/users/SciTools/gists{/gist_id}","starred_url":"https://api.github.com/users/SciTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SciTools/subscriptions","organizations_url":"https://api.github.com/users/SciTools/orgs","repos_url":"https://api.github.com/users/SciTools/repos","events_url":"https://api.github.com/users/SciTools/events{/privacy}","received_events_url":"https://api.github.com/users/SciTools/received_events","type":"Organization","site_admin":false},"repo":{"id":5312648,"name":"iris","full_name":"SciTools/iris","owner":{"login":"SciTools","id":1391487,"avatar_url":"https://avatars.githubusercontent.com/u/1391487?v=3","gravatar_id":"","url":"https://api.github.com/users/SciTools","html_url":"https://github.com/SciTools","followers_url":"https://api.github.com/users/SciTools/followers","following_url":"https://api.github.com/users/SciTools/following{/other_user}","gists_url":"https://api.github.com/users/SciTools/gists{/gist_id}","starred_url":"https://api.github.com/users/SciTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SciTools/subscriptions","organizations_url":"https://api.github.com/users/SciTools/orgs","repos_url":"https://api.github.com/users/SciTools/repos","events_url":"https://api.github.com/users/SciTools/events{/privacy}","received_events_url":"https://api.github.com/users/SciTools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SciTools/iris","description":"A powerful, easy to use, and community-driven Python library for analysing and visualising meteorological and oceanographic data sets.","fork":false,"url":"https://api.github.com/repos/SciTools/iris","forks_url":"https://api.github.com/repos/SciTools/iris/forks","keys_url":"https://api.github.com/repos/SciTools/iris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SciTools/iris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SciTools/iris/teams","hooks_url":"https://api.github.com/repos/SciTools/iris/hooks","issue_events_url":"https://api.github.com/repos/SciTools/iris/issues/events{/number}","events_url":"https://api.github.com/repos/SciTools/iris/events","assignees_url":"https://api.github.com/repos/SciTools/iris/assignees{/user}","branches_url":"https://api.github.com/repos/SciTools/iris/branches{/branch}","tags_url":"https://api.github.com/repos/SciTools/iris/tags","blobs_url":"https://api.github.com/repos/SciTools/iris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SciTools/iris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SciTools/iris/git/refs{/sha}","trees_url":"https://api.github.com/repos/SciTools/iris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SciTools/iris/statuses/{sha}","languages_url":"https://api.github.com/repos/SciTools/iris/languages","stargazers_url":"https://api.github.com/repos/SciTools/iris/stargazers","contributors_url":"https://api.github.com/repos/SciTools/iris/contributors","subscribers_url":"https://api.github.com/repos/SciTools/iris/subscribers","subscription_url":"https://api.github.com/repos/SciTools/iris/subscription","commits_url":"https://api.github.com/repos/SciTools/iris/commits{/sha}","git_commits_url":"https://api.github.com/repos/SciTools/iris/git/commits{/sha}","comments_url":"https://api.github.com/repos/SciTools/iris/comments{/number}","issue_comment_url":"https://api.github.com/repos/SciTools/iris/issues/comments/{number}","contents_url":"https://api.github.com/repos/SciTools/iris/contents/{+path}","compare_url":"https://api.github.com/repos/SciTools/iris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SciTools/iris/merges","archive_url":"https://api.github.com/repos/SciTools/iris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SciTools/iris/downloads","issues_url":"https://api.github.com/repos/SciTools/iris/issues{/number}","pulls_url":"https://api.github.com/repos/SciTools/iris/pulls{/number}","milestones_url":"https://api.github.com/repos/SciTools/iris/milestones{/number}","notifications_url":"https://api.github.com/repos/SciTools/iris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SciTools/iris/labels{/name}","releases_url":"https://api.github.com/repos/SciTools/iris/releases{/id}","created_at":"2012-08-06T10:09:14Z","updated_at":"2015-01-27T16:52:43Z","pushed_at":"2015-01-28T17:19:40Z","git_url":"git://github.com/SciTools/iris.git","ssh_url":"git@github.com:SciTools/iris.git","clone_url":"https://github.com/SciTools/iris.git","svn_url":"https://github.com/SciTools/iris","homepage":"http://scitools.org.uk/iris/","size":143024,"stargazers_count":80,"watchers_count":80,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":67,"mirror_url":null,"open_issues_count":155,"forks":67,"open_issues":155,"watchers":80,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SciTools/iris/pulls/1537"},"html":{"href":"https://github.com/SciTools/iris/pull/1537"},"issue":{"href":"https://api.github.com/repos/SciTools/iris/issues/1537"},"comments":{"href":"https://api.github.com/repos/SciTools/iris/issues/1537/comments"},"review_comments":{"href":"https://api.github.com/repos/SciTools/iris/pulls/1537/comments"},"review_comment":{"href":"https://api.github.com/repos/SciTools/iris/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/SciTools/iris/pulls/1537/commits"},"statuses":{"href":"https://api.github.com/repos/SciTools/iris/statuses/4c6651dcb5a5d6f2ec973adcc2b7cda792b0d2cf"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"rhattersley","id":917914,"avatar_url":"https://avatars.githubusercontent.com/u/917914?v=3","gravatar_id":"","url":"https://api.github.com/users/rhattersley","html_url":"https://github.com/rhattersley","followers_url":"https://api.github.com/users/rhattersley/followers","following_url":"https://api.github.com/users/rhattersley/following{/other_user}","gists_url":"https://api.github.com/users/rhattersley/gists{/gist_id}","starred_url":"https://api.github.com/users/rhattersley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhattersley/subscriptions","organizations_url":"https://api.github.com/users/rhattersley/orgs","repos_url":"https://api.github.com/users/rhattersley/repos","events_url":"https://api.github.com/users/rhattersley/events{/privacy}","received_events_url":"https://api.github.com/users/rhattersley/received_events","type":"User","site_admin":false},"comments":6,"review_comments":0,"commits":3,"additions":1228,"deletions":424,"changed_files":30}}