{"action":"opened","number":496,"pull_request":{"url":"https://api.github.com/repos/gem/oq-irmt-qgis/pulls/496","id":209526789,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5NTI2Nzg5","html_url":"https://github.com/gem/oq-irmt-qgis/pull/496","diff_url":"https://github.com/gem/oq-irmt-qgis/pull/496.diff","patch_url":"https://github.com/gem/oq-irmt-qgis/pull/496.patch","issue_url":"https://api.github.com/repos/gem/oq-irmt-qgis/issues/496","number":496,"state":"open","locked":false,"title":"Cast IMLs to float if possible (fix plotting of IMT=PGV)","user":{"login":"ptormene","id":350930,"node_id":"MDQ6VXNlcjM1MDkzMA==","avatar_url":"https://avatars2.githubusercontent.com/u/350930?v=4","gravatar_id":"","url":"https://api.github.com/users/ptormene","html_url":"https://github.com/ptormene","followers_url":"https://api.github.com/users/ptormene/followers","following_url":"https://api.github.com/users/ptormene/following{/other_user}","gists_url":"https://api.github.com/users/ptormene/gists{/gist_id}","starred_url":"https://api.github.com/users/ptormene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptormene/subscriptions","organizations_url":"https://api.github.com/users/ptormene/orgs","repos_url":"https://api.github.com/users/ptormene/repos","events_url":"https://api.github.com/users/ptormene/events{/privacy}","received_events_url":"https://api.github.com/users/ptormene/received_events","type":"User","site_admin":false},"body":"Without casting to float, plots looked fine for almost every IMTs (luckily), except PGV (see figure).\r\n![screenshot from 2018-08-20 14-34-42](https://user-images.githubusercontent.com/350930/44344032-e4297180-a48f-11e8-9ef1-5660af560987.png). This fixes plots for every IMTs.\r\n\r\nIn the rare case of Modified Mercalli Intensity Scale, in which IMLs are not numeric, the original values will be kept. The OQ-Engine demos do not include any example using that scale.","created_at":"2018-08-20T13:47:10Z","updated_at":"2018-08-20T13:47:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gem/oq-irmt-qgis/pulls/496/commits","review_comments_url":"https://api.github.com/repos/gem/oq-irmt-qgis/pulls/496/comments","review_comment_url":"https://api.github.com/repos/gem/oq-irmt-qgis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gem/oq-irmt-qgis/issues/496/comments","statuses_url":"https://api.github.com/repos/gem/oq-irmt-qgis/statuses/4e678c501e0ce166f336554063e8d7d0d58fc08b","head":{"label":"gem:imls-to-float","ref":"imls-to-float","sha":"4e678c501e0ce166f336554063e8d7d0d58fc08b","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":29854750,"node_id":"MDEwOlJlcG9zaXRvcnkyOTg1NDc1MA==","name":"oq-irmt-qgis","full_name":"gem/oq-irmt-qgis","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},"private":false,"html_url":"https://github.com/gem/oq-irmt-qgis","description":"QGIS plugin to drive the OpenQuake Engine, to develop Social Vulnerability and Integrated Risk composite indices, and to predict building recovery times following an earthquake","fork":false,"url":"https://api.github.com/repos/gem/oq-irmt-qgis","forks_url":"https://api.github.com/repos/gem/oq-irmt-qgis/forks","keys_url":"https://api.github.com/repos/gem/oq-irmt-qgis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gem/oq-irmt-qgis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gem/oq-irmt-qgis/teams","hooks_url":"https://api.github.com/repos/gem/oq-irmt-qgis/hooks","issue_events_url":"https://api.github.com/repos/gem/oq-irmt-qgis/issues/events{/number}","events_url":"https://api.github.com/repos/gem/oq-irmt-qgis/events","assignees_url":"https://api.github.com/repos/gem/oq-irmt-qgis/assignees{/user}","branches_url":"https://api.github.com/repos/gem/oq-irmt-qgis/branches{/branch}","tags_url":"https://api.github.com/repos/gem/oq-irmt-qgis/tags","blobs_url":"https://api.github.com/repos/gem/oq-irmt-qgis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gem/oq-irmt-qgis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gem/oq-irmt-qgis/git/refs{/sha}","trees_url":"https://api.github.com/repos/gem/oq-irmt-qgis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gem/oq-irmt-qgis/statuses/{sha}","languages_url":"https://api.github.com/repos/gem/oq-irmt-qgis/languages","stargazers_url":"https://api.github.com/repos/gem/oq-irmt-qgis/stargazers","contributors_url":"https://api.github.com/repos/gem/oq-irmt-qgis/contributors","subscribers_url":"https://api.github.com/repos/gem/oq-irmt-qgis/subscribers","subscription_url":"https://api.github.com/repos/gem/oq-irmt-qgis/subscription","commits_url":"https://api.github.com/repos/gem/oq-irmt-qgis/commits{/sha}","git_commits_url":"https://api.github.com/repos/gem/oq-irmt-qgis/git/commits{/sha}","comments_url":"https://api.github.com/repos/gem/oq-irmt-qgis/comments{/number}","issue_comment_url":"https://api.github.com/repos/gem/oq-irmt-qgis/issues/comments{/number}","contents_url":"https://api.github.com/repos/gem/oq-irmt-qgis/contents/{+path}","compare_url":"https://api.github.com/repos/gem/oq-irmt-qgis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gem/oq-irmt-qgis/merges","archive_url":"https://api.github.com/repos/gem/oq-irmt-qgis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gem/oq-irmt-qgis/downloads","issues_url":"https://api.github.com/repos/gem/oq-irmt-qgis/issues{/number}","pulls_url":"https://api.github.com/repos/gem/oq-irmt-qgis/pulls{/number}","milestones_url":"https://api.github.com/repos/gem/oq-irmt-qgis/milestones{/number}","notifications_url":"https://api.github.com/repos/gem/oq-irmt-qgis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gem/oq-irmt-qgis/labels{/name}","releases_url":"https://api.github.com/repos/gem/oq-irmt-qgis/releases{/id}","deployments_url":"https://api.github.com/repos/gem/oq-irmt-qgis/deployments","created_at":"2015-01-26T09:47:44Z","updated_at":"2018-08-13T14:37:06Z","pushed_at":"2018-08-20T13:38:50Z","git_url":"git://github.com/gem/oq-irmt-qgis.git","ssh_url":"git@github.com:gem/oq-irmt-qgis.git","clone_url":"https://github.com/gem/oq-irmt-qgis.git","svn_url":"https://github.com/gem/oq-irmt-qgis","homepage":"https://plugins.qgis.org/plugins/svir/","size":22085,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":32,"license":null,"forks":1,"open_issues":32,"watchers":4,"default_branch":"master"}},"base":{"label":"gem:master","ref":"master","sha":"22dc87ea4688f275c128e336aa051fbc930ed2c8","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":29854750,"node_id":"MDEwOlJlcG9zaXRvcnkyOTg1NDc1MA==","name":"oq-irmt-qgis","full_name":"gem/oq-irmt-qgis","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},"private":false,"html_url":"https://github.com/gem/oq-irmt-qgis","description":"QGIS plugin to drive the OpenQuake Engine, to develop Social Vulnerability and Integrated Risk composite indices, and to predict building recovery times following an earthquake","fork":false,"url":"https://api.github.com/repos/gem/oq-irmt-qgis","forks_url":"https://api.github.com/repos/gem/oq-irmt-qgis/forks","keys_url":"https://api.github.com/repos/gem/oq-irmt-qgis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gem/oq-irmt-qgis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gem/oq-irmt-qgis/teams","hooks_url":"https://api.github.com/repos/gem/oq-irmt-qgis/hooks","issue_events_url":"https://api.github.com/repos/gem/oq-irmt-qgis/issues/events{/number}","events_url":"https://api.github.com/repos/gem/oq-irmt-qgis/events","assignees_url":"https://api.github.com/repos/gem/oq-irmt-qgis/assignees{/user}","branches_url":"https://api.github.com/repos/gem/oq-irmt-qgis/branches{/branch}","tags_url":"https://api.github.com/repos/gem/oq-irmt-qgis/tags","blobs_url":"https://api.github.com/repos/gem/oq-irmt-qgis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gem/oq-irmt-qgis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gem/oq-irmt-qgis/git/refs{/sha}","trees_url":"https://api.github.com/repos/gem/oq-irmt-qgis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gem/oq-irmt-qgis/statuses/{sha}","languages_url":"https://api.github.com/repos/gem/oq-irmt-qgis/languages","stargazers_url":"https://api.github.com/repos/gem/oq-irmt-qgis/stargazers","contributors_url":"https://api.github.com/repos/gem/oq-irmt-qgis/contributors","subscribers_url":"https://api.github.com/repos/gem/oq-irmt-qgis/subscribers","subscription_url":"https://api.github.com/repos/gem/oq-irmt-qgis/subscription","commits_url":"https://api.github.com/repos/gem/oq-irmt-qgis/commits{/sha}","git_commits_url":"https://api.github.com/repos/gem/oq-irmt-qgis/git/commits{/sha}","comments_url":"https://api.github.com/repos/gem/oq-irmt-qgis/comments{/number}","issue_comment_url":"https://api.github.com/repos/gem/oq-irmt-qgis/issues/comments{/number}","contents_url":"https://api.github.com/repos/gem/oq-irmt-qgis/contents/{+path}","compare_url":"https://api.github.com/repos/gem/oq-irmt-qgis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gem/oq-irmt-qgis/merges","archive_url":"https://api.github.com/repos/gem/oq-irmt-qgis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gem/oq-irmt-qgis/downloads","issues_url":"https://api.github.com/repos/gem/oq-irmt-qgis/issues{/number}","pulls_url":"https://api.github.com/repos/gem/oq-irmt-qgis/pulls{/number}","milestones_url":"https://api.github.com/repos/gem/oq-irmt-qgis/milestones{/number}","notifications_url":"https://api.github.com/repos/gem/oq-irmt-qgis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gem/oq-irmt-qgis/labels{/name}","releases_url":"https://api.github.com/repos/gem/oq-irmt-qgis/releases{/id}","deployments_url":"https://api.github.com/repos/gem/oq-irmt-qgis/deployments","created_at":"2015-01-26T09:47:44Z","updated_at":"2018-08-13T14:37:06Z","pushed_at":"2018-08-20T13:38:50Z","git_url":"git://github.com/gem/oq-irmt-qgis.git","ssh_url":"git@github.com:gem/oq-irmt-qgis.git","clone_url":"https://github.com/gem/oq-irmt-qgis.git","svn_url":"https://github.com/gem/oq-irmt-qgis","homepage":"https://plugins.qgis.org/plugins/svir/","size":22085,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":32,"license":null,"forks":1,"open_issues":32,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gem/oq-irmt-qgis/pulls/496"},"html":{"href":"https://github.com/gem/oq-irmt-qgis/pull/496"},"issue":{"href":"https://api.github.com/repos/gem/oq-irmt-qgis/issues/496"},"comments":{"href":"https://api.github.com/repos/gem/oq-irmt-qgis/issues/496/comments"},"review_comments":{"href":"https://api.github.com/repos/gem/oq-irmt-qgis/pulls/496/comments"},"review_comment":{"href":"https://api.github.com/repos/gem/oq-irmt-qgis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gem/oq-irmt-qgis/pulls/496/commits"},"statuses":{"href":"https://api.github.com/repos/gem/oq-irmt-qgis/statuses/4e678c501e0ce166f336554063e8d7d0d58fc08b"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":6,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"ptormene"}}