{"action":"created","comment":{"url":"https://api.github.com/repos/metoppv/improver/pulls/comments/125245078","pull_request_review_id":47615211,"id":125245078,"diff_hunk":"@@ -0,0 +1,223 @@\n+# -*- coding: utf-8 -*-\n+# -----------------------------------------------------------------------------\n+# (C) British Crown Copyright 2017 Met Office.\n+# All rights reserved.\n+#\n+# Redistribution and use in source and binary forms, with or without\n+# modification, are permitted provided that the following conditions are met:\n+#\n+# * Redistributions of source code must retain the above copyright notice, this\n+#   list of conditions and the following disclaimer.\n+#\n+# * Redistributions in binary form must reproduce the above copyright notice,\n+#   this list of conditions and the following disclaimer in the documentation\n+#   and/or other materials provided with the distribution.\n+#\n+# * Neither the name of the copyright holder nor the names of its\n+#   contributors may be used to endorse or promote products derived from\n+#   this software without specific prior written permission.\n+#\n+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\n+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\n+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\n+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\n+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n+# POSSIBILITY OF SUCH DAMAGE.\n+\"\"\" Tests to support utilities.\"\"\"\n+\n+import unittest\n+\n+from cf_units import Unit\n+import iris\n+from iris.cube import Cube\n+from iris.coords import AuxCoord, CellMethod, DimCoord\n+from iris.exceptions import InvalidCubeError\n+from iris.tests import IrisTest\n+import numpy as np\n+from numpy import ma\n+\n+from improver.utilities.spatial import (\n+    DifferenceBetweenAdjacentGridSquares)\n+\n+\n+def set_up_cube(data, phenomenon_standard_name, phenomenon_units,\n+                realizations=np.array([0]), timesteps=1,\n+                y_dimension_length=3, x_dimension_length=3):\n+    \"\"\"Create a cube containing multiple realizations.\"\"\"\n+    cube = Cube(data, standard_name=phenomenon_standard_name,\n+                units=phenomenon_units)\n+    cube.add_aux_coord(AuxCoord(realizations, 'realization',\n+                                units='1'))\n+    time_origin = \"hours since 1970-01-01 00:00:00\"\n+    calendar = \"gregorian\"\n+    tunit = Unit(time_origin, calendar)\n+    cube.add_aux_coord(AuxCoord(np.linspace(402192.5, 402292.5, timesteps),\n+                                \"time\", units=tunit))\n+    cube.add_dim_coord(DimCoord(np.linspace(0, 10000, y_dimension_length),\n+                                'projection_y_coordinate', units='m'), 0)\n+    cube.add_dim_coord(DimCoord(np.linspace(0, 10000, x_dimension_length),\n+                                'projection_x_coordinate', units='m'), 1)\n+    return cube\n+\n+\n+class Test_create_difference_cube(IrisTest):\n+\n+    \"\"\"Test the create_difference_cube method.\"\"\"\n+\n+    def setUp(self):\n+        \"\"\"Set up cube.\"\"\"\n+        data = np.array([[1, 2, 3],\n+                         [2, 4, 6],\n+                         [5, 10, 15]])\n+        self.cube = set_up_cube(data, \"wind_speed\", \"m s-1\")\n+        self.plugin = DifferenceBetweenAdjacentGridSquares()\n+\n+    def test_y_dimension(self):\n+        \"\"\"Test differences calculated along the y dimension.\"\"\"\n+        diff_array = np.array([[1, 2, 3],\n+                               [3, 6, 9]])\n+        result = self.plugin.create_difference_cube(\n+            self.cube, \"projection_y_coordinate\", diff_array)\n+        self.assertIsInstance(result, Cube)\n+        self.assertArrayAlmostEqual(result.data, diff_array)\n+\n+    def test_x_dimension(self):\n+        \"\"\"Test differences calculated along the x dimension.\"\"\"\n+        diff_array = np.array([[1, 1],\n+                               [2, 2],\n+                               [5, 5]])\n+        result = self.plugin.create_difference_cube(\n+            self.cube, \"projection_x_coordinate\", diff_array)\n+        self.assertIsInstance(result, Cube)\n+        self.assertArrayAlmostEqual(result.data, diff_array)\n+\n+    def test_metadata(self):\n+        \"\"\"Test that the result has the expected metadata.\"\"\"\n+        diff_array = np.array([[1, 2, 3],\n+                               [3, 6, 9]])\n+        cell_method = CellMethod(\n+            \"difference\", coords=[\"projection_y_coordinate\"],\n+            intervals='1 grid length')\n+        result = self.plugin.create_difference_cube(\n+            self.cube, \"projection_y_coordinate\", diff_array)\n+        self.assertEqual(\n+            result.cell_methods[0], cell_method)\n+        self.assertEqual(\n+            result.attributes[\"form_of_difference\"],\n+            \"forward_difference\")\n+        self.assertEqual(result.name(), 'difference_of_wind_speed')\n+\n+    def test_othercoords(self):\n+        \"\"\"Test that other coords are transferred properly\"\"\"\n+        diff_array = np.array([[1, 2, 3],\n+                               [3, 6, 9]])\n+        time_coord = self.cube.coord('time')\n+        proj_x_coord = self.cube.coord(axis='x')\n+        result = self.plugin.create_difference_cube(\n+            self.cube, \"projection_y_coordinate\", diff_array)\n+        self.assertEqual(result.coord(axis='x'), proj_x_coord)\n+        self.assertEqual(result.coord('time'), time_coord)\n+\n+\n+class Test_calculate_difference(IrisTest):\n+\n+    \"\"\"Test the calculate_difference method.\"\"\"\n+\n+    def setUp(self):\n+        \"\"\"Set up cube.\"\"\"\n+        data = np.array([[1, 2, 3],\n+                         [2, 4, 6],\n+                         [5, 10, 15]])\n+        self.cube = set_up_cube(data, \"wind_speed\", \"m s-1\")\n+        self.plugin = DifferenceBetweenAdjacentGridSquares()\n+\n+    def test_x_dimension(self):\n+        \"\"\"Test differences calculated along the x dimension.\"\"\"\n+        expected = np.array([[1, 1],\n+                             [2, 2],\n+                             [5, 5]])\n+        result = self.plugin.calculate_difference(self.cube, \"x\")\n+        self.assertIsInstance(result, Cube)\n+        self.assertArrayAlmostEqual(result.data, expected)\n+\n+    def test_y_dimension(self):\n+        \"\"\"Test differences calculated along the y dimension.\"\"\"\n+        expected = np.array([[1, 2, 3],\n+                             [3, 6, 9]])\n+        result = self.plugin.calculate_difference(self.cube, \"y\")\n+        self.assertIsInstance(result, Cube)\n+        self.assertArrayAlmostEqual(result.data, expected)\n+\n+    def test_missing_data(self):\n+        \"\"\"Test that the result is as expected when data is missing.\"\"\"\n+        data = np.array([[1, 2, 3],\n+                         [np.nan, 4, 6],\n+                         [5, 10, 15]])\n+        cube = set_up_cube(data, \"wind_speed\", \"m s-1\")\n+        expected = np.array([[np.nan, 2, 3],\n+                             [np.nan, 6, 9]])\n+        result = self.plugin.calculate_difference(cube, \"y\")\n+        self.assertIsInstance(result, Cube)\n+        self.assertArrayAlmostEqual(result.data, expected)\n+\n+    def test_masked_data(self):\n+        \"\"\"Test that the result is as expected when data is masked.\"\"\"\n+        data = ma.array([[1, 2, 3],\n+                         [2, 4, 6],\n+                         [5, 10, 15]],\n+                        mask=[[0, 0, 0],\n+                              [1, 0, 0],\n+                              [0, 0, 0]])\n+        cube = set_up_cube(data, \"wind_speed\", \"m s-1\")\n+        expected = ma.array([[1, 2, 3],\n+                             [3, 6, 9]],\n+                            mask=[[1, 0, 0],\n+                                  [1, 0, 0]])\n+        result = self.plugin.calculate_difference(cube, \"y\")\n+        self.assertIsInstance(result, Cube)\n+        self.assertArrayEqual(result.data, expected)\n+        self.assertArrayEqual(result.data.mask, expected.mask)\n+\n+\n+class Test_process(IrisTest):","path":"lib/improver/tests/utilities/test_DiscreteDifferenceBetweenAdjacentGridSquares.py","position":187,"original_position":187,"commit_id":"82cc6f4ad08ce0bd0d7e889452162ff997275656","original_commit_id":"82cc6f4ad08ce0bd0d7e889452162ff997275656","user":{"login":"fionaRust","id":16209648,"avatar_url":"https://avatars0.githubusercontent.com/u/16209648?v=3","gravatar_id":"","url":"https://api.github.com/users/fionaRust","html_url":"https://github.com/fionaRust","followers_url":"https://api.github.com/users/fionaRust/followers","following_url":"https://api.github.com/users/fionaRust/following{/other_user}","gists_url":"https://api.github.com/users/fionaRust/gists{/gist_id}","starred_url":"https://api.github.com/users/fionaRust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fionaRust/subscriptions","organizations_url":"https://api.github.com/users/fionaRust/orgs","repos_url":"https://api.github.com/users/fionaRust/repos","events_url":"https://api.github.com/users/fionaRust/events{/privacy}","received_events_url":"https://api.github.com/users/fionaRust/received_events","type":"User","site_admin":false},"body":"Oops, ignore me. This test does exist alreay","created_at":"2017-07-03T09:24:43Z","updated_at":"2017-07-03T09:24:43Z","html_url":"https://github.com/metoppv/improver/pull/147#discussion_r125245078","pull_request_url":"https://api.github.com/repos/metoppv/improver/pulls/147","_links":{"self":{"href":"https://api.github.com/repos/metoppv/improver/pulls/comments/125245078"},"html":{"href":"https://github.com/metoppv/improver/pull/147#discussion_r125245078"},"pull_request":{"href":"https://api.github.com/repos/metoppv/improver/pulls/147"}}},"pull_request":{"url":"https://api.github.com/repos/metoppv/improver/pulls/147","id":127652147,"html_url":"https://github.com/metoppv/improver/pull/147","diff_url":"https://github.com/metoppv/improver/pull/147.diff","patch_url":"https://github.com/metoppv/improver/pull/147.patch","issue_url":"https://api.github.com/repos/metoppv/improver/issues/147","number":147,"state":"open","locked":false,"title":"Discrete differences between adjacent grid squares (version 2)","user":{"login":"meabhnicguidhir","id":28393790,"avatar_url":"https://avatars0.githubusercontent.com/u/28393790?v=3","gravatar_id":"","url":"https://api.github.com/users/meabhnicguidhir","html_url":"https://github.com/meabhnicguidhir","followers_url":"https://api.github.com/users/meabhnicguidhir/followers","following_url":"https://api.github.com/users/meabhnicguidhir/following{/other_user}","gists_url":"https://api.github.com/users/meabhnicguidhir/gists{/gist_id}","starred_url":"https://api.github.com/users/meabhnicguidhir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meabhnicguidhir/subscriptions","organizations_url":"https://api.github.com/users/meabhnicguidhir/orgs","repos_url":"https://api.github.com/users/meabhnicguidhir/repos","events_url":"https://api.github.com/users/meabhnicguidhir/events{/privacy}","received_events_url":"https://api.github.com/users/meabhnicguidhir/received_events","type":"User","site_admin":false},"body":"New PR to finish @gavinevans work on gradients between adjacent cells.\r\nIssue: #83 \r\nComments and responses on previous PR #142 \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":"2017-06-27T09:44:43Z","updated_at":"2017-07-03T09:24:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"83fb1a78052694908dece0277c48f76a22700347","assignee":{"login":"Katie-Howard","id":26744691,"avatar_url":"https://avatars2.githubusercontent.com/u/26744691?v=3","gravatar_id":"","url":"https://api.github.com/users/Katie-Howard","html_url":"https://github.com/Katie-Howard","followers_url":"https://api.github.com/users/Katie-Howard/followers","following_url":"https://api.github.com/users/Katie-Howard/following{/other_user}","gists_url":"https://api.github.com/users/Katie-Howard/gists{/gist_id}","starred_url":"https://api.github.com/users/Katie-Howard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Katie-Howard/subscriptions","organizations_url":"https://api.github.com/users/Katie-Howard/orgs","repos_url":"https://api.github.com/users/Katie-Howard/repos","events_url":"https://api.github.com/users/Katie-Howard/events{/privacy}","received_events_url":"https://api.github.com/users/Katie-Howard/received_events","type":"User","site_admin":false},"assignees":[{"login":"Katie-Howard","id":26744691,"avatar_url":"https://avatars2.githubusercontent.com/u/26744691?v=3","gravatar_id":"","url":"https://api.github.com/users/Katie-Howard","html_url":"https://github.com/Katie-Howard","followers_url":"https://api.github.com/users/Katie-Howard/followers","following_url":"https://api.github.com/users/Katie-Howard/following{/other_user}","gists_url":"https://api.github.com/users/Katie-Howard/gists{/gist_id}","starred_url":"https://api.github.com/users/Katie-Howard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Katie-Howard/subscriptions","organizations_url":"https://api.github.com/users/Katie-Howard/orgs","repos_url":"https://api.github.com/users/Katie-Howard/repos","events_url":"https://api.github.com/users/Katie-Howard/events{/privacy}","received_events_url":"https://api.github.com/users/Katie-Howard/received_events","type":"User","site_admin":false},{"login":"meabhnicguidhir","id":28393790,"avatar_url":"https://avatars0.githubusercontent.com/u/28393790?v=3","gravatar_id":"","url":"https://api.github.com/users/meabhnicguidhir","html_url":"https://github.com/meabhnicguidhir","followers_url":"https://api.github.com/users/meabhnicguidhir/followers","following_url":"https://api.github.com/users/meabhnicguidhir/following{/other_user}","gists_url":"https://api.github.com/users/meabhnicguidhir/gists{/gist_id}","starred_url":"https://api.github.com/users/meabhnicguidhir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meabhnicguidhir/subscriptions","organizations_url":"https://api.github.com/users/meabhnicguidhir/orgs","repos_url":"https://api.github.com/users/meabhnicguidhir/repos","events_url":"https://api.github.com/users/meabhnicguidhir/events{/privacy}","received_events_url":"https://api.github.com/users/meabhnicguidhir/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/metoppv/improver/pulls/147/commits","review_comments_url":"https://api.github.com/repos/metoppv/improver/pulls/147/comments","review_comment_url":"https://api.github.com/repos/metoppv/improver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/metoppv/improver/issues/147/comments","statuses_url":"https://api.github.com/repos/metoppv/improver/statuses/82cc6f4ad08ce0bd0d7e889452162ff997275656","head":{"label":"meabhnicguidhir:gavinevans-grid_square_gradient","ref":"gavinevans-grid_square_gradient","sha":"82cc6f4ad08ce0bd0d7e889452162ff997275656","user":{"login":"meabhnicguidhir","id":28393790,"avatar_url":"https://avatars0.githubusercontent.com/u/28393790?v=3","gravatar_id":"","url":"https://api.github.com/users/meabhnicguidhir","html_url":"https://github.com/meabhnicguidhir","followers_url":"https://api.github.com/users/meabhnicguidhir/followers","following_url":"https://api.github.com/users/meabhnicguidhir/following{/other_user}","gists_url":"https://api.github.com/users/meabhnicguidhir/gists{/gist_id}","starred_url":"https://api.github.com/users/meabhnicguidhir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meabhnicguidhir/subscriptions","organizations_url":"https://api.github.com/users/meabhnicguidhir/orgs","repos_url":"https://api.github.com/users/meabhnicguidhir/repos","events_url":"https://api.github.com/users/meabhnicguidhir/events{/privacy}","received_events_url":"https://api.github.com/users/meabhnicguidhir/received_events","type":"User","site_admin":false},"repo":{"id":90268062,"name":"improver","full_name":"meabhnicguidhir/improver","owner":{"login":"meabhnicguidhir","id":28393790,"avatar_url":"https://avatars0.githubusercontent.com/u/28393790?v=3","gravatar_id":"","url":"https://api.github.com/users/meabhnicguidhir","html_url":"https://github.com/meabhnicguidhir","followers_url":"https://api.github.com/users/meabhnicguidhir/followers","following_url":"https://api.github.com/users/meabhnicguidhir/following{/other_user}","gists_url":"https://api.github.com/users/meabhnicguidhir/gists{/gist_id}","starred_url":"https://api.github.com/users/meabhnicguidhir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meabhnicguidhir/subscriptions","organizations_url":"https://api.github.com/users/meabhnicguidhir/orgs","repos_url":"https://api.github.com/users/meabhnicguidhir/repos","events_url":"https://api.github.com/users/meabhnicguidhir/events{/privacy}","received_events_url":"https://api.github.com/users/meabhnicguidhir/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/meabhnicguidhir/improver","description":"IMPROVER","fork":true,"url":"https://api.github.com/repos/meabhnicguidhir/improver","forks_url":"https://api.github.com/repos/meabhnicguidhir/improver/forks","keys_url":"https://api.github.com/repos/meabhnicguidhir/improver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/meabhnicguidhir/improver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/meabhnicguidhir/improver/teams","hooks_url":"https://api.github.com/repos/meabhnicguidhir/improver/hooks","issue_events_url":"https://api.github.com/repos/meabhnicguidhir/improver/issues/events{/number}","events_url":"https://api.github.com/repos/meabhnicguidhir/improver/events","assignees_url":"https://api.github.com/repos/meabhnicguidhir/improver/assignees{/user}","branches_url":"https://api.github.com/repos/meabhnicguidhir/improver/branches{/branch}","tags_url":"https://api.github.com/repos/meabhnicguidhir/improver/tags","blobs_url":"https://api.github.com/repos/meabhnicguidhir/improver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/meabhnicguidhir/improver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/meabhnicguidhir/improver/git/refs{/sha}","trees_url":"https://api.github.com/repos/meabhnicguidhir/improver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/meabhnicguidhir/improver/statuses/{sha}","languages_url":"https://api.github.com/repos/meabhnicguidhir/improver/languages","stargazers_url":"https://api.github.com/repos/meabhnicguidhir/improver/stargazers","contributors_url":"https://api.github.com/repos/meabhnicguidhir/improver/contributors","subscribers_url":"https://api.github.com/repos/meabhnicguidhir/improver/subscribers","subscription_url":"https://api.github.com/repos/meabhnicguidhir/improver/subscription","commits_url":"https://api.github.com/repos/meabhnicguidhir/improver/commits{/sha}","git_commits_url":"https://api.github.com/repos/meabhnicguidhir/improver/git/commits{/sha}","comments_url":"https://api.github.com/repos/meabhnicguidhir/improver/comments{/number}","issue_comment_url":"https://api.github.com/repos/meabhnicguidhir/improver/issues/comments{/number}","contents_url":"https://api.github.com/repos/meabhnicguidhir/improver/contents/{+path}","compare_url":"https://api.github.com/repos/meabhnicguidhir/improver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/meabhnicguidhir/improver/merges","archive_url":"https://api.github.com/repos/meabhnicguidhir/improver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/meabhnicguidhir/improver/downloads","issues_url":"https://api.github.com/repos/meabhnicguidhir/improver/issues{/number}","pulls_url":"https://api.github.com/repos/meabhnicguidhir/improver/pulls{/number}","milestones_url":"https://api.github.com/repos/meabhnicguidhir/improver/milestones{/number}","notifications_url":"https://api.github.com/repos/meabhnicguidhir/improver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/meabhnicguidhir/improver/labels{/name}","releases_url":"https://api.github.com/repos/meabhnicguidhir/improver/releases{/id}","deployments_url":"https://api.github.com/repos/meabhnicguidhir/improver/deployments","created_at":"2017-05-04T13:40:57Z","updated_at":"2017-05-04T13:40:59Z","pushed_at":"2017-06-30T14:59:30Z","git_url":"git://github.com/meabhnicguidhir/improver.git","ssh_url":"git@github.com:meabhnicguidhir/improver.git","clone_url":"https://github.com/meabhnicguidhir/improver.git","svn_url":"https://github.com/meabhnicguidhir/improver","homepage":null,"size":1108,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"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":"metoppv:master","ref":"master","sha":"b1b324b49425c5ed0d32b7f23d21f7bb307555c6","user":{"login":"metoppv","id":26465485,"avatar_url":"https://avatars1.githubusercontent.com/u/26465485?v=3","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,"name":"improver","full_name":"metoppv/improver","owner":{"login":"metoppv","id":26465485,"avatar_url":"https://avatars1.githubusercontent.com/u/26465485?v=3","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":"2017-06-24T09:03:02Z","pushed_at":"2017-06-30T15:12:29Z","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":"","size":1140,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":84,"forks":15,"open_issues":84,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/metoppv/improver/pulls/147"},"html":{"href":"https://github.com/metoppv/improver/pull/147"},"issue":{"href":"https://api.github.com/repos/metoppv/improver/issues/147"},"comments":{"href":"https://api.github.com/repos/metoppv/improver/issues/147/comments"},"review_comments":{"href":"https://api.github.com/repos/metoppv/improver/pulls/147/comments"},"review_comment":{"href":"https://api.github.com/repos/metoppv/improver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/metoppv/improver/pulls/147/commits"},"statuses":{"href":"https://api.github.com/repos/metoppv/improver/statuses/82cc6f4ad08ce0bd0d7e889452162ff997275656"}}}}
{"actor":{"display_login":"fionaRust"}}