{"action":"created","comment":{"url":"https://api.github.com/repos/Statoil/camille/pulls/comments/221700179","pull_request_review_id":160413102,"id":221700179,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMTcwMDE3OQ==","diff_hunk":"@@ -0,0 +1,53 @@\n+import datetime as dt\r\n+import camille\r\n+\r\n+start_date = dt.datetime(2018, 1,1)\r\n+end_date = dt.datetime.now()\r\n+\r\n+installation = 'HS2'\r\n+data_root = '...'\r\n+prefix =\r\n+    f'{data_root}/processed/lidar/{installation}'\r\n+windiris_root =\r\n+    f'{data_root}/LiDAR_WindIris/Data/{installation}/real_time_data'\r\n+bazefetcher_root =\r\n+    f'{data_root}/bazefield_sensor_extraction/baze_taglist_all_gz'\r\n+\r\n+windiris = camille.source.windiris(windiris_root)\r\n+bazefield = camille.source.bazefetcher(bazefetcher_root)\r\n+pitch_tag = f'HYS-{installation}-MRUNacelle-PitchAngle'\r\n+roll_tag = f'HYS-{installation}-MRUNacelle-rollAngle'\r\n+\r\n+date = start_date\r\n+\r\n+def trunc_date(date): dt.datetime(date.year, date.month, date.day)\r","path":"examples/lidar.py","position":23,"original_position":23,"commit_id":"e486a414eeb8fc3e58bf22c088f67467e832b481","original_commit_id":"e486a414eeb8fc3e58bf22c088f67467e832b481","user":{"login":"jokva","id":8667957,"node_id":"MDQ6VXNlcjg2Njc5NTc=","avatar_url":"https://avatars2.githubusercontent.com/u/8667957?v=4","gravatar_id":"","url":"https://api.github.com/users/jokva","html_url":"https://github.com/jokva","followers_url":"https://api.github.com/users/jokva/followers","following_url":"https://api.github.com/users/jokva/following{/other_user}","gists_url":"https://api.github.com/users/jokva/gists{/gist_id}","starred_url":"https://api.github.com/users/jokva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jokva/subscriptions","organizations_url":"https://api.github.com/users/jokva/orgs","repos_url":"https://api.github.com/users/jokva/repos","events_url":"https://api.github.com/users/jokva/events{/privacy}","received_events_url":"https://api.github.com/users/jokva/received_events","type":"User","site_admin":false},"body":"Thumbs up.","created_at":"2018-10-01T17:55:20Z","updated_at":"2018-10-01T17:55:20Z","html_url":"https://github.com/Statoil/camille/pull/25#discussion_r221700179","pull_request_url":"https://api.github.com/repos/Statoil/camille/pulls/25","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Statoil/camille/pulls/comments/221700179"},"html":{"href":"https://github.com/Statoil/camille/pull/25#discussion_r221700179"},"pull_request":{"href":"https://api.github.com/repos/Statoil/camille/pulls/25"}},"in_reply_to_id":221691544},"pull_request":{"url":"https://api.github.com/repos/Statoil/camille/pulls/25","id":219445112,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5NDQ1MTEy","html_url":"https://github.com/Statoil/camille/pull/25","diff_url":"https://github.com/Statoil/camille/pull/25.diff","patch_url":"https://github.com/Statoil/camille/pull/25.patch","issue_url":"https://api.github.com/repos/Statoil/camille/issues/25","number":25,"state":"open","locked":false,"title":"Runnable script sketch","user":{"login":"JensGM","id":7008388,"node_id":"MDQ6VXNlcjcwMDgzODg=","avatar_url":"https://avatars0.githubusercontent.com/u/7008388?v=4","gravatar_id":"","url":"https://api.github.com/users/JensGM","html_url":"https://github.com/JensGM","followers_url":"https://api.github.com/users/JensGM/followers","following_url":"https://api.github.com/users/JensGM/following{/other_user}","gists_url":"https://api.github.com/users/JensGM/gists{/gist_id}","starred_url":"https://api.github.com/users/JensGM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JensGM/subscriptions","organizations_url":"https://api.github.com/users/JensGM/orgs","repos_url":"https://api.github.com/users/JensGM/repos","events_url":"https://api.github.com/users/JensGM/events{/privacy}","received_events_url":"https://api.github.com/users/JensGM/received_events","type":"User","site_admin":false},"body":"This is a sketch for use of an API that could be used to create runnable script with camille. In the current for it requires python 3.6\r\n\r\nThoughts? ","created_at":"2018-10-01T16:54:41Z","updated_at":"2018-10-01T17:55:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6eac46d8e852e37571b28047ff9fe5c5f31b1516","assignee":{"login":"JensGM","id":7008388,"node_id":"MDQ6VXNlcjcwMDgzODg=","avatar_url":"https://avatars0.githubusercontent.com/u/7008388?v=4","gravatar_id":"","url":"https://api.github.com/users/JensGM","html_url":"https://github.com/JensGM","followers_url":"https://api.github.com/users/JensGM/followers","following_url":"https://api.github.com/users/JensGM/following{/other_user}","gists_url":"https://api.github.com/users/JensGM/gists{/gist_id}","starred_url":"https://api.github.com/users/JensGM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JensGM/subscriptions","organizations_url":"https://api.github.com/users/JensGM/orgs","repos_url":"https://api.github.com/users/JensGM/repos","events_url":"https://api.github.com/users/JensGM/events{/privacy}","received_events_url":"https://api.github.com/users/JensGM/received_events","type":"User","site_admin":false},"assignees":[{"login":"JensGM","id":7008388,"node_id":"MDQ6VXNlcjcwMDgzODg=","avatar_url":"https://avatars0.githubusercontent.com/u/7008388?v=4","gravatar_id":"","url":"https://api.github.com/users/JensGM","html_url":"https://github.com/JensGM","followers_url":"https://api.github.com/users/JensGM/followers","following_url":"https://api.github.com/users/JensGM/following{/other_user}","gists_url":"https://api.github.com/users/JensGM/gists{/gist_id}","starred_url":"https://api.github.com/users/JensGM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JensGM/subscriptions","organizations_url":"https://api.github.com/users/JensGM/orgs","repos_url":"https://api.github.com/users/JensGM/repos","events_url":"https://api.github.com/users/JensGM/events{/privacy}","received_events_url":"https://api.github.com/users/JensGM/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"ErlendHaa","id":22821827,"node_id":"MDQ6VXNlcjIyODIxODI3","avatar_url":"https://avatars2.githubusercontent.com/u/22821827?v=4","gravatar_id":"","url":"https://api.github.com/users/ErlendHaa","html_url":"https://github.com/ErlendHaa","followers_url":"https://api.github.com/users/ErlendHaa/followers","following_url":"https://api.github.com/users/ErlendHaa/following{/other_user}","gists_url":"https://api.github.com/users/ErlendHaa/gists{/gist_id}","starred_url":"https://api.github.com/users/ErlendHaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErlendHaa/subscriptions","organizations_url":"https://api.github.com/users/ErlendHaa/orgs","repos_url":"https://api.github.com/users/ErlendHaa/repos","events_url":"https://api.github.com/users/ErlendHaa/events{/privacy}","received_events_url":"https://api.github.com/users/ErlendHaa/received_events","type":"User","site_admin":false},{"login":"sveinung-r","id":33453483,"node_id":"MDQ6VXNlcjMzNDUzNDgz","avatar_url":"https://avatars1.githubusercontent.com/u/33453483?v=4","gravatar_id":"","url":"https://api.github.com/users/sveinung-r","html_url":"https://github.com/sveinung-r","followers_url":"https://api.github.com/users/sveinung-r/followers","following_url":"https://api.github.com/users/sveinung-r/following{/other_user}","gists_url":"https://api.github.com/users/sveinung-r/gists{/gist_id}","starred_url":"https://api.github.com/users/sveinung-r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sveinung-r/subscriptions","organizations_url":"https://api.github.com/users/sveinung-r/orgs","repos_url":"https://api.github.com/users/sveinung-r/repos","events_url":"https://api.github.com/users/sveinung-r/events{/privacy}","received_events_url":"https://api.github.com/users/sveinung-r/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1067311362,"node_id":"MDU6TGFiZWwxMDY3MzExMzYy","url":"https://api.github.com/repos/Statoil/camille/labels/review","name":"review","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Statoil/camille/pulls/25/commits","review_comments_url":"https://api.github.com/repos/Statoil/camille/pulls/25/comments","review_comment_url":"https://api.github.com/repos/Statoil/camille/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Statoil/camille/issues/25/comments","statuses_url":"https://api.github.com/repos/Statoil/camille/statuses/e486a414eeb8fc3e58bf22c088f67467e832b481","head":{"label":"JensGM:runnable","ref":"runnable","sha":"e486a414eeb8fc3e58bf22c088f67467e832b481","user":{"login":"JensGM","id":7008388,"node_id":"MDQ6VXNlcjcwMDgzODg=","avatar_url":"https://avatars0.githubusercontent.com/u/7008388?v=4","gravatar_id":"","url":"https://api.github.com/users/JensGM","html_url":"https://github.com/JensGM","followers_url":"https://api.github.com/users/JensGM/followers","following_url":"https://api.github.com/users/JensGM/following{/other_user}","gists_url":"https://api.github.com/users/JensGM/gists{/gist_id}","starred_url":"https://api.github.com/users/JensGM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JensGM/subscriptions","organizations_url":"https://api.github.com/users/JensGM/orgs","repos_url":"https://api.github.com/users/JensGM/repos","events_url":"https://api.github.com/users/JensGM/events{/privacy}","received_events_url":"https://api.github.com/users/JensGM/received_events","type":"User","site_admin":false},"repo":{"id":135189256,"node_id":"MDEwOlJlcG9zaXRvcnkxMzUxODkyNTY=","name":"camille","full_name":"JensGM/camille","private":false,"owner":{"login":"JensGM","id":7008388,"node_id":"MDQ6VXNlcjcwMDgzODg=","avatar_url":"https://avatars0.githubusercontent.com/u/7008388?v=4","gravatar_id":"","url":"https://api.github.com/users/JensGM","html_url":"https://github.com/JensGM","followers_url":"https://api.github.com/users/JensGM/followers","following_url":"https://api.github.com/users/JensGM/following{/other_user}","gists_url":"https://api.github.com/users/JensGM/gists{/gist_id}","starred_url":"https://api.github.com/users/JensGM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JensGM/subscriptions","organizations_url":"https://api.github.com/users/JensGM/orgs","repos_url":"https://api.github.com/users/JensGM/repos","events_url":"https://api.github.com/users/JensGM/events{/privacy}","received_events_url":"https://api.github.com/users/JensGM/received_events","type":"User","site_admin":false},"html_url":"https://github.com/JensGM/camille","description":null,"fork":true,"url":"https://api.github.com/repos/JensGM/camille","forks_url":"https://api.github.com/repos/JensGM/camille/forks","keys_url":"https://api.github.com/repos/JensGM/camille/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JensGM/camille/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JensGM/camille/teams","hooks_url":"https://api.github.com/repos/JensGM/camille/hooks","issue_events_url":"https://api.github.com/repos/JensGM/camille/issues/events{/number}","events_url":"https://api.github.com/repos/JensGM/camille/events","assignees_url":"https://api.github.com/repos/JensGM/camille/assignees{/user}","branches_url":"https://api.github.com/repos/JensGM/camille/branches{/branch}","tags_url":"https://api.github.com/repos/JensGM/camille/tags","blobs_url":"https://api.github.com/repos/JensGM/camille/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JensGM/camille/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JensGM/camille/git/refs{/sha}","trees_url":"https://api.github.com/repos/JensGM/camille/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JensGM/camille/statuses/{sha}","languages_url":"https://api.github.com/repos/JensGM/camille/languages","stargazers_url":"https://api.github.com/repos/JensGM/camille/stargazers","contributors_url":"https://api.github.com/repos/JensGM/camille/contributors","subscribers_url":"https://api.github.com/repos/JensGM/camille/subscribers","subscription_url":"https://api.github.com/repos/JensGM/camille/subscription","commits_url":"https://api.github.com/repos/JensGM/camille/commits{/sha}","git_commits_url":"https://api.github.com/repos/JensGM/camille/git/commits{/sha}","comments_url":"https://api.github.com/repos/JensGM/camille/comments{/number}","issue_comment_url":"https://api.github.com/repos/JensGM/camille/issues/comments{/number}","contents_url":"https://api.github.com/repos/JensGM/camille/contents/{+path}","compare_url":"https://api.github.com/repos/JensGM/camille/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JensGM/camille/merges","archive_url":"https://api.github.com/repos/JensGM/camille/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JensGM/camille/downloads","issues_url":"https://api.github.com/repos/JensGM/camille/issues{/number}","pulls_url":"https://api.github.com/repos/JensGM/camille/pulls{/number}","milestones_url":"https://api.github.com/repos/JensGM/camille/milestones{/number}","notifications_url":"https://api.github.com/repos/JensGM/camille/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JensGM/camille/labels{/name}","releases_url":"https://api.github.com/repos/JensGM/camille/releases{/id}","deployments_url":"https://api.github.com/repos/JensGM/camille/deployments","created_at":"2018-05-28T17:13:06Z","updated_at":"2018-05-28T17:17:54Z","pushed_at":"2018-10-01T16:51:44Z","git_url":"git://github.com/JensGM/camille.git","ssh_url":"git@github.com:JensGM/camille.git","clone_url":"https://github.com/JensGM/camille.git","svn_url":"https://github.com/JensGM/camille","homepage":null,"size":29,"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,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Statoil:master","ref":"master","sha":"3f4903606d1fd57a60bb39bf5c61f773664c7741","user":{"login":"Statoil","id":525862,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUyNTg2Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/525862?v=4","gravatar_id":"","url":"https://api.github.com/users/Statoil","html_url":"https://github.com/Statoil","followers_url":"https://api.github.com/users/Statoil/followers","following_url":"https://api.github.com/users/Statoil/following{/other_user}","gists_url":"https://api.github.com/users/Statoil/gists{/gist_id}","starred_url":"https://api.github.com/users/Statoil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Statoil/subscriptions","organizations_url":"https://api.github.com/users/Statoil/orgs","repos_url":"https://api.github.com/users/Statoil/repos","events_url":"https://api.github.com/users/Statoil/events{/privacy}","received_events_url":"https://api.github.com/users/Statoil/received_events","type":"Organization","site_admin":false},"repo":{"id":135147020,"node_id":"MDEwOlJlcG9zaXRvcnkxMzUxNDcwMjA=","name":"camille","full_name":"Statoil/camille","private":false,"owner":{"login":"Statoil","id":525862,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUyNTg2Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/525862?v=4","gravatar_id":"","url":"https://api.github.com/users/Statoil","html_url":"https://github.com/Statoil","followers_url":"https://api.github.com/users/Statoil/followers","following_url":"https://api.github.com/users/Statoil/following{/other_user}","gists_url":"https://api.github.com/users/Statoil/gists{/gist_id}","starred_url":"https://api.github.com/users/Statoil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Statoil/subscriptions","organizations_url":"https://api.github.com/users/Statoil/orgs","repos_url":"https://api.github.com/users/Statoil/repos","events_url":"https://api.github.com/users/Statoil/events{/privacy}","received_events_url":"https://api.github.com/users/Statoil/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Statoil/camille","description":null,"fork":false,"url":"https://api.github.com/repos/Statoil/camille","forks_url":"https://api.github.com/repos/Statoil/camille/forks","keys_url":"https://api.github.com/repos/Statoil/camille/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Statoil/camille/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Statoil/camille/teams","hooks_url":"https://api.github.com/repos/Statoil/camille/hooks","issue_events_url":"https://api.github.com/repos/Statoil/camille/issues/events{/number}","events_url":"https://api.github.com/repos/Statoil/camille/events","assignees_url":"https://api.github.com/repos/Statoil/camille/assignees{/user}","branches_url":"https://api.github.com/repos/Statoil/camille/branches{/branch}","tags_url":"https://api.github.com/repos/Statoil/camille/tags","blobs_url":"https://api.github.com/repos/Statoil/camille/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Statoil/camille/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Statoil/camille/git/refs{/sha}","trees_url":"https://api.github.com/repos/Statoil/camille/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Statoil/camille/statuses/{sha}","languages_url":"https://api.github.com/repos/Statoil/camille/languages","stargazers_url":"https://api.github.com/repos/Statoil/camille/stargazers","contributors_url":"https://api.github.com/repos/Statoil/camille/contributors","subscribers_url":"https://api.github.com/repos/Statoil/camille/subscribers","subscription_url":"https://api.github.com/repos/Statoil/camille/subscription","commits_url":"https://api.github.com/repos/Statoil/camille/commits{/sha}","git_commits_url":"https://api.github.com/repos/Statoil/camille/git/commits{/sha}","comments_url":"https://api.github.com/repos/Statoil/camille/comments{/number}","issue_comment_url":"https://api.github.com/repos/Statoil/camille/issues/comments{/number}","contents_url":"https://api.github.com/repos/Statoil/camille/contents/{+path}","compare_url":"https://api.github.com/repos/Statoil/camille/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Statoil/camille/merges","archive_url":"https://api.github.com/repos/Statoil/camille/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Statoil/camille/downloads","issues_url":"https://api.github.com/repos/Statoil/camille/issues{/number}","pulls_url":"https://api.github.com/repos/Statoil/camille/pulls{/number}","milestones_url":"https://api.github.com/repos/Statoil/camille/milestones{/number}","notifications_url":"https://api.github.com/repos/Statoil/camille/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Statoil/camille/labels{/name}","releases_url":"https://api.github.com/repos/Statoil/camille/releases{/id}","deployments_url":"https://api.github.com/repos/Statoil/camille/deployments","created_at":"2018-05-28T10:37:16Z","updated_at":"2018-09-24T13:11:01Z","pushed_at":"2018-10-01T16:54:41Z","git_url":"git://github.com/Statoil/camille.git","ssh_url":"git@github.com:Statoil/camille.git","clone_url":"https://github.com/Statoil/camille.git","svn_url":"https://github.com/Statoil/camille","homepage":null,"size":30,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":12,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":5,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Statoil/camille/pulls/25"},"html":{"href":"https://github.com/Statoil/camille/pull/25"},"issue":{"href":"https://api.github.com/repos/Statoil/camille/issues/25"},"comments":{"href":"https://api.github.com/repos/Statoil/camille/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/Statoil/camille/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/Statoil/camille/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Statoil/camille/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/Statoil/camille/statuses/e486a414eeb8fc3e58bf22c088f67467e832b481"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"jokva"}}