{"action":"created","comment":{"url":"https://api.github.com/repos/SciTools/iris/pulls/comments/26590181","id":26590181,"diff_hunk":"@@ -10,6 +10,10 @@ This document explains the new/changed features of Iris in version 1.8.\n Iris 1.8 features\n =================\n \n+* :func:`iris.util.demote_dim_coord_to_aux_coord` and :func:`iris.util.promote_aux_coord_to_dim_coord`\n+  allow a coordinate to be easily demoted or promoted within a cube.\n+* :func:`iris.util.squeeze` removes all length 1 dimensions from a cube, and demotes\n+  any associated squeeze dimension :class:`iris.coords.DimCoord` to be a scalar coordinate.\n * :func:`iris.cube.CubeList.concatenate` now works with biggus arrays and so","path":"docs/iris/src/whatsnew/1.8.rst","position":8,"original_position":8,"commit_id":"32491b33913f53f0d374c64f833ea1a9b99a6b4a","original_commit_id":"32491b33913f53f0d374c64f833ea1a9b99a6b4a","user":{"login":"dkillick","id":3473068,"avatar_url":"https://avatars.githubusercontent.com/u/3473068?v=3","gravatar_id":"","url":"https://api.github.com/users/dkillick","html_url":"https://github.com/dkillick","followers_url":"https://api.github.com/users/dkillick/followers","following_url":"https://api.github.com/users/dkillick/following{/other_user}","gists_url":"https://api.github.com/users/dkillick/gists{/gist_id}","starred_url":"https://api.github.com/users/dkillick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkillick/subscriptions","organizations_url":"https://api.github.com/users/dkillick/orgs","repos_url":"https://api.github.com/users/dkillick/repos","events_url":"https://api.github.com/users/dkillick/events{/privacy}","received_events_url":"https://api.github.com/users/dkillick/received_events","type":"User","site_admin":false},"body":"@ajdawson typically the features section is ordered chronologically by merge date, with big exciting features (such as deferred concat) put in the showcase at the top of the new features section of the what's new doc. This is the plan for this what's new too, @lbdreyer and I just need to finish writing it!","created_at":"2015-03-17T16:39:54Z","updated_at":"2015-03-17T16:39:54Z","html_url":"https://github.com/SciTools/iris/pull/1580#discussion_r26590181","pull_request_url":"https://api.github.com/repos/SciTools/iris/pulls/1580","_links":{"self":{"href":"https://api.github.com/repos/SciTools/iris/pulls/comments/26590181"},"html":{"href":"https://github.com/SciTools/iris/pull/1580#discussion_r26590181"},"pull_request":{"href":"https://api.github.com/repos/SciTools/iris/pulls/1580"}}},"pull_request":{"url":"https://api.github.com/repos/SciTools/iris/pulls/1580","id":31349905,"html_url":"https://github.com/SciTools/iris/pull/1580","diff_url":"https://github.com/SciTools/iris/pull/1580.diff","patch_url":"https://github.com/SciTools/iris/pull/1580.patch","issue_url":"https://api.github.com/repos/SciTools/iris/issues/1580","number":1580,"state":"closed","locked":false,"title":"Added new feature for whatsnew 1.8","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":"Minor update to include new feature from #1567 ","created_at":"2015-03-17T16:06:20Z","updated_at":"2015-03-17T16:39:54Z","closed_at":"2015-03-17T16:28:47Z","merged_at":"2015-03-17T16:28:47Z","merge_commit_sha":"3701867edb29856919ce770c7117bbea0030f8b4","assignee":null,"milestone":{"url":"https://api.github.com/repos/SciTools/iris/milestones/10","html_url":"https://github.com/SciTools/iris/milestones/v1.8","labels_url":"https://api.github.com/repos/SciTools/iris/milestones/10/labels","id":702287,"number":10,"title":"v1.8","description":"","creator":{"login":"pelson","id":810663,"avatar_url":"https://avatars.githubusercontent.com/u/810663?v=3","gravatar_id":"","url":"https://api.github.com/users/pelson","html_url":"https://github.com/pelson","followers_url":"https://api.github.com/users/pelson/followers","following_url":"https://api.github.com/users/pelson/following{/other_user}","gists_url":"https://api.github.com/users/pelson/gists{/gist_id}","starred_url":"https://api.github.com/users/pelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pelson/subscriptions","organizations_url":"https://api.github.com/users/pelson/orgs","repos_url":"https://api.github.com/users/pelson/repos","events_url":"https://api.github.com/users/pelson/events{/privacy}","received_events_url":"https://api.github.com/users/pelson/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":11,"state":"open","created_at":"2014-06-26T10:10:06Z","updated_at":"2015-03-17T16:28:47Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/SciTools/iris/pulls/1580/commits","review_comments_url":"https://api.github.com/repos/SciTools/iris/pulls/1580/comments","review_comment_url":"https://api.github.com/repos/SciTools/iris/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SciTools/iris/issues/1580/comments","statuses_url":"https://api.github.com/repos/SciTools/iris/statuses/32491b33913f53f0d374c64f833ea1a9b99a6b4a","head":{"label":"bjlittle:whatsnew-1p8p0-update","ref":"whatsnew-1p8p0-update","sha":"32491b33913f53f0d374c64f833ea1a9b99a6b4a","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-03-17T16:05:13Z","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":96028,"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":"e481dc8b1934495f041065cc531b2450fc86c1fe","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-03-17T16:31:44Z","pushed_at":"2015-03-17T16:31:43Z","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":144141,"stargazers_count":84,"watchers_count":84,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":69,"mirror_url":null,"open_issues_count":148,"forks":69,"open_issues":148,"watchers":84,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SciTools/iris/pulls/1580"},"html":{"href":"https://github.com/SciTools/iris/pull/1580"},"issue":{"href":"https://api.github.com/repos/SciTools/iris/issues/1580"},"comments":{"href":"https://api.github.com/repos/SciTools/iris/issues/1580/comments"},"review_comments":{"href":"https://api.github.com/repos/SciTools/iris/pulls/1580/comments"},"review_comment":{"href":"https://api.github.com/repos/SciTools/iris/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SciTools/iris/pulls/1580/commits"},"statuses":{"href":"https://api.github.com/repos/SciTools/iris/statuses/32491b33913f53f0d374c64f833ea1a9b99a6b4a"}}}}