{"action":"created","comment":{"url":"https://api.github.com/repos/Ouranosinc/xclim/pulls/comments/222683254","pull_request_review_id":161628916,"id":222683254,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMjY4MzI1NA==","diff_hunk":"@@ -870,3 +871,164 @@ def percentile_doy(arr, window=5, per=.1):\n         p.loc[{'dayofyear': doy}] = ind.compute().quantile(per, dim=('time', 'window'))\n \n     return p\n+\n+\n+def wet_days(pr, pr_min=1., freq='YS', skipna=False):\n+    r\"\"\"wet days\n+\n+    compute the number of days with precipitation over pr_min and accumulates over periods.\n+\n+    Parameters\n+    ----------\n+    pr : xarray.DataArray\n+      Daily precipitation [mm]\n+    pr_min : float\n+      precipitation value over which a day is considered wet\n+    freq : str, optional\n+      Resampling frequency defining the periods\n+      defined in http://pandas.pydata.org/pandas-docs/stable/timeseries.html#resampling.\n+    skipna : str, optional\n+      if True, NaN values are ignored\n+      if False NaN values are expanded\n+      This is used for the computation of the sum of wet days. See\n+      http://xarray.pydata.org/en/stable/generated/xarray.DataArray.sum.html for details\n+\n+\n+    Returns\n+    -------\n+    xarray.DataArray\n+      The number of wet days for each period [day]\n+\n+    Notes\n+    -----\n+\n+    Examples\n+    --------\n+    The following would compute for each grid cell of file `pr.day.nc` the number days\n+    with precipitation over 5 mm at the seasonal frequency, ie DJF, MAM, JJA, SON, DJF, etc.\n+\n+    >>> pr = xr.open_dataset('pr.day.nc')\n+    >>> wd = wet_days(pr, pr_min = 5., freq=\"QS-DEC\")\n+\n+    \"\"\"\n+\n+    # group the data according to the frequency\n+    groups = daily_downsampler(pr, freq=freq).groups\n+\n+    # split data according to frequency\n+    for n_t, tag in enumerate(groups):\n+\n+        # get data from each group\n+        g = groups[tag]\n+        prg = pr[g]\n+\n+        # find wet days, keeping nans and sum\n+        wd = xr.where(prg >= pr_min, 1, 0)\n+        wd = xr.where(np.isnan(prg), np.nan, wd)\n+        wd_sum = wd.sum(dim='time', skipna=skipna)\n+\n+        # force nans when all values are nans because\n+        # sum returns 0 in that case if skipna == True\n+        wd_sum = xr.where(wd.count(dim='time') == 0, np.nan, wd_sum)\n+        wd = wd_sum\n+\n+        # keep tag and start time of group and add time dim\n+        wd.coords['tags'] = tag\n+        wd.coords['time'] = prg.time.values[0]\n+        wd = wd.expand_dims('time')\n+\n+        # accumulate the results in output DataArray\n+        if n_t == 0:\n+            output = wd\n+        else:\n+            output = xr.concat((output, wd), dim='time', coords=['tags'])\n+\n+    # set units, and name attributes\n+    output = output.rename('wet_days')\n+    output['units'] = 'days'\n+    output['name'] = 'wet_days'\n+    output['long_name'] = 'number of wet days'\n+    output['details'] = 'wet day defined as a day with pr >= {:5.2f} mm'.format(pr_min)\n+\n+    return output\n+\n+\n+def daily_intensity(pr, pr_min=1., freq='YS', skipna=False):\n+    r\"\"\"daily intensity\n+\n+    compute simple daily intensity index by averaging the precipitation over wet_days\n+    for a given period\n+\n+    Parameters\n+    ----------\n+    pr : xarray.DataArray\n+      Daily precipitation [mm]\n+    pr_min : float\n+      precipitation value over which a day is considered wet\n+    freq : str, optional\n+      Resampling frequency defining the periods\n+      defined in http://pandas.pydata.org/pandas-docs/stable/timeseries.html#resampling.\n+    skipna : str, optional\n+      if True, NaN values are ignored\n+      if False NaN values are expanded\n+      This is used for the computation of the sum of wet days. See\n+      http://xarray.pydata.org/en/stable/generated/xarray.DataArray.sum.html for details\n+\n+    Returns\n+    -------\n+    xarray.DataArray\n+      The average precipitation over wet days for each period\n+\n+    Notes\n+    -----\n+\n+    Examples\n+    --------\n+    The following would compute for each grid cell of file `pr.day.nc` the average\n+    precipitation fallen over days with precipitation >= 5 mm at seasonal\n+    frequency, ie DJF, MAM, JJA, SON, DJF, etc.\n+\n+    >>> pr = xr.open_dataset('pr.day.nc')\n+    >>> daily_int = daily_intensity(pr, pr_min = 5., freq=\"QS-DEC\")\n+\n+    \"\"\"\n+\n+    # group the data according to the frequency\n+    groups = daily_downsampler(pr, freq=freq).groups\n+\n+    # split data according to frequency\n+    for n_t, tag in enumerate(groups):\n+        # get data from each group\n+        g = groups[tag]\n+        prg = pr[g]\n+\n+        # put precip null on non-wet days\n+        prg_wd = xr.where(prg < pr_min, 0, prg)\n+\n+        # sum pr over wetdays\n+        prg_wd_sum = prg_wd.sum(dim='time', skipna=skipna)\n+\n+        # find number of wet days\n+        wd = wet_days(prg, pr_min=pr_min, freq=freq, skipna=skipna)\n+        wd = wd.isel(time=0)\n+\n+        # compute average over wet days\n+        di = prg_wd_sum / wd\n+\n+        # keep tag and start time of group and add time dim\n+        di.coords['tags'] = tag\n+        di.coords['time'] = prg.time.values[0]\n+\n+        # accumulate the results in output DataArray\n+        if n_t == 0:\n+            output = di\n+        else:\n+            output = xr.concat((output, di), dim='time', coords=['tags'])\n+\n+    # set units, and name attributes\n+    output = output.rename('daily_intensity')\n+    output['name'] = 'daily_intensity'\n+    output['long_name'] = 'daily intensity over wet days'\n+    output['details'] = 'wet day defined as a day with pr >= {:5.2f} mm'.format(pr_min)","path":"xclim/indices.py","position":170,"original_position":170,"commit_id":"272218fdadde91255f3e0ddd1dc8fd880348df89","original_commit_id":"272218fdadde91255f3e0ddd1dc8fd880348df89","user":{"login":"sbiner","id":16655388,"node_id":"MDQ6VXNlcjE2NjU1Mzg4","avatar_url":"https://avatars1.githubusercontent.com/u/16655388?v=4","gravatar_id":"","url":"https://api.github.com/users/sbiner","html_url":"https://github.com/sbiner","followers_url":"https://api.github.com/users/sbiner/followers","following_url":"https://api.github.com/users/sbiner/following{/other_user}","gists_url":"https://api.github.com/users/sbiner/gists{/gist_id}","starred_url":"https://api.github.com/users/sbiner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbiner/subscriptions","organizations_url":"https://api.github.com/users/sbiner/orgs","repos_url":"https://api.github.com/users/sbiner/repos","events_url":"https://api.github.com/users/sbiner/events{/privacy}","received_events_url":"https://api.github.com/users/sbiner/received_events","type":"User","site_admin":false},"body":"Encore là, faut regarder les nans et encore là, je ne vois pas le lien entre ton code et le code en vert.\r\n\r\nJe vais regarder ça et je te reviens ... dans qqs jours probablement\r\n","created_at":"2018-10-04T14:07:13Z","updated_at":"2018-10-04T14:07:13Z","html_url":"https://github.com/Ouranosinc/xclim/pull/56#discussion_r222683254","pull_request_url":"https://api.github.com/repos/Ouranosinc/xclim/pulls/56","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Ouranosinc/xclim/pulls/comments/222683254"},"html":{"href":"https://github.com/Ouranosinc/xclim/pull/56#discussion_r222683254"},"pull_request":{"href":"https://api.github.com/repos/Ouranosinc/xclim/pulls/56"}},"in_reply_to_id":222647507},"pull_request":{"url":"https://api.github.com/repos/Ouranosinc/xclim/pulls/56","id":220168693,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwMTY4Njkz","html_url":"https://github.com/Ouranosinc/xclim/pull/56","diff_url":"https://github.com/Ouranosinc/xclim/pull/56.diff","patch_url":"https://github.com/Ouranosinc/xclim/pull/56.patch","issue_url":"https://api.github.com/repos/Ouranosinc/xclim/issues/56","number":56,"state":"open","locked":false,"title":"Rr1","user":{"login":"sbiner","id":16655388,"node_id":"MDQ6VXNlcjE2NjU1Mzg4","avatar_url":"https://avatars1.githubusercontent.com/u/16655388?v=4","gravatar_id":"","url":"https://api.github.com/users/sbiner","html_url":"https://github.com/sbiner","followers_url":"https://api.github.com/users/sbiner/followers","following_url":"https://api.github.com/users/sbiner/following{/other_user}","gists_url":"https://api.github.com/users/sbiner/gists{/gist_id}","starred_url":"https://api.github.com/users/sbiner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbiner/subscriptions","organizations_url":"https://api.github.com/users/sbiner/orgs","repos_url":"https://api.github.com/users/sbiner/repos","events_url":"https://api.github.com/users/sbiner/events{/privacy}","received_events_url":"https://api.github.com/users/sbiner/received_events","type":"User","site_admin":false},"body":"that branch has a working version of the wet_days and daily_intensity indices.","created_at":"2018-10-03T20:26:09Z","updated_at":"2018-10-04T14:07:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"09caa7c0b258237db1d09bfadde23e971ec3762c","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Zeitsperre","id":10819524,"node_id":"MDQ6VXNlcjEwODE5NTI0","avatar_url":"https://avatars3.githubusercontent.com/u/10819524?v=4","gravatar_id":"","url":"https://api.github.com/users/Zeitsperre","html_url":"https://github.com/Zeitsperre","followers_url":"https://api.github.com/users/Zeitsperre/followers","following_url":"https://api.github.com/users/Zeitsperre/following{/other_user}","gists_url":"https://api.github.com/users/Zeitsperre/gists{/gist_id}","starred_url":"https://api.github.com/users/Zeitsperre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zeitsperre/subscriptions","organizations_url":"https://api.github.com/users/Zeitsperre/orgs","repos_url":"https://api.github.com/users/Zeitsperre/repos","events_url":"https://api.github.com/users/Zeitsperre/events{/privacy}","received_events_url":"https://api.github.com/users/Zeitsperre/received_events","type":"User","site_admin":false},{"login":"tlogan2000","id":22454970,"node_id":"MDQ6VXNlcjIyNDU0OTcw","avatar_url":"https://avatars2.githubusercontent.com/u/22454970?v=4","gravatar_id":"","url":"https://api.github.com/users/tlogan2000","html_url":"https://github.com/tlogan2000","followers_url":"https://api.github.com/users/tlogan2000/followers","following_url":"https://api.github.com/users/tlogan2000/following{/other_user}","gists_url":"https://api.github.com/users/tlogan2000/gists{/gist_id}","starred_url":"https://api.github.com/users/tlogan2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlogan2000/subscriptions","organizations_url":"https://api.github.com/users/tlogan2000/orgs","repos_url":"https://api.github.com/users/tlogan2000/repos","events_url":"https://api.github.com/users/tlogan2000/events{/privacy}","received_events_url":"https://api.github.com/users/tlogan2000/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Ouranosinc/xclim/pulls/56/commits","review_comments_url":"https://api.github.com/repos/Ouranosinc/xclim/pulls/56/comments","review_comment_url":"https://api.github.com/repos/Ouranosinc/xclim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ouranosinc/xclim/issues/56/comments","statuses_url":"https://api.github.com/repos/Ouranosinc/xclim/statuses/272218fdadde91255f3e0ddd1dc8fd880348df89","head":{"label":"Ouranosinc:rr1","ref":"rr1","sha":"272218fdadde91255f3e0ddd1dc8fd880348df89","user":{"login":"Ouranosinc","id":1696763,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2OTY3NjM=","avatar_url":"https://avatars3.githubusercontent.com/u/1696763?v=4","gravatar_id":"","url":"https://api.github.com/users/Ouranosinc","html_url":"https://github.com/Ouranosinc","followers_url":"https://api.github.com/users/Ouranosinc/followers","following_url":"https://api.github.com/users/Ouranosinc/following{/other_user}","gists_url":"https://api.github.com/users/Ouranosinc/gists{/gist_id}","starred_url":"https://api.github.com/users/Ouranosinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ouranosinc/subscriptions","organizations_url":"https://api.github.com/users/Ouranosinc/orgs","repos_url":"https://api.github.com/users/Ouranosinc/repos","events_url":"https://api.github.com/users/Ouranosinc/events{/privacy}","received_events_url":"https://api.github.com/users/Ouranosinc/received_events","type":"Organization","site_admin":false},"repo":{"id":142608764,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI2MDg3NjQ=","name":"xclim","full_name":"Ouranosinc/xclim","private":false,"owner":{"login":"Ouranosinc","id":1696763,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2OTY3NjM=","avatar_url":"https://avatars3.githubusercontent.com/u/1696763?v=4","gravatar_id":"","url":"https://api.github.com/users/Ouranosinc","html_url":"https://github.com/Ouranosinc","followers_url":"https://api.github.com/users/Ouranosinc/followers","following_url":"https://api.github.com/users/Ouranosinc/following{/other_user}","gists_url":"https://api.github.com/users/Ouranosinc/gists{/gist_id}","starred_url":"https://api.github.com/users/Ouranosinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ouranosinc/subscriptions","organizations_url":"https://api.github.com/users/Ouranosinc/orgs","repos_url":"https://api.github.com/users/Ouranosinc/repos","events_url":"https://api.github.com/users/Ouranosinc/events{/privacy}","received_events_url":"https://api.github.com/users/Ouranosinc/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Ouranosinc/xclim","description":"Library of derived climate variables, ie climate indicators, based on xarray. ","fork":false,"url":"https://api.github.com/repos/Ouranosinc/xclim","forks_url":"https://api.github.com/repos/Ouranosinc/xclim/forks","keys_url":"https://api.github.com/repos/Ouranosinc/xclim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ouranosinc/xclim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ouranosinc/xclim/teams","hooks_url":"https://api.github.com/repos/Ouranosinc/xclim/hooks","issue_events_url":"https://api.github.com/repos/Ouranosinc/xclim/issues/events{/number}","events_url":"https://api.github.com/repos/Ouranosinc/xclim/events","assignees_url":"https://api.github.com/repos/Ouranosinc/xclim/assignees{/user}","branches_url":"https://api.github.com/repos/Ouranosinc/xclim/branches{/branch}","tags_url":"https://api.github.com/repos/Ouranosinc/xclim/tags","blobs_url":"https://api.github.com/repos/Ouranosinc/xclim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ouranosinc/xclim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ouranosinc/xclim/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ouranosinc/xclim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ouranosinc/xclim/statuses/{sha}","languages_url":"https://api.github.com/repos/Ouranosinc/xclim/languages","stargazers_url":"https://api.github.com/repos/Ouranosinc/xclim/stargazers","contributors_url":"https://api.github.com/repos/Ouranosinc/xclim/contributors","subscribers_url":"https://api.github.com/repos/Ouranosinc/xclim/subscribers","subscription_url":"https://api.github.com/repos/Ouranosinc/xclim/subscription","commits_url":"https://api.github.com/repos/Ouranosinc/xclim/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ouranosinc/xclim/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ouranosinc/xclim/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ouranosinc/xclim/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ouranosinc/xclim/contents/{+path}","compare_url":"https://api.github.com/repos/Ouranosinc/xclim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ouranosinc/xclim/merges","archive_url":"https://api.github.com/repos/Ouranosinc/xclim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ouranosinc/xclim/downloads","issues_url":"https://api.github.com/repos/Ouranosinc/xclim/issues{/number}","pulls_url":"https://api.github.com/repos/Ouranosinc/xclim/pulls{/number}","milestones_url":"https://api.github.com/repos/Ouranosinc/xclim/milestones{/number}","notifications_url":"https://api.github.com/repos/Ouranosinc/xclim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ouranosinc/xclim/labels{/name}","releases_url":"https://api.github.com/repos/Ouranosinc/xclim/releases{/id}","deployments_url":"https://api.github.com/repos/Ouranosinc/xclim/deployments","created_at":"2018-07-27T18:02:20Z","updated_at":"2018-10-04T13:57:08Z","pushed_at":"2018-10-04T13:57:06Z","git_url":"git://github.com/Ouranosinc/xclim.git","ssh_url":"git@github.com:Ouranosinc/xclim.git","clone_url":"https://github.com/Ouranosinc/xclim.git","svn_url":"https://github.com/Ouranosinc/xclim","homepage":"https://xclim.readthedocs.io/en/latest/","size":7011,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":20,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":20,"watchers":6,"default_branch":"master"}},"base":{"label":"Ouranosinc:master","ref":"master","sha":"7456867338923c23a150dd54cd30b756c0ba7553","user":{"login":"Ouranosinc","id":1696763,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2OTY3NjM=","avatar_url":"https://avatars3.githubusercontent.com/u/1696763?v=4","gravatar_id":"","url":"https://api.github.com/users/Ouranosinc","html_url":"https://github.com/Ouranosinc","followers_url":"https://api.github.com/users/Ouranosinc/followers","following_url":"https://api.github.com/users/Ouranosinc/following{/other_user}","gists_url":"https://api.github.com/users/Ouranosinc/gists{/gist_id}","starred_url":"https://api.github.com/users/Ouranosinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ouranosinc/subscriptions","organizations_url":"https://api.github.com/users/Ouranosinc/orgs","repos_url":"https://api.github.com/users/Ouranosinc/repos","events_url":"https://api.github.com/users/Ouranosinc/events{/privacy}","received_events_url":"https://api.github.com/users/Ouranosinc/received_events","type":"Organization","site_admin":false},"repo":{"id":142608764,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI2MDg3NjQ=","name":"xclim","full_name":"Ouranosinc/xclim","private":false,"owner":{"login":"Ouranosinc","id":1696763,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2OTY3NjM=","avatar_url":"https://avatars3.githubusercontent.com/u/1696763?v=4","gravatar_id":"","url":"https://api.github.com/users/Ouranosinc","html_url":"https://github.com/Ouranosinc","followers_url":"https://api.github.com/users/Ouranosinc/followers","following_url":"https://api.github.com/users/Ouranosinc/following{/other_user}","gists_url":"https://api.github.com/users/Ouranosinc/gists{/gist_id}","starred_url":"https://api.github.com/users/Ouranosinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ouranosinc/subscriptions","organizations_url":"https://api.github.com/users/Ouranosinc/orgs","repos_url":"https://api.github.com/users/Ouranosinc/repos","events_url":"https://api.github.com/users/Ouranosinc/events{/privacy}","received_events_url":"https://api.github.com/users/Ouranosinc/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Ouranosinc/xclim","description":"Library of derived climate variables, ie climate indicators, based on xarray. ","fork":false,"url":"https://api.github.com/repos/Ouranosinc/xclim","forks_url":"https://api.github.com/repos/Ouranosinc/xclim/forks","keys_url":"https://api.github.com/repos/Ouranosinc/xclim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ouranosinc/xclim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ouranosinc/xclim/teams","hooks_url":"https://api.github.com/repos/Ouranosinc/xclim/hooks","issue_events_url":"https://api.github.com/repos/Ouranosinc/xclim/issues/events{/number}","events_url":"https://api.github.com/repos/Ouranosinc/xclim/events","assignees_url":"https://api.github.com/repos/Ouranosinc/xclim/assignees{/user}","branches_url":"https://api.github.com/repos/Ouranosinc/xclim/branches{/branch}","tags_url":"https://api.github.com/repos/Ouranosinc/xclim/tags","blobs_url":"https://api.github.com/repos/Ouranosinc/xclim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ouranosinc/xclim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ouranosinc/xclim/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ouranosinc/xclim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ouranosinc/xclim/statuses/{sha}","languages_url":"https://api.github.com/repos/Ouranosinc/xclim/languages","stargazers_url":"https://api.github.com/repos/Ouranosinc/xclim/stargazers","contributors_url":"https://api.github.com/repos/Ouranosinc/xclim/contributors","subscribers_url":"https://api.github.com/repos/Ouranosinc/xclim/subscribers","subscription_url":"https://api.github.com/repos/Ouranosinc/xclim/subscription","commits_url":"https://api.github.com/repos/Ouranosinc/xclim/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ouranosinc/xclim/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ouranosinc/xclim/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ouranosinc/xclim/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ouranosinc/xclim/contents/{+path}","compare_url":"https://api.github.com/repos/Ouranosinc/xclim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ouranosinc/xclim/merges","archive_url":"https://api.github.com/repos/Ouranosinc/xclim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ouranosinc/xclim/downloads","issues_url":"https://api.github.com/repos/Ouranosinc/xclim/issues{/number}","pulls_url":"https://api.github.com/repos/Ouranosinc/xclim/pulls{/number}","milestones_url":"https://api.github.com/repos/Ouranosinc/xclim/milestones{/number}","notifications_url":"https://api.github.com/repos/Ouranosinc/xclim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ouranosinc/xclim/labels{/name}","releases_url":"https://api.github.com/repos/Ouranosinc/xclim/releases{/id}","deployments_url":"https://api.github.com/repos/Ouranosinc/xclim/deployments","created_at":"2018-07-27T18:02:20Z","updated_at":"2018-10-04T13:57:08Z","pushed_at":"2018-10-04T13:57:06Z","git_url":"git://github.com/Ouranosinc/xclim.git","ssh_url":"git@github.com:Ouranosinc/xclim.git","clone_url":"https://github.com/Ouranosinc/xclim.git","svn_url":"https://github.com/Ouranosinc/xclim","homepage":"https://xclim.readthedocs.io/en/latest/","size":7011,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":20,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":20,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ouranosinc/xclim/pulls/56"},"html":{"href":"https://github.com/Ouranosinc/xclim/pull/56"},"issue":{"href":"https://api.github.com/repos/Ouranosinc/xclim/issues/56"},"comments":{"href":"https://api.github.com/repos/Ouranosinc/xclim/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/Ouranosinc/xclim/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/Ouranosinc/xclim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ouranosinc/xclim/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/Ouranosinc/xclim/statuses/272218fdadde91255f3e0ddd1dc8fd880348df89"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"sbiner"}}