{"action":"opened","number":4258,"pull_request":{"url":"https://api.github.com/repos/gem/oq-engine/pulls/4258","id":234677859,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0Njc3ODU5","html_url":"https://github.com/gem/oq-engine/pull/4258","diff_url":"https://github.com/gem/oq-engine/pull/4258.diff","patch_url":"https://github.com/gem/oq-engine/pull/4258.patch","issue_url":"https://api.github.com/repos/gem/oq-engine/issues/4258","number":4258,"state":"open","locked":false,"title":"Stored more information about the discarded assets","user":{"login":"micheles","id":2463856,"node_id":"MDQ6VXNlcjI0NjM4NTY=","avatar_url":"https://avatars1.githubusercontent.com/u/2463856?v=4","gravatar_id":"","url":"https://api.github.com/users/micheles","html_url":"https://github.com/micheles","followers_url":"https://api.github.com/users/micheles/followers","following_url":"https://api.github.com/users/micheles/following{/other_user}","gists_url":"https://api.github.com/users/micheles/gists{/gist_id}","starred_url":"https://api.github.com/users/micheles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micheles/subscriptions","organizations_url":"https://api.github.com/users/micheles/orgs","repos_url":"https://api.github.com/users/micheles/repos","events_url":"https://api.github.com/users/micheles/events{/privacy}","received_events_url":"https://api.github.com/users/micheles/received_events","type":"User","site_admin":false},"body":"Instead of only the coordinates of the discarded assets, now we store also the asset_refs as found in the exposure. For instance, in an example for the Vancouver region I get\r\n```bash\r\n$ oq show discarded\r\nasset_ref:object,lon,lat\r\n59025998-W2-LC,-128.15410,52.18151\r\n59025977-W1-LC,-128.15030,52.16366\r\n59025978-MH-MC,-128.14639,52.16172\r\n59025978-MH-PC,-128.14639,52.16172\r\n59025978-MH-LC,-128.14639,52.16172\r\n```\r\nand `oq plot_assets` produces the following plot:\r\n![vancouver](https://user-images.githubusercontent.com/2463856/49231822-03229280-f3f3-11e8-9860-77708c234174.png)\r\n","created_at":"2018-11-29T15:23:17Z","updated_at":"2018-11-29T15:23:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":262430947,"node_id":"MDU6TGFiZWwyNjI0MzA5NDc=","url":"https://api.github.com/repos/gem/oq-engine/labels/enhancement","name":"enhancement","color":"009800","default":true},{"id":546872314,"node_id":"MDU6TGFiZWw1NDY4NzIzMTQ=","url":"https://api.github.com/repos/gem/oq-engine/labels/internal","name":"internal","color":"bfd4f2","default":false}],"milestone":{"url":"https://api.github.com/repos/gem/oq-engine/milestones/22","html_url":"https://github.com/gem/oq-engine/milestone/22","labels_url":"https://api.github.com/repos/gem/oq-engine/milestones/22/labels","id":3595477,"node_id":"MDk6TWlsZXN0b25lMzU5NTQ3Nw==","number":22,"title":"Engine 3.3.0","description":null,"creator":{"login":"micheles","id":2463856,"node_id":"MDQ6VXNlcjI0NjM4NTY=","avatar_url":"https://avatars1.githubusercontent.com/u/2463856?v=4","gravatar_id":"","url":"https://api.github.com/users/micheles","html_url":"https://github.com/micheles","followers_url":"https://api.github.com/users/micheles/followers","following_url":"https://api.github.com/users/micheles/following{/other_user}","gists_url":"https://api.github.com/users/micheles/gists{/gist_id}","starred_url":"https://api.github.com/users/micheles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micheles/subscriptions","organizations_url":"https://api.github.com/users/micheles/orgs","repos_url":"https://api.github.com/users/micheles/repos","events_url":"https://api.github.com/users/micheles/events{/privacy}","received_events_url":"https://api.github.com/users/micheles/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":251,"state":"open","created_at":"2018-08-24T04:55:39Z","updated_at":"2018-11-29T15:23:18Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/gem/oq-engine/pulls/4258/commits","review_comments_url":"https://api.github.com/repos/gem/oq-engine/pulls/4258/comments","review_comment_url":"https://api.github.com/repos/gem/oq-engine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gem/oq-engine/issues/4258/comments","statuses_url":"https://api.github.com/repos/gem/oq-engine/statuses/f00054ea272a9e7cb6caee3aeef9f9c8f4a5b6d9","head":{"label":"gem:discarded","ref":"discarded","sha":"f00054ea272a9e7cb6caee3aeef9f9c8f4a5b6d9","user":{"login":"gem","id":316546,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNjU0Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/316546?v=4","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"repo":{"id":744916,"node_id":"MDEwOlJlcG9zaXRvcnk3NDQ5MTY=","name":"oq-engine","full_name":"gem/oq-engine","private":false,"owner":{"login":"gem","id":316546,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNjU0Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/316546?v=4","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/gem/oq-engine","description":"OpenQuake's Engine for Seismic Hazard and Risk Analysis","fork":false,"url":"https://api.github.com/repos/gem/oq-engine","forks_url":"https://api.github.com/repos/gem/oq-engine/forks","keys_url":"https://api.github.com/repos/gem/oq-engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gem/oq-engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gem/oq-engine/teams","hooks_url":"https://api.github.com/repos/gem/oq-engine/hooks","issue_events_url":"https://api.github.com/repos/gem/oq-engine/issues/events{/number}","events_url":"https://api.github.com/repos/gem/oq-engine/events","assignees_url":"https://api.github.com/repos/gem/oq-engine/assignees{/user}","branches_url":"https://api.github.com/repos/gem/oq-engine/branches{/branch}","tags_url":"https://api.github.com/repos/gem/oq-engine/tags","blobs_url":"https://api.github.com/repos/gem/oq-engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gem/oq-engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gem/oq-engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/gem/oq-engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gem/oq-engine/statuses/{sha}","languages_url":"https://api.github.com/repos/gem/oq-engine/languages","stargazers_url":"https://api.github.com/repos/gem/oq-engine/stargazers","contributors_url":"https://api.github.com/repos/gem/oq-engine/contributors","subscribers_url":"https://api.github.com/repos/gem/oq-engine/subscribers","subscription_url":"https://api.github.com/repos/gem/oq-engine/subscription","commits_url":"https://api.github.com/repos/gem/oq-engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/gem/oq-engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/gem/oq-engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/gem/oq-engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/gem/oq-engine/contents/{+path}","compare_url":"https://api.github.com/repos/gem/oq-engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gem/oq-engine/merges","archive_url":"https://api.github.com/repos/gem/oq-engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gem/oq-engine/downloads","issues_url":"https://api.github.com/repos/gem/oq-engine/issues{/number}","pulls_url":"https://api.github.com/repos/gem/oq-engine/pulls{/number}","milestones_url":"https://api.github.com/repos/gem/oq-engine/milestones{/number}","notifications_url":"https://api.github.com/repos/gem/oq-engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gem/oq-engine/labels{/name}","releases_url":"https://api.github.com/repos/gem/oq-engine/releases{/id}","deployments_url":"https://api.github.com/repos/gem/oq-engine/deployments","created_at":"2010-06-28T14:59:42Z","updated_at":"2018-11-29T12:47:51Z","pushed_at":"2018-11-29T15:23:17Z","git_url":"git://github.com/gem/oq-engine.git","ssh_url":"git@github.com:gem/oq-engine.git","clone_url":"https://github.com/gem/oq-engine.git","svn_url":"https://github.com/gem/oq-engine","homepage":"https://github.com/gem/oq-engine/#openquake-engine","size":660748,"stargazers_count":130,"watchers_count":130,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":105,"mirror_url":null,"archived":false,"open_issues_count":63,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":105,"open_issues":63,"watchers":130,"default_branch":"master"}},"base":{"label":"gem:master","ref":"master","sha":"9091bd4fdcd4f58b2ba06c7f553c37fecd4eaeb1","user":{"login":"gem","id":316546,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNjU0Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/316546?v=4","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"repo":{"id":744916,"node_id":"MDEwOlJlcG9zaXRvcnk3NDQ5MTY=","name":"oq-engine","full_name":"gem/oq-engine","private":false,"owner":{"login":"gem","id":316546,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNjU0Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/316546?v=4","gravatar_id":"","url":"https://api.github.com/users/gem","html_url":"https://github.com/gem","followers_url":"https://api.github.com/users/gem/followers","following_url":"https://api.github.com/users/gem/following{/other_user}","gists_url":"https://api.github.com/users/gem/gists{/gist_id}","starred_url":"https://api.github.com/users/gem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gem/subscriptions","organizations_url":"https://api.github.com/users/gem/orgs","repos_url":"https://api.github.com/users/gem/repos","events_url":"https://api.github.com/users/gem/events{/privacy}","received_events_url":"https://api.github.com/users/gem/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/gem/oq-engine","description":"OpenQuake's Engine for Seismic Hazard and Risk Analysis","fork":false,"url":"https://api.github.com/repos/gem/oq-engine","forks_url":"https://api.github.com/repos/gem/oq-engine/forks","keys_url":"https://api.github.com/repos/gem/oq-engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gem/oq-engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gem/oq-engine/teams","hooks_url":"https://api.github.com/repos/gem/oq-engine/hooks","issue_events_url":"https://api.github.com/repos/gem/oq-engine/issues/events{/number}","events_url":"https://api.github.com/repos/gem/oq-engine/events","assignees_url":"https://api.github.com/repos/gem/oq-engine/assignees{/user}","branches_url":"https://api.github.com/repos/gem/oq-engine/branches{/branch}","tags_url":"https://api.github.com/repos/gem/oq-engine/tags","blobs_url":"https://api.github.com/repos/gem/oq-engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gem/oq-engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gem/oq-engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/gem/oq-engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gem/oq-engine/statuses/{sha}","languages_url":"https://api.github.com/repos/gem/oq-engine/languages","stargazers_url":"https://api.github.com/repos/gem/oq-engine/stargazers","contributors_url":"https://api.github.com/repos/gem/oq-engine/contributors","subscribers_url":"https://api.github.com/repos/gem/oq-engine/subscribers","subscription_url":"https://api.github.com/repos/gem/oq-engine/subscription","commits_url":"https://api.github.com/repos/gem/oq-engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/gem/oq-engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/gem/oq-engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/gem/oq-engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/gem/oq-engine/contents/{+path}","compare_url":"https://api.github.com/repos/gem/oq-engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gem/oq-engine/merges","archive_url":"https://api.github.com/repos/gem/oq-engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gem/oq-engine/downloads","issues_url":"https://api.github.com/repos/gem/oq-engine/issues{/number}","pulls_url":"https://api.github.com/repos/gem/oq-engine/pulls{/number}","milestones_url":"https://api.github.com/repos/gem/oq-engine/milestones{/number}","notifications_url":"https://api.github.com/repos/gem/oq-engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gem/oq-engine/labels{/name}","releases_url":"https://api.github.com/repos/gem/oq-engine/releases{/id}","deployments_url":"https://api.github.com/repos/gem/oq-engine/deployments","created_at":"2010-06-28T14:59:42Z","updated_at":"2018-11-29T12:47:51Z","pushed_at":"2018-11-29T15:23:17Z","git_url":"git://github.com/gem/oq-engine.git","ssh_url":"git@github.com:gem/oq-engine.git","clone_url":"https://github.com/gem/oq-engine.git","svn_url":"https://github.com/gem/oq-engine","homepage":"https://github.com/gem/oq-engine/#openquake-engine","size":660748,"stargazers_count":130,"watchers_count":130,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":105,"mirror_url":null,"archived":false,"open_issues_count":63,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":105,"open_issues":63,"watchers":130,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gem/oq-engine/pulls/4258"},"html":{"href":"https://github.com/gem/oq-engine/pull/4258"},"issue":{"href":"https://api.github.com/repos/gem/oq-engine/issues/4258"},"comments":{"href":"https://api.github.com/repos/gem/oq-engine/issues/4258/comments"},"review_comments":{"href":"https://api.github.com/repos/gem/oq-engine/pulls/4258/comments"},"review_comment":{"href":"https://api.github.com/repos/gem/oq-engine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gem/oq-engine/pulls/4258/commits"},"statuses":{"href":"https://api.github.com/repos/gem/oq-engine/statuses/f00054ea272a9e7cb6caee3aeef9f9c8f4a5b6d9"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":18,"deletions":11,"changed_files":4}}
{"actor":{"display_login":"micheles"}}