{"action":"created","issue":{"url":"https://api.github.com/repos/SciTools/iris/issues/2021","repository_url":"https://api.github.com/repos/SciTools/iris","labels_url":"https://api.github.com/repos/SciTools/iris/issues/2021/labels{/name}","comments_url":"https://api.github.com/repos/SciTools/iris/issues/2021/comments","events_url":"https://api.github.com/repos/SciTools/iris/issues/2021/events","html_url":"https://github.com/SciTools/iris/issues/2021","id":155261882,"number":2021,"title":"BUG: Unexpected concatenate failure","user":{"login":"cpelley","id":2071643,"avatar_url":"https://avatars.githubusercontent.com/u/2071643?v=3","gravatar_id":"","url":"https://api.github.com/users/cpelley","html_url":"https://github.com/cpelley","followers_url":"https://api.github.com/users/cpelley/followers","following_url":"https://api.github.com/users/cpelley/following{/other_user}","gists_url":"https://api.github.com/users/cpelley/gists{/gist_id}","starred_url":"https://api.github.com/users/cpelley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpelley/subscriptions","organizations_url":"https://api.github.com/users/cpelley/orgs","repos_url":"https://api.github.com/users/cpelley/repos","events_url":"https://api.github.com/users/cpelley/events{/privacy}","received_events_url":"https://api.github.com/users/cpelley/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SciTools/iris/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-05-17T13:39:12Z","updated_at":"2016-05-18T09:08:48Z","closed_at":null,"body":"```Python\r\n>>> import iris\r\n>>> import iris.tests.stock\r\n>>> cube = iris.tests.stock.lat_lon_cube()[:, 1:]\r\n>>> cube.coord(axis='x').points = [360., 350., 10.]\r\n>>> iris.cube.CubeList([cube[:, 2:], cube[:, :2]]).concatenate_cube()\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \".../git/iris/lib/iris/cube.py\", line 487, in concatenate_cube\r\n    res = iris._concatenate.concatenate(self, error_on_mismatch=True)\r\n  File \".../git/iris/lib/iris/_concatenate.py\", line 291, in concatenate\r\n    concatenated_cubes.append(proto_cube.concatenate())\r\n  File \".../git/iris/lib/iris/_concatenate.py\", line 653, in concatenate\r\n    dim_coords_and_dims = self._build_dim_coordinates()\r\n  File \".../git/iris/lib/iris/_concatenate.py\", line 851, in _build_dim_coordinates\r\n    dim_coord = iris.coords.DimCoord(points, bounds=bounds, **kwargs)\r\n  File \".../git/iris/lib/iris/coords.py\", line 1390, in __init__\r\n    coord_system=coord_system)\r\n  File \".../git/iris/lib/iris/coords.py\", line 445, in __init__\r\n    self.points = points\r\n  File \".../cpelley/git/iris/lib/iris/coords.py\", line 1464, in points\r\n    raise ValueError('The points array must be strictly monotonic.')\r\nValueError: The points array must be strictly monotonic.\r\n>>> iris.cube.CubeList([cube[:, :2], cube[:, 2:]]).concatenate_cube()\r\n<iris 'Cube' of unknown / (unknown) (latitude: 3; longitude: 3)>\r\n```\r\n\r\nAs you can see, concatenation succeeds when the cubelist has a different order."},"comment":{"url":"https://api.github.com/repos/SciTools/iris/issues/comments/219968929","html_url":"https://github.com/SciTools/iris/issues/2021#issuecomment-219968929","issue_url":"https://api.github.com/repos/SciTools/iris/issues/2021","id":219968929,"user":{"login":"ajdawson","id":390602,"avatar_url":"https://avatars.githubusercontent.com/u/390602?v=3","gravatar_id":"","url":"https://api.github.com/users/ajdawson","html_url":"https://github.com/ajdawson","followers_url":"https://api.github.com/users/ajdawson/followers","following_url":"https://api.github.com/users/ajdawson/following{/other_user}","gists_url":"https://api.github.com/users/ajdawson/gists{/gist_id}","starred_url":"https://api.github.com/users/ajdawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajdawson/subscriptions","organizations_url":"https://api.github.com/users/ajdawson/orgs","repos_url":"https://api.github.com/users/ajdawson/repos","events_url":"https://api.github.com/users/ajdawson/events{/privacy}","received_events_url":"https://api.github.com/users/ajdawson/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T09:08:48Z","updated_at":"2016-05-18T09:08:48Z","body":"I think I have something, just need to test it."}}