{"action":"created","comment":{"url":"https://api.github.com/repos/SciTools/iris/pulls/comments/56508557","id":56508557,"diff_hunk":"@@ -911,9 +911,71 @@ def load_cubes(filenames, callback=None, auto_regularise=True):\n     return iris.fileformats.rules.load_cubes(filenames, callback, grib_loader)\n \n \n+def messages_from_filename(filename):\n+    \"\"\"\n+    Return a generator of :class:`iris.fileformats.grib._message._GribMessage`\n+    instances; one for each message in the supplied GRIB file.\n+\n+    Args:\n+\n+    * filename (string):\n+        Name of the file to generate fields from.\n+\n+    \"\"\"\n+    return _GribMessage.messages_from_filename(filename)\n+\n+\n+def load_pairs_from_fields(grib_messages):\n+    \"\"\"","path":"lib/iris/fileformats/grib/__init__.py","position":38,"original_position":38,"commit_id":"68d4f658f177592ca017084e9bdd1089fd38727b","original_commit_id":"68d4f658f177592ca017084e9bdd1089fd38727b","user":{"login":"pp-mo","id":2089069,"avatar_url":"https://avatars.githubusercontent.com/u/2089069?v=3","gravatar_id":"","url":"https://api.github.com/users/pp-mo","html_url":"https://github.com/pp-mo","followers_url":"https://api.github.com/users/pp-mo/followers","following_url":"https://api.github.com/users/pp-mo/following{/other_user}","gists_url":"https://api.github.com/users/pp-mo/gists{/gist_id}","starred_url":"https://api.github.com/users/pp-mo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pp-mo/subscriptions","organizations_url":"https://api.github.com/users/pp-mo/orgs","repos_url":"https://api.github.com/users/pp-mo/repos","events_url":"https://api.github.com/users/pp-mo/events{/privacy}","received_events_url":"https://api.github.com/users/pp-mo/received_events","type":"User","site_admin":false},"body":"Just maybe, should this be called \"load_pairs_from_messages\", to match other names here ?","created_at":"2016-03-17T14:06:30Z","updated_at":"2016-03-17T14:06:30Z","html_url":"https://github.com/SciTools/iris/pull/1941#discussion_r56508557","pull_request_url":"https://api.github.com/repos/SciTools/iris/pulls/1941","_links":{"self":{"href":"https://api.github.com/repos/SciTools/iris/pulls/comments/56508557"},"html":{"href":"https://github.com/SciTools/iris/pull/1941#discussion_r56508557"},"pull_request":{"href":"https://api.github.com/repos/SciTools/iris/pulls/1941"}}},"pull_request":{"url":"https://api.github.com/repos/SciTools/iris/pulls/1941","id":59533239,"html_url":"https://github.com/SciTools/iris/pull/1941","diff_url":"https://github.com/SciTools/iris/pull/1941.diff","patch_url":"https://github.com/SciTools/iris/pull/1941.patch","issue_url":"https://api.github.com/repos/SciTools/iris/issues/1941","number":1941,"state":"open","locked":false,"title":"As cubes","user":{"login":"marqh","id":1557321,"avatar_url":"https://avatars.githubusercontent.com/u/1557321?v=3","gravatar_id":"","url":"https://api.github.com/users/marqh","html_url":"https://github.com/marqh","followers_url":"https://api.github.com/users/marqh/followers","following_url":"https://api.github.com/users/marqh/following{/other_user}","gists_url":"https://api.github.com/users/marqh/gists{/gist_id}","starred_url":"https://api.github.com/users/marqh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marqh/subscriptions","organizations_url":"https://api.github.com/users/marqh/orgs","repos_url":"https://api.github.com/users/marqh/repos","events_url":"https://api.github.com/users/marqh/events{/privacy}","received_events_url":"https://api.github.com/users/marqh/received_events","type":"User","site_admin":false},"body":"builiding on #1934 with some tweaks and a new test\r\n\r\nI would like an entry in the what's new and an entry in the user guide before it's merged\r\n\r\n","created_at":"2016-02-16T18:31:58Z","updated_at":"2016-03-17T14:06:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d4987014ad3e28631c31f36f7b71a41d56f7f7ed","assignee":null,"milestone":{"url":"https://api.github.com/repos/SciTools/iris/milestones/14","html_url":"https://github.com/SciTools/iris/milestones/v1.10","labels_url":"https://api.github.com/repos/SciTools/iris/milestones/14/labels","id":1426195,"number":14,"title":"v1.10","description":"","creator":{"login":"QuLogic","id":302469,"avatar_url":"https://avatars.githubusercontent.com/u/302469?v=3","gravatar_id":"","url":"https://api.github.com/users/QuLogic","html_url":"https://github.com/QuLogic","followers_url":"https://api.github.com/users/QuLogic/followers","following_url":"https://api.github.com/users/QuLogic/following{/other_user}","gists_url":"https://api.github.com/users/QuLogic/gists{/gist_id}","starred_url":"https://api.github.com/users/QuLogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuLogic/subscriptions","organizations_url":"https://api.github.com/users/QuLogic/orgs","repos_url":"https://api.github.com/users/QuLogic/repos","events_url":"https://api.github.com/users/QuLogic/events{/privacy}","received_events_url":"https://api.github.com/users/QuLogic/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":41,"state":"open","created_at":"2015-11-23T22:23:19Z","updated_at":"2016-03-10T09:56:45Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/SciTools/iris/pulls/1941/commits","review_comments_url":"https://api.github.com/repos/SciTools/iris/pulls/1941/comments","review_comment_url":"https://api.github.com/repos/SciTools/iris/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SciTools/iris/issues/1941/comments","statuses_url":"https://api.github.com/repos/SciTools/iris/statuses/68d4f658f177592ca017084e9bdd1089fd38727b","head":{"label":"marqh:as_cubes","ref":"as_cubes","sha":"68d4f658f177592ca017084e9bdd1089fd38727b","user":{"login":"marqh","id":1557321,"avatar_url":"https://avatars.githubusercontent.com/u/1557321?v=3","gravatar_id":"","url":"https://api.github.com/users/marqh","html_url":"https://github.com/marqh","followers_url":"https://api.github.com/users/marqh/followers","following_url":"https://api.github.com/users/marqh/following{/other_user}","gists_url":"https://api.github.com/users/marqh/gists{/gist_id}","starred_url":"https://api.github.com/users/marqh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marqh/subscriptions","organizations_url":"https://api.github.com/users/marqh/orgs","repos_url":"https://api.github.com/users/marqh/repos","events_url":"https://api.github.com/users/marqh/events{/privacy}","received_events_url":"https://api.github.com/users/marqh/received_events","type":"User","site_admin":false},"repo":{"id":5371453,"name":"iris","full_name":"marqh/iris","owner":{"login":"marqh","id":1557321,"avatar_url":"https://avatars.githubusercontent.com/u/1557321?v=3","gravatar_id":"","url":"https://api.github.com/users/marqh","html_url":"https://github.com/marqh","followers_url":"https://api.github.com/users/marqh/followers","following_url":"https://api.github.com/users/marqh/following{/other_user}","gists_url":"https://api.github.com/users/marqh/gists{/gist_id}","starred_url":"https://api.github.com/users/marqh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marqh/subscriptions","organizations_url":"https://api.github.com/users/marqh/orgs","repos_url":"https://api.github.com/users/marqh/repos","events_url":"https://api.github.com/users/marqh/events{/privacy}","received_events_url":"https://api.github.com/users/marqh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marqh/iris","description":"","fork":true,"url":"https://api.github.com/repos/marqh/iris","forks_url":"https://api.github.com/repos/marqh/iris/forks","keys_url":"https://api.github.com/repos/marqh/iris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marqh/iris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marqh/iris/teams","hooks_url":"https://api.github.com/repos/marqh/iris/hooks","issue_events_url":"https://api.github.com/repos/marqh/iris/issues/events{/number}","events_url":"https://api.github.com/repos/marqh/iris/events","assignees_url":"https://api.github.com/repos/marqh/iris/assignees{/user}","branches_url":"https://api.github.com/repos/marqh/iris/branches{/branch}","tags_url":"https://api.github.com/repos/marqh/iris/tags","blobs_url":"https://api.github.com/repos/marqh/iris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marqh/iris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marqh/iris/git/refs{/sha}","trees_url":"https://api.github.com/repos/marqh/iris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marqh/iris/statuses/{sha}","languages_url":"https://api.github.com/repos/marqh/iris/languages","stargazers_url":"https://api.github.com/repos/marqh/iris/stargazers","contributors_url":"https://api.github.com/repos/marqh/iris/contributors","subscribers_url":"https://api.github.com/repos/marqh/iris/subscribers","subscription_url":"https://api.github.com/repos/marqh/iris/subscription","commits_url":"https://api.github.com/repos/marqh/iris/commits{/sha}","git_commits_url":"https://api.github.com/repos/marqh/iris/git/commits{/sha}","comments_url":"https://api.github.com/repos/marqh/iris/comments{/number}","issue_comment_url":"https://api.github.com/repos/marqh/iris/issues/comments{/number}","contents_url":"https://api.github.com/repos/marqh/iris/contents/{+path}","compare_url":"https://api.github.com/repos/marqh/iris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marqh/iris/merges","archive_url":"https://api.github.com/repos/marqh/iris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marqh/iris/downloads","issues_url":"https://api.github.com/repos/marqh/iris/issues{/number}","pulls_url":"https://api.github.com/repos/marqh/iris/pulls{/number}","milestones_url":"https://api.github.com/repos/marqh/iris/milestones{/number}","notifications_url":"https://api.github.com/repos/marqh/iris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marqh/iris/labels{/name}","releases_url":"https://api.github.com/repos/marqh/iris/releases{/id}","deployments_url":"https://api.github.com/repos/marqh/iris/deployments","created_at":"2012-08-10T16:11:56Z","updated_at":"2015-03-03T11:40:13Z","pushed_at":"2016-03-17T11:57:59Z","git_url":"git://github.com/marqh/iris.git","ssh_url":"git@github.com:marqh/iris.git","clone_url":"https://github.com/marqh/iris.git","svn_url":"https://github.com/marqh/iris","homepage":"http://scitools.github.com/iris","size":164852,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"SciTools:master","ref":"master","sha":"20b68ed02813187879b806a78468bbc0d67852a9","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}","deployments_url":"https://api.github.com/repos/SciTools/iris/deployments","created_at":"2012-08-06T10:09:14Z","updated_at":"2016-03-14T17:31:35Z","pushed_at":"2016-03-17T11:57:59Z","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":142306,"stargazers_count":122,"watchers_count":122,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":91,"mirror_url":null,"open_issues_count":203,"forks":91,"open_issues":203,"watchers":122,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SciTools/iris/pulls/1941"},"html":{"href":"https://github.com/SciTools/iris/pull/1941"},"issue":{"href":"https://api.github.com/repos/SciTools/iris/issues/1941"},"comments":{"href":"https://api.github.com/repos/SciTools/iris/issues/1941/comments"},"review_comments":{"href":"https://api.github.com/repos/SciTools/iris/pulls/1941/comments"},"review_comment":{"href":"https://api.github.com/repos/SciTools/iris/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SciTools/iris/pulls/1941/commits"},"statuses":{"href":"https://api.github.com/repos/SciTools/iris/statuses/68d4f658f177592ca017084e9bdd1089fd38727b"}}}}