{"action":"opened","number":2070,"pull_request":{"url":"https://api.github.com/repos/SciTools/iris/pulls/2070","id":76401271,"html_url":"https://github.com/SciTools/iris/pull/2070","diff_url":"https://github.com/SciTools/iris/pull/2070.diff","patch_url":"https://github.com/SciTools/iris/pull/2070.patch","issue_url":"https://api.github.com/repos/SciTools/iris/issues/2070","number":2070,"state":"open","locked":false,"title":"naming type for CellMethod changed","user":{"login":"corinnebosley","id":16920510,"avatar_url":"https://avatars.githubusercontent.com/u/16920510?v=3","gravatar_id":"","url":"https://api.github.com/users/corinnebosley","html_url":"https://github.com/corinnebosley","followers_url":"https://api.github.com/users/corinnebosley/followers","following_url":"https://api.github.com/users/corinnebosley/following{/other_user}","gists_url":"https://api.github.com/users/corinnebosley/gists{/gist_id}","starred_url":"https://api.github.com/users/corinnebosley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corinnebosley/subscriptions","organizations_url":"https://api.github.com/users/corinnebosley/orgs","repos_url":"https://api.github.com/users/corinnebosley/repos","events_url":"https://api.github.com/users/corinnebosley/events{/privacy}","received_events_url":"https://api.github.com/users/corinnebosley/received_events","type":"User","site_admin":false},"body":"@pp-mo Previously the name used for Cell Methods was the var_name, but this was causing some human confusion and there was also a discrepancy between the name used in different ways:\r\n\r\n```\r\nprecipitation_flux / (kg m-2 s-1)   (time: 30; latitude: 144; longitude: 192)\r\n     Dimension coordinates:\r\n          time                           x             -               -\r\n          latitude                       -             x               -\r\n          longitude                      -             -               x\r\n     Auxiliary coordinates:\r\n          forecast_period                x             -               -\r\n     Scalar coordinates:\r\n          forecast_reference_time: 1988-09-01 00:00:00\r\n     Attributes:\r\n          Conventions: CF-1.5\r\n          source: Data from Met Office Unified Model\r\n          um_version: 10.3\r\n     Cell methods:\r\n          mean: time_0 (1 hour)\r\n```\r\n```\r\nIn [24]: CellMethod('mean', cube.coord('time'), '1 hour')\r\nOut[24]: CellMethod(method='mean', coord_names=(u'time',), intervals=('1 hour',), comments=())\r\n```\r\n\r\nThere should be consistency in the naming type of the Cell Method, so I have added a post-processing method which changes the var_name to the standard_name.  \r\n\r\nI am not convinced in the slightest that this is efficient, and I am also unsure that this will work correctly for cubes with multiple Cell Methods.  Advice would be much appreciated.","created_at":"2016-07-06T09:17:47Z","updated_at":"2016-07-06T09:17:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"909b52cf54054b36c2b4a701a9fae428dffbf4c6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/SciTools/iris/pulls/2070/commits","review_comments_url":"https://api.github.com/repos/SciTools/iris/pulls/2070/comments","review_comment_url":"https://api.github.com/repos/SciTools/iris/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SciTools/iris/issues/2070/comments","statuses_url":"https://api.github.com/repos/SciTools/iris/statuses/d8d379ea18f2011d07df9bb0cda4b27bbefcc21e","head":{"label":"corinnebosley:cellmethod_name_fix","ref":"cellmethod_name_fix","sha":"d8d379ea18f2011d07df9bb0cda4b27bbefcc21e","user":{"login":"corinnebosley","id":16920510,"avatar_url":"https://avatars.githubusercontent.com/u/16920510?v=3","gravatar_id":"","url":"https://api.github.com/users/corinnebosley","html_url":"https://github.com/corinnebosley","followers_url":"https://api.github.com/users/corinnebosley/followers","following_url":"https://api.github.com/users/corinnebosley/following{/other_user}","gists_url":"https://api.github.com/users/corinnebosley/gists{/gist_id}","starred_url":"https://api.github.com/users/corinnebosley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corinnebosley/subscriptions","organizations_url":"https://api.github.com/users/corinnebosley/orgs","repos_url":"https://api.github.com/users/corinnebosley/repos","events_url":"https://api.github.com/users/corinnebosley/events{/privacy}","received_events_url":"https://api.github.com/users/corinnebosley/received_events","type":"User","site_admin":false},"repo":{"id":50513049,"name":"iris","full_name":"corinnebosley/iris","owner":{"login":"corinnebosley","id":16920510,"avatar_url":"https://avatars.githubusercontent.com/u/16920510?v=3","gravatar_id":"","url":"https://api.github.com/users/corinnebosley","html_url":"https://github.com/corinnebosley","followers_url":"https://api.github.com/users/corinnebosley/followers","following_url":"https://api.github.com/users/corinnebosley/following{/other_user}","gists_url":"https://api.github.com/users/corinnebosley/gists{/gist_id}","starred_url":"https://api.github.com/users/corinnebosley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corinnebosley/subscriptions","organizations_url":"https://api.github.com/users/corinnebosley/orgs","repos_url":"https://api.github.com/users/corinnebosley/repos","events_url":"https://api.github.com/users/corinnebosley/events{/privacy}","received_events_url":"https://api.github.com/users/corinnebosley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/corinnebosley/iris","description":"A powerful, easy to use, and community-driven Python library for analysing and visualising meteorological and oceanographic data sets.","fork":true,"url":"https://api.github.com/repos/corinnebosley/iris","forks_url":"https://api.github.com/repos/corinnebosley/iris/forks","keys_url":"https://api.github.com/repos/corinnebosley/iris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/corinnebosley/iris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/corinnebosley/iris/teams","hooks_url":"https://api.github.com/repos/corinnebosley/iris/hooks","issue_events_url":"https://api.github.com/repos/corinnebosley/iris/issues/events{/number}","events_url":"https://api.github.com/repos/corinnebosley/iris/events","assignees_url":"https://api.github.com/repos/corinnebosley/iris/assignees{/user}","branches_url":"https://api.github.com/repos/corinnebosley/iris/branches{/branch}","tags_url":"https://api.github.com/repos/corinnebosley/iris/tags","blobs_url":"https://api.github.com/repos/corinnebosley/iris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/corinnebosley/iris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/corinnebosley/iris/git/refs{/sha}","trees_url":"https://api.github.com/repos/corinnebosley/iris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/corinnebosley/iris/statuses/{sha}","languages_url":"https://api.github.com/repos/corinnebosley/iris/languages","stargazers_url":"https://api.github.com/repos/corinnebosley/iris/stargazers","contributors_url":"https://api.github.com/repos/corinnebosley/iris/contributors","subscribers_url":"https://api.github.com/repos/corinnebosley/iris/subscribers","subscription_url":"https://api.github.com/repos/corinnebosley/iris/subscription","commits_url":"https://api.github.com/repos/corinnebosley/iris/commits{/sha}","git_commits_url":"https://api.github.com/repos/corinnebosley/iris/git/commits{/sha}","comments_url":"https://api.github.com/repos/corinnebosley/iris/comments{/number}","issue_comment_url":"https://api.github.com/repos/corinnebosley/iris/issues/comments{/number}","contents_url":"https://api.github.com/repos/corinnebosley/iris/contents/{+path}","compare_url":"https://api.github.com/repos/corinnebosley/iris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/corinnebosley/iris/merges","archive_url":"https://api.github.com/repos/corinnebosley/iris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/corinnebosley/iris/downloads","issues_url":"https://api.github.com/repos/corinnebosley/iris/issues{/number}","pulls_url":"https://api.github.com/repos/corinnebosley/iris/pulls{/number}","milestones_url":"https://api.github.com/repos/corinnebosley/iris/milestones{/number}","notifications_url":"https://api.github.com/repos/corinnebosley/iris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/corinnebosley/iris/labels{/name}","releases_url":"https://api.github.com/repos/corinnebosley/iris/releases{/id}","deployments_url":"https://api.github.com/repos/corinnebosley/iris/deployments","created_at":"2016-01-27T14:31:40Z","updated_at":"2016-01-27T14:31:45Z","pushed_at":"2016-07-06T09:08:43Z","git_url":"git://github.com/corinnebosley/iris.git","ssh_url":"git@github.com:corinnebosley/iris.git","clone_url":"https://github.com/corinnebosley/iris.git","svn_url":"https://github.com/corinnebosley/iris","homepage":"http://scitools.org.uk/iris/","size":100256,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SciTools:master","ref":"master","sha":"120bb9c22121203b825e791cb85344af76a2d615","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-06-09T09:25:52Z","pushed_at":"2016-07-06T09:17:47Z","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":143023,"stargazers_count":130,"watchers_count":130,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":101,"mirror_url":null,"open_issues_count":226,"forks":101,"open_issues":226,"watchers":130,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SciTools/iris/pulls/2070"},"html":{"href":"https://github.com/SciTools/iris/pull/2070"},"issue":{"href":"https://api.github.com/repos/SciTools/iris/issues/2070"},"comments":{"href":"https://api.github.com/repos/SciTools/iris/issues/2070/comments"},"review_comments":{"href":"https://api.github.com/repos/SciTools/iris/pulls/2070/comments"},"review_comment":{"href":"https://api.github.com/repos/SciTools/iris/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SciTools/iris/pulls/2070/commits"},"statuses":{"href":"https://api.github.com/repos/SciTools/iris/statuses/d8d379ea18f2011d07df9bb0cda4b27bbefcc21e"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":18,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"corinnebosley"}}