{"action":"opened","number":165,"pull_request":{"url":"https://api.github.com/repos/statkraft/shyft/pulls/165","id":137439326,"html_url":"https://github.com/statkraft/shyft/pull/165","diff_url":"https://github.com/statkraft/shyft/pull/165.diff","patch_url":"https://github.com/statkraft/shyft/pull/165.patch","issue_url":"https://api.github.com/repos/statkraft/shyft/issues/165","number":165,"state":"open","locked":false,"title":".abs() added for time-series and time-series vector","user":{"login":"sigbjorn","id":8044775,"avatar_url":"https://avatars2.githubusercontent.com/u/8044775?v=4","gravatar_id":"","url":"https://api.github.com/users/sigbjorn","html_url":"https://github.com/sigbjorn","followers_url":"https://api.github.com/users/sigbjorn/followers","following_url":"https://api.github.com/users/sigbjorn/following{/other_user}","gists_url":"https://api.github.com/users/sigbjorn/gists{/gist_id}","starred_url":"https://api.github.com/users/sigbjorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigbjorn/subscriptions","organizations_url":"https://api.github.com/users/sigbjorn/orgs","repos_url":"https://api.github.com/users/sigbjorn/repos","events_url":"https://api.github.com/users/sigbjorn/events{/privacy}","received_events_url":"https://api.github.com/users/sigbjorn/received_events","type":"User","site_admin":false},"body":"# Overview\r\n\r\nThis very simple first approach resolves the .abs() function requirement as stated in\r\n\r\n#162 \r\n\r\nFor usage in python, ref. to example & test in shyft/shyft/tests/api/test_time_series.py\r\n\r\n","created_at":"2017-08-24T12:13:25Z","updated_at":"2017-08-24T12:13:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/statkraft/shyft/pulls/165/commits","review_comments_url":"https://api.github.com/repos/statkraft/shyft/pulls/165/comments","review_comment_url":"https://api.github.com/repos/statkraft/shyft/pulls/comments{/number}","comments_url":"https://api.github.com/repos/statkraft/shyft/issues/165/comments","statuses_url":"https://api.github.com/repos/statkraft/shyft/statuses/1bb4c0d5e4de8803bfbd3c8861a959e2eb601dc7","head":{"label":"statkraft:ts_abs","ref":"ts_abs","sha":"1bb4c0d5e4de8803bfbd3c8861a959e2eb601dc7","user":{"login":"statkraft","id":10084673,"avatar_url":"https://avatars3.githubusercontent.com/u/10084673?v=4","gravatar_id":"","url":"https://api.github.com/users/statkraft","html_url":"https://github.com/statkraft","followers_url":"https://api.github.com/users/statkraft/followers","following_url":"https://api.github.com/users/statkraft/following{/other_user}","gists_url":"https://api.github.com/users/statkraft/gists{/gist_id}","starred_url":"https://api.github.com/users/statkraft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/statkraft/subscriptions","organizations_url":"https://api.github.com/users/statkraft/orgs","repos_url":"https://api.github.com/users/statkraft/repos","events_url":"https://api.github.com/users/statkraft/events{/privacy}","received_events_url":"https://api.github.com/users/statkraft/received_events","type":"Organization","site_admin":false},"repo":{"id":41547196,"name":"shyft","full_name":"statkraft/shyft","owner":{"login":"statkraft","id":10084673,"avatar_url":"https://avatars3.githubusercontent.com/u/10084673?v=4","gravatar_id":"","url":"https://api.github.com/users/statkraft","html_url":"https://github.com/statkraft","followers_url":"https://api.github.com/users/statkraft/followers","following_url":"https://api.github.com/users/statkraft/following{/other_user}","gists_url":"https://api.github.com/users/statkraft/gists{/gist_id}","starred_url":"https://api.github.com/users/statkraft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/statkraft/subscriptions","organizations_url":"https://api.github.com/users/statkraft/orgs","repos_url":"https://api.github.com/users/statkraft/repos","events_url":"https://api.github.com/users/statkraft/events{/privacy}","received_events_url":"https://api.github.com/users/statkraft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/statkraft/shyft","description":"Statkraft’s Hydrologic Forecasting Toolbox","fork":false,"url":"https://api.github.com/repos/statkraft/shyft","forks_url":"https://api.github.com/repos/statkraft/shyft/forks","keys_url":"https://api.github.com/repos/statkraft/shyft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/statkraft/shyft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/statkraft/shyft/teams","hooks_url":"https://api.github.com/repos/statkraft/shyft/hooks","issue_events_url":"https://api.github.com/repos/statkraft/shyft/issues/events{/number}","events_url":"https://api.github.com/repos/statkraft/shyft/events","assignees_url":"https://api.github.com/repos/statkraft/shyft/assignees{/user}","branches_url":"https://api.github.com/repos/statkraft/shyft/branches{/branch}","tags_url":"https://api.github.com/repos/statkraft/shyft/tags","blobs_url":"https://api.github.com/repos/statkraft/shyft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/statkraft/shyft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/statkraft/shyft/git/refs{/sha}","trees_url":"https://api.github.com/repos/statkraft/shyft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/statkraft/shyft/statuses/{sha}","languages_url":"https://api.github.com/repos/statkraft/shyft/languages","stargazers_url":"https://api.github.com/repos/statkraft/shyft/stargazers","contributors_url":"https://api.github.com/repos/statkraft/shyft/contributors","subscribers_url":"https://api.github.com/repos/statkraft/shyft/subscribers","subscription_url":"https://api.github.com/repos/statkraft/shyft/subscription","commits_url":"https://api.github.com/repos/statkraft/shyft/commits{/sha}","git_commits_url":"https://api.github.com/repos/statkraft/shyft/git/commits{/sha}","comments_url":"https://api.github.com/repos/statkraft/shyft/comments{/number}","issue_comment_url":"https://api.github.com/repos/statkraft/shyft/issues/comments{/number}","contents_url":"https://api.github.com/repos/statkraft/shyft/contents/{+path}","compare_url":"https://api.github.com/repos/statkraft/shyft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/statkraft/shyft/merges","archive_url":"https://api.github.com/repos/statkraft/shyft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/statkraft/shyft/downloads","issues_url":"https://api.github.com/repos/statkraft/shyft/issues{/number}","pulls_url":"https://api.github.com/repos/statkraft/shyft/pulls{/number}","milestones_url":"https://api.github.com/repos/statkraft/shyft/milestones{/number}","notifications_url":"https://api.github.com/repos/statkraft/shyft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/statkraft/shyft/labels{/name}","releases_url":"https://api.github.com/repos/statkraft/shyft/releases{/id}","deployments_url":"https://api.github.com/repos/statkraft/shyft/deployments","created_at":"2015-08-28T12:52:40Z","updated_at":"2017-06-30T00:17:29Z","pushed_at":"2017-08-24T12:09:49Z","git_url":"git://github.com/statkraft/shyft.git","ssh_url":"git@github.com:statkraft/shyft.git","clone_url":"https://github.com/statkraft/shyft.git","svn_url":"https://github.com/statkraft/shyft","homepage":null,"size":3712,"stargazers_count":11,"watchers_count":11,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":8,"forks":7,"open_issues":8,"watchers":11,"default_branch":"master"}},"base":{"label":"statkraft:master","ref":"master","sha":"d7c8fee328e1ee4491b161b2fbd60a5b893c02a6","user":{"login":"statkraft","id":10084673,"avatar_url":"https://avatars3.githubusercontent.com/u/10084673?v=4","gravatar_id":"","url":"https://api.github.com/users/statkraft","html_url":"https://github.com/statkraft","followers_url":"https://api.github.com/users/statkraft/followers","following_url":"https://api.github.com/users/statkraft/following{/other_user}","gists_url":"https://api.github.com/users/statkraft/gists{/gist_id}","starred_url":"https://api.github.com/users/statkraft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/statkraft/subscriptions","organizations_url":"https://api.github.com/users/statkraft/orgs","repos_url":"https://api.github.com/users/statkraft/repos","events_url":"https://api.github.com/users/statkraft/events{/privacy}","received_events_url":"https://api.github.com/users/statkraft/received_events","type":"Organization","site_admin":false},"repo":{"id":41547196,"name":"shyft","full_name":"statkraft/shyft","owner":{"login":"statkraft","id":10084673,"avatar_url":"https://avatars3.githubusercontent.com/u/10084673?v=4","gravatar_id":"","url":"https://api.github.com/users/statkraft","html_url":"https://github.com/statkraft","followers_url":"https://api.github.com/users/statkraft/followers","following_url":"https://api.github.com/users/statkraft/following{/other_user}","gists_url":"https://api.github.com/users/statkraft/gists{/gist_id}","starred_url":"https://api.github.com/users/statkraft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/statkraft/subscriptions","organizations_url":"https://api.github.com/users/statkraft/orgs","repos_url":"https://api.github.com/users/statkraft/repos","events_url":"https://api.github.com/users/statkraft/events{/privacy}","received_events_url":"https://api.github.com/users/statkraft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/statkraft/shyft","description":"Statkraft’s Hydrologic Forecasting Toolbox","fork":false,"url":"https://api.github.com/repos/statkraft/shyft","forks_url":"https://api.github.com/repos/statkraft/shyft/forks","keys_url":"https://api.github.com/repos/statkraft/shyft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/statkraft/shyft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/statkraft/shyft/teams","hooks_url":"https://api.github.com/repos/statkraft/shyft/hooks","issue_events_url":"https://api.github.com/repos/statkraft/shyft/issues/events{/number}","events_url":"https://api.github.com/repos/statkraft/shyft/events","assignees_url":"https://api.github.com/repos/statkraft/shyft/assignees{/user}","branches_url":"https://api.github.com/repos/statkraft/shyft/branches{/branch}","tags_url":"https://api.github.com/repos/statkraft/shyft/tags","blobs_url":"https://api.github.com/repos/statkraft/shyft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/statkraft/shyft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/statkraft/shyft/git/refs{/sha}","trees_url":"https://api.github.com/repos/statkraft/shyft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/statkraft/shyft/statuses/{sha}","languages_url":"https://api.github.com/repos/statkraft/shyft/languages","stargazers_url":"https://api.github.com/repos/statkraft/shyft/stargazers","contributors_url":"https://api.github.com/repos/statkraft/shyft/contributors","subscribers_url":"https://api.github.com/repos/statkraft/shyft/subscribers","subscription_url":"https://api.github.com/repos/statkraft/shyft/subscription","commits_url":"https://api.github.com/repos/statkraft/shyft/commits{/sha}","git_commits_url":"https://api.github.com/repos/statkraft/shyft/git/commits{/sha}","comments_url":"https://api.github.com/repos/statkraft/shyft/comments{/number}","issue_comment_url":"https://api.github.com/repos/statkraft/shyft/issues/comments{/number}","contents_url":"https://api.github.com/repos/statkraft/shyft/contents/{+path}","compare_url":"https://api.github.com/repos/statkraft/shyft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/statkraft/shyft/merges","archive_url":"https://api.github.com/repos/statkraft/shyft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/statkraft/shyft/downloads","issues_url":"https://api.github.com/repos/statkraft/shyft/issues{/number}","pulls_url":"https://api.github.com/repos/statkraft/shyft/pulls{/number}","milestones_url":"https://api.github.com/repos/statkraft/shyft/milestones{/number}","notifications_url":"https://api.github.com/repos/statkraft/shyft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/statkraft/shyft/labels{/name}","releases_url":"https://api.github.com/repos/statkraft/shyft/releases{/id}","deployments_url":"https://api.github.com/repos/statkraft/shyft/deployments","created_at":"2015-08-28T12:52:40Z","updated_at":"2017-06-30T00:17:29Z","pushed_at":"2017-08-24T12:09:49Z","git_url":"git://github.com/statkraft/shyft.git","ssh_url":"git@github.com:statkraft/shyft.git","clone_url":"https://github.com/statkraft/shyft.git","svn_url":"https://github.com/statkraft/shyft","homepage":null,"size":3712,"stargazers_count":11,"watchers_count":11,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":8,"forks":7,"open_issues":8,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/statkraft/shyft/pulls/165"},"html":{"href":"https://github.com/statkraft/shyft/pull/165"},"issue":{"href":"https://api.github.com/repos/statkraft/shyft/issues/165"},"comments":{"href":"https://api.github.com/repos/statkraft/shyft/issues/165/comments"},"review_comments":{"href":"https://api.github.com/repos/statkraft/shyft/pulls/165/comments"},"review_comment":{"href":"https://api.github.com/repos/statkraft/shyft/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/statkraft/shyft/pulls/165/commits"},"statuses":{"href":"https://api.github.com/repos/statkraft/shyft/statuses/1bb4c0d5e4de8803bfbd3c8861a959e2eb601dc7"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":108,"deletions":4,"changed_files":5}}
{"actor":{"display_login":"sigbjorn"}}