{"action":"created","comment":{"url":"https://api.github.com/repos/metoppv/improver/pulls/comments/198747478","pull_request_review_id":132732014,"id":198747478,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODc0NzQ3OA==","diff_hunk":"@@ -365,3 +365,134 @@ def get_forecast_times(forecast_length, forecast_date=None,\n                        range(51, forecast_length+1, 3)])\n \n     return forecast_times\n+\n+\n+class TemporalInterpolation(object):\n+\n+    \"\"\"\n+    Interpolate data to intermediate times between the validity times of two\n+    cubes. This can be used to fill in missing data (e.g. for radar fields) or\n+    to ensure data is availble at the required intervals when model data is not\n+    available at these times.\n+    \"\"\"\n+\n+    def __init__(self, interval_in_minutes=None, times=None):\n+        \"\"\"\n+        Initialise class.\n+\n+        Keyword Args:\n+            interval_in_minutes (int):\n+                Specifies the interval in minutes at which to interpolate\n+                between the two input cubes. A number of minutes which does no","path":"lib/improver/utilities/temporal.py","position":22,"original_position":22,"commit_id":"03cb24c84621f15ffc8bd0f972f8eebdea320f79","original_commit_id":"03cb24c84621f15ffc8bd0f972f8eebdea320f79","user":{"login":"bayliffe","id":28042362,"node_id":"MDQ6VXNlcjI4MDQyMzYy","avatar_url":"https://avatars3.githubusercontent.com/u/28042362?v=4","gravatar_id":"","url":"https://api.github.com/users/bayliffe","html_url":"https://github.com/bayliffe","followers_url":"https://api.github.com/users/bayliffe/followers","following_url":"https://api.github.com/users/bayliffe/following{/other_user}","gists_url":"https://api.github.com/users/bayliffe/gists{/gist_id}","starred_url":"https://api.github.com/users/bayliffe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bayliffe/subscriptions","organizations_url":"https://api.github.com/users/bayliffe/orgs","repos_url":"https://api.github.com/users/bayliffe/repos","events_url":"https://api.github.com/users/bayliffe/events{/privacy}","received_events_url":"https://api.github.com/users/bayliffe/received_events","type":"User","site_admin":false},"body":"✅ ","created_at":"2018-06-28T08:19:42Z","updated_at":"2018-06-28T08:19:42Z","html_url":"https://github.com/metoppv/improver/pull/589#discussion_r198747478","pull_request_url":"https://api.github.com/repos/metoppv/improver/pulls/589","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/metoppv/improver/pulls/comments/198747478"},"html":{"href":"https://github.com/metoppv/improver/pull/589#discussion_r198747478"},"pull_request":{"href":"https://api.github.com/repos/metoppv/improver/pulls/589"}},"in_reply_to_id":198714967},"pull_request":{"url":"https://api.github.com/repos/metoppv/improver/pulls/589","id":197746577,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3NzQ2NTc3","html_url":"https://github.com/metoppv/improver/pull/589","diff_url":"https://github.com/metoppv/improver/pull/589.diff","patch_url":"https://github.com/metoppv/improver/pull/589.patch","issue_url":"https://api.github.com/repos/metoppv/improver/issues/589","number":589,"state":"open","locked":false,"title":"IMPRO-638: Plugin to perform temporal interpolation.","user":{"login":"bayliffe","id":28042362,"node_id":"MDQ6VXNlcjI4MDQyMzYy","avatar_url":"https://avatars3.githubusercontent.com/u/28042362?v=4","gravatar_id":"","url":"https://api.github.com/users/bayliffe","html_url":"https://github.com/bayliffe","followers_url":"https://api.github.com/users/bayliffe/followers","following_url":"https://api.github.com/users/bayliffe/following{/other_user}","gists_url":"https://api.github.com/users/bayliffe/gists{/gist_id}","starred_url":"https://api.github.com/users/bayliffe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bayliffe/subscriptions","organizations_url":"https://api.github.com/users/bayliffe/orgs","repos_url":"https://api.github.com/users/bayliffe/repos","events_url":"https://api.github.com/users/bayliffe/events{/privacy}","received_events_url":"https://api.github.com/users/bayliffe/received_events","type":"User","site_admin":false},"body":"Plugin to perform temporal interpolation.\r\n\r\nTesting:\r\n - [x] Ran tests and they passed OK\r\n - [x] Added new tests for the new feature(s)","created_at":"2018-06-27T14:10:37Z","updated_at":"2018-06-28T08:19:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"abd6b0b27156b3cce889a2ca93bb55dceb6a5262","assignee":null,"assignees":[],"requested_reviewers":[{"login":"MoseleyS","id":23079172,"node_id":"MDQ6VXNlcjIzMDc5MTcy","avatar_url":"https://avatars0.githubusercontent.com/u/23079172?v=4","gravatar_id":"","url":"https://api.github.com/users/MoseleyS","html_url":"https://github.com/MoseleyS","followers_url":"https://api.github.com/users/MoseleyS/followers","following_url":"https://api.github.com/users/MoseleyS/following{/other_user}","gists_url":"https://api.github.com/users/MoseleyS/gists{/gist_id}","starred_url":"https://api.github.com/users/MoseleyS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoseleyS/subscriptions","organizations_url":"https://api.github.com/users/MoseleyS/orgs","repos_url":"https://api.github.com/users/MoseleyS/repos","events_url":"https://api.github.com/users/MoseleyS/events{/privacy}","received_events_url":"https://api.github.com/users/MoseleyS/received_events","type":"User","site_admin":false},{"login":"MarkWorsfold","id":35810969,"node_id":"MDQ6VXNlcjM1ODEwOTY5","avatar_url":"https://avatars2.githubusercontent.com/u/35810969?v=4","gravatar_id":"","url":"https://api.github.com/users/MarkWorsfold","html_url":"https://github.com/MarkWorsfold","followers_url":"https://api.github.com/users/MarkWorsfold/followers","following_url":"https://api.github.com/users/MarkWorsfold/following{/other_user}","gists_url":"https://api.github.com/users/MarkWorsfold/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkWorsfold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkWorsfold/subscriptions","organizations_url":"https://api.github.com/users/MarkWorsfold/orgs","repos_url":"https://api.github.com/users/MarkWorsfold/repos","events_url":"https://api.github.com/users/MarkWorsfold/events{/privacy}","received_events_url":"https://api.github.com/users/MarkWorsfold/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/metoppv/improver/pulls/589/commits","review_comments_url":"https://api.github.com/repos/metoppv/improver/pulls/589/comments","review_comment_url":"https://api.github.com/repos/metoppv/improver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/metoppv/improver/issues/589/comments","statuses_url":"https://api.github.com/repos/metoppv/improver/statuses/03cb24c84621f15ffc8bd0f972f8eebdea320f79","head":{"label":"bayliffe:impro638","ref":"impro638","sha":"03cb24c84621f15ffc8bd0f972f8eebdea320f79","user":{"login":"bayliffe","id":28042362,"node_id":"MDQ6VXNlcjI4MDQyMzYy","avatar_url":"https://avatars3.githubusercontent.com/u/28042362?v=4","gravatar_id":"","url":"https://api.github.com/users/bayliffe","html_url":"https://github.com/bayliffe","followers_url":"https://api.github.com/users/bayliffe/followers","following_url":"https://api.github.com/users/bayliffe/following{/other_user}","gists_url":"https://api.github.com/users/bayliffe/gists{/gist_id}","starred_url":"https://api.github.com/users/bayliffe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bayliffe/subscriptions","organizations_url":"https://api.github.com/users/bayliffe/orgs","repos_url":"https://api.github.com/users/bayliffe/repos","events_url":"https://api.github.com/users/bayliffe/events{/privacy}","received_events_url":"https://api.github.com/users/bayliffe/received_events","type":"User","site_admin":false},"repo":{"id":89453063,"node_id":"MDEwOlJlcG9zaXRvcnk4OTQ1MzA2Mw==","name":"improver","full_name":"bayliffe/improver","owner":{"login":"bayliffe","id":28042362,"node_id":"MDQ6VXNlcjI4MDQyMzYy","avatar_url":"https://avatars3.githubusercontent.com/u/28042362?v=4","gravatar_id":"","url":"https://api.github.com/users/bayliffe","html_url":"https://github.com/bayliffe","followers_url":"https://api.github.com/users/bayliffe/followers","following_url":"https://api.github.com/users/bayliffe/following{/other_user}","gists_url":"https://api.github.com/users/bayliffe/gists{/gist_id}","starred_url":"https://api.github.com/users/bayliffe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bayliffe/subscriptions","organizations_url":"https://api.github.com/users/bayliffe/orgs","repos_url":"https://api.github.com/users/bayliffe/repos","events_url":"https://api.github.com/users/bayliffe/events{/privacy}","received_events_url":"https://api.github.com/users/bayliffe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bayliffe/improver","description":"IMPROVER","fork":true,"url":"https://api.github.com/repos/bayliffe/improver","forks_url":"https://api.github.com/repos/bayliffe/improver/forks","keys_url":"https://api.github.com/repos/bayliffe/improver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bayliffe/improver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bayliffe/improver/teams","hooks_url":"https://api.github.com/repos/bayliffe/improver/hooks","issue_events_url":"https://api.github.com/repos/bayliffe/improver/issues/events{/number}","events_url":"https://api.github.com/repos/bayliffe/improver/events","assignees_url":"https://api.github.com/repos/bayliffe/improver/assignees{/user}","branches_url":"https://api.github.com/repos/bayliffe/improver/branches{/branch}","tags_url":"https://api.github.com/repos/bayliffe/improver/tags","blobs_url":"https://api.github.com/repos/bayliffe/improver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bayliffe/improver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bayliffe/improver/git/refs{/sha}","trees_url":"https://api.github.com/repos/bayliffe/improver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bayliffe/improver/statuses/{sha}","languages_url":"https://api.github.com/repos/bayliffe/improver/languages","stargazers_url":"https://api.github.com/repos/bayliffe/improver/stargazers","contributors_url":"https://api.github.com/repos/bayliffe/improver/contributors","subscribers_url":"https://api.github.com/repos/bayliffe/improver/subscribers","subscription_url":"https://api.github.com/repos/bayliffe/improver/subscription","commits_url":"https://api.github.com/repos/bayliffe/improver/commits{/sha}","git_commits_url":"https://api.github.com/repos/bayliffe/improver/git/commits{/sha}","comments_url":"https://api.github.com/repos/bayliffe/improver/comments{/number}","issue_comment_url":"https://api.github.com/repos/bayliffe/improver/issues/comments{/number}","contents_url":"https://api.github.com/repos/bayliffe/improver/contents/{+path}","compare_url":"https://api.github.com/repos/bayliffe/improver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bayliffe/improver/merges","archive_url":"https://api.github.com/repos/bayliffe/improver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bayliffe/improver/downloads","issues_url":"https://api.github.com/repos/bayliffe/improver/issues{/number}","pulls_url":"https://api.github.com/repos/bayliffe/improver/pulls{/number}","milestones_url":"https://api.github.com/repos/bayliffe/improver/milestones{/number}","notifications_url":"https://api.github.com/repos/bayliffe/improver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bayliffe/improver/labels{/name}","releases_url":"https://api.github.com/repos/bayliffe/improver/releases{/id}","deployments_url":"https://api.github.com/repos/bayliffe/improver/deployments","created_at":"2017-04-26T07:45:39Z","updated_at":"2017-04-26T07:47:12Z","pushed_at":"2018-06-27T14:09:43Z","git_url":"git://github.com/bayliffe/improver.git","ssh_url":"git@github.com:bayliffe/improver.git","clone_url":"https://github.com/bayliffe/improver.git","svn_url":"https://github.com/bayliffe/improver","homepage":null,"size":3603,"stargazers_count":1,"watchers_count":1,"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":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"metoppv:master","ref":"master","sha":"ead00be4d9965d94cfe2a40e12b6f4466279c712","user":{"login":"metoppv","id":26465485,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2NDY1NDg1","avatar_url":"https://avatars2.githubusercontent.com/u/26465485?v=4","gravatar_id":"","url":"https://api.github.com/users/metoppv","html_url":"https://github.com/metoppv","followers_url":"https://api.github.com/users/metoppv/followers","following_url":"https://api.github.com/users/metoppv/following{/other_user}","gists_url":"https://api.github.com/users/metoppv/gists{/gist_id}","starred_url":"https://api.github.com/users/metoppv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metoppv/subscriptions","organizations_url":"https://api.github.com/users/metoppv/orgs","repos_url":"https://api.github.com/users/metoppv/repos","events_url":"https://api.github.com/users/metoppv/events{/privacy}","received_events_url":"https://api.github.com/users/metoppv/received_events","type":"Organization","site_admin":false},"repo":{"id":85334761,"node_id":"MDEwOlJlcG9zaXRvcnk4NTMzNDc2MQ==","name":"improver","full_name":"metoppv/improver","owner":{"login":"metoppv","id":26465485,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2NDY1NDg1","avatar_url":"https://avatars2.githubusercontent.com/u/26465485?v=4","gravatar_id":"","url":"https://api.github.com/users/metoppv","html_url":"https://github.com/metoppv","followers_url":"https://api.github.com/users/metoppv/followers","following_url":"https://api.github.com/users/metoppv/following{/other_user}","gists_url":"https://api.github.com/users/metoppv/gists{/gist_id}","starred_url":"https://api.github.com/users/metoppv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metoppv/subscriptions","organizations_url":"https://api.github.com/users/metoppv/orgs","repos_url":"https://api.github.com/users/metoppv/repos","events_url":"https://api.github.com/users/metoppv/events{/privacy}","received_events_url":"https://api.github.com/users/metoppv/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/metoppv/improver","description":"IMPROVER is a library of algorithms for meteorological post-processing and verification.","fork":false,"url":"https://api.github.com/repos/metoppv/improver","forks_url":"https://api.github.com/repos/metoppv/improver/forks","keys_url":"https://api.github.com/repos/metoppv/improver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/metoppv/improver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/metoppv/improver/teams","hooks_url":"https://api.github.com/repos/metoppv/improver/hooks","issue_events_url":"https://api.github.com/repos/metoppv/improver/issues/events{/number}","events_url":"https://api.github.com/repos/metoppv/improver/events","assignees_url":"https://api.github.com/repos/metoppv/improver/assignees{/user}","branches_url":"https://api.github.com/repos/metoppv/improver/branches{/branch}","tags_url":"https://api.github.com/repos/metoppv/improver/tags","blobs_url":"https://api.github.com/repos/metoppv/improver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/metoppv/improver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/metoppv/improver/git/refs{/sha}","trees_url":"https://api.github.com/repos/metoppv/improver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/metoppv/improver/statuses/{sha}","languages_url":"https://api.github.com/repos/metoppv/improver/languages","stargazers_url":"https://api.github.com/repos/metoppv/improver/stargazers","contributors_url":"https://api.github.com/repos/metoppv/improver/contributors","subscribers_url":"https://api.github.com/repos/metoppv/improver/subscribers","subscription_url":"https://api.github.com/repos/metoppv/improver/subscription","commits_url":"https://api.github.com/repos/metoppv/improver/commits{/sha}","git_commits_url":"https://api.github.com/repos/metoppv/improver/git/commits{/sha}","comments_url":"https://api.github.com/repos/metoppv/improver/comments{/number}","issue_comment_url":"https://api.github.com/repos/metoppv/improver/issues/comments{/number}","contents_url":"https://api.github.com/repos/metoppv/improver/contents/{+path}","compare_url":"https://api.github.com/repos/metoppv/improver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/metoppv/improver/merges","archive_url":"https://api.github.com/repos/metoppv/improver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/metoppv/improver/downloads","issues_url":"https://api.github.com/repos/metoppv/improver/issues{/number}","pulls_url":"https://api.github.com/repos/metoppv/improver/pulls{/number}","milestones_url":"https://api.github.com/repos/metoppv/improver/milestones{/number}","notifications_url":"https://api.github.com/repos/metoppv/improver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/metoppv/improver/labels{/name}","releases_url":"https://api.github.com/repos/metoppv/improver/releases{/id}","deployments_url":"https://api.github.com/repos/metoppv/improver/deployments","created_at":"2017-03-17T16:51:29Z","updated_at":"2018-06-26T10:42:34Z","pushed_at":"2018-06-28T07:22:11Z","git_url":"git://github.com/metoppv/improver.git","ssh_url":"git@github.com:metoppv/improver.git","clone_url":"https://github.com/metoppv/improver.git","svn_url":"https://github.com/metoppv/improver","homepage":"http://improver.readthedocs.io/en/latest/","size":3547,"stargazers_count":17,"watchers_count":17,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"archived":false,"open_issues_count":112,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":28,"open_issues":112,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/metoppv/improver/pulls/589"},"html":{"href":"https://github.com/metoppv/improver/pull/589"},"issue":{"href":"https://api.github.com/repos/metoppv/improver/issues/589"},"comments":{"href":"https://api.github.com/repos/metoppv/improver/issues/589/comments"},"review_comments":{"href":"https://api.github.com/repos/metoppv/improver/pulls/589/comments"},"review_comment":{"href":"https://api.github.com/repos/metoppv/improver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/metoppv/improver/pulls/589/commits"},"statuses":{"href":"https://api.github.com/repos/metoppv/improver/statuses/03cb24c84621f15ffc8bd0f972f8eebdea320f79"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"bayliffe"}}