{"action":"opened","number":52,"pull_request":{"url":"https://api.github.com/repos/PIC-IRIS/PH5/pulls/52","id":122766710,"html_url":"https://github.com/PIC-IRIS/PH5/pull/52","diff_url":"https://github.com/PIC-IRIS/PH5/pull/52.diff","patch_url":"https://github.com/PIC-IRIS/PH5/pull/52.patch","issue_url":"https://api.github.com/repos/PIC-IRIS/PH5/issues/52","number":52,"state":"open","locked":false,"title":"Optimize APIs","user":{"login":"nick-iris","id":20054276,"avatar_url":"https://avatars0.githubusercontent.com/u/20054276?v=3","gravatar_id":"","url":"https://api.github.com/users/nick-iris","html_url":"https://github.com/nick-iris","followers_url":"https://api.github.com/users/nick-iris/followers","following_url":"https://api.github.com/users/nick-iris/following{/other_user}","gists_url":"https://api.github.com/users/nick-iris/gists{/gist_id}","starred_url":"https://api.github.com/users/nick-iris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nick-iris/subscriptions","organizations_url":"https://api.github.com/users/nick-iris/orgs","repos_url":"https://api.github.com/users/nick-iris/repos","events_url":"https://api.github.com/users/nick-iris/events{/privacy}","received_events_url":"https://api.github.com/users/nick-iris/received_events","type":"User","site_admin":false},"body":"The station service is way too slow on the production server, which is bogged down by other requests to the FDSN Web Services. We are going to need to optimize the APIs as much as possible.\r\n\r\nI've just added a check to ph5tostationxml.py so that it will only read the DAS tables when it needs to. Reading the das tables is slow. \r\n\r\n@derick-hess and @rsdeazevedo Could you please help me work on optimizing the APIs? There are some optimization tips on the PyTables website that may also be of some help (http://www.pytables.org/usersguide/optimization.html).","created_at":"2017-05-27T16:36:13Z","updated_at":"2017-05-27T16:36:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"nick-iris","id":20054276,"avatar_url":"https://avatars0.githubusercontent.com/u/20054276?v=3","gravatar_id":"","url":"https://api.github.com/users/nick-iris","html_url":"https://github.com/nick-iris","followers_url":"https://api.github.com/users/nick-iris/followers","following_url":"https://api.github.com/users/nick-iris/following{/other_user}","gists_url":"https://api.github.com/users/nick-iris/gists{/gist_id}","starred_url":"https://api.github.com/users/nick-iris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nick-iris/subscriptions","organizations_url":"https://api.github.com/users/nick-iris/orgs","repos_url":"https://api.github.com/users/nick-iris/repos","events_url":"https://api.github.com/users/nick-iris/events{/privacy}","received_events_url":"https://api.github.com/users/nick-iris/received_events","type":"User","site_admin":false},"assignees":[{"login":"nick-iris","id":20054276,"avatar_url":"https://avatars0.githubusercontent.com/u/20054276?v=3","gravatar_id":"","url":"https://api.github.com/users/nick-iris","html_url":"https://github.com/nick-iris","followers_url":"https://api.github.com/users/nick-iris/followers","following_url":"https://api.github.com/users/nick-iris/following{/other_user}","gists_url":"https://api.github.com/users/nick-iris/gists{/gist_id}","starred_url":"https://api.github.com/users/nick-iris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nick-iris/subscriptions","organizations_url":"https://api.github.com/users/nick-iris/orgs","repos_url":"https://api.github.com/users/nick-iris/repos","events_url":"https://api.github.com/users/nick-iris/events{/privacy}","received_events_url":"https://api.github.com/users/nick-iris/received_events","type":"User","site_admin":false},{"login":"rsdeazevedo","id":21322012,"avatar_url":"https://avatars1.githubusercontent.com/u/21322012?v=3","gravatar_id":"","url":"https://api.github.com/users/rsdeazevedo","html_url":"https://github.com/rsdeazevedo","followers_url":"https://api.github.com/users/rsdeazevedo/followers","following_url":"https://api.github.com/users/rsdeazevedo/following{/other_user}","gists_url":"https://api.github.com/users/rsdeazevedo/gists{/gist_id}","starred_url":"https://api.github.com/users/rsdeazevedo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsdeazevedo/subscriptions","organizations_url":"https://api.github.com/users/rsdeazevedo/orgs","repos_url":"https://api.github.com/users/rsdeazevedo/repos","events_url":"https://api.github.com/users/rsdeazevedo/events{/privacy}","received_events_url":"https://api.github.com/users/rsdeazevedo/received_events","type":"User","site_admin":false},{"login":"derick-hess","id":21322355,"avatar_url":"https://avatars2.githubusercontent.com/u/21322355?v=3","gravatar_id":"","url":"https://api.github.com/users/derick-hess","html_url":"https://github.com/derick-hess","followers_url":"https://api.github.com/users/derick-hess/followers","following_url":"https://api.github.com/users/derick-hess/following{/other_user}","gists_url":"https://api.github.com/users/derick-hess/gists{/gist_id}","starred_url":"https://api.github.com/users/derick-hess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derick-hess/subscriptions","organizations_url":"https://api.github.com/users/derick-hess/orgs","repos_url":"https://api.github.com/users/derick-hess/repos","events_url":"https://api.github.com/users/derick-hess/events{/privacy}","received_events_url":"https://api.github.com/users/derick-hess/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/PIC-IRIS/PH5/pulls/52/commits","review_comments_url":"https://api.github.com/repos/PIC-IRIS/PH5/pulls/52/comments","review_comment_url":"https://api.github.com/repos/PIC-IRIS/PH5/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PIC-IRIS/PH5/issues/52/comments","statuses_url":"https://api.github.com/repos/PIC-IRIS/PH5/statuses/1e12580f14fa2714a78e9f93c8aac256d8097d21","head":{"label":"PIC-IRIS:optimize_station","ref":"optimize_station","sha":"1e12580f14fa2714a78e9f93c8aac256d8097d21","user":{"login":"PIC-IRIS","id":21321252,"avatar_url":"https://avatars1.githubusercontent.com/u/21321252?v=3","gravatar_id":"","url":"https://api.github.com/users/PIC-IRIS","html_url":"https://github.com/PIC-IRIS","followers_url":"https://api.github.com/users/PIC-IRIS/followers","following_url":"https://api.github.com/users/PIC-IRIS/following{/other_user}","gists_url":"https://api.github.com/users/PIC-IRIS/gists{/gist_id}","starred_url":"https://api.github.com/users/PIC-IRIS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PIC-IRIS/subscriptions","organizations_url":"https://api.github.com/users/PIC-IRIS/orgs","repos_url":"https://api.github.com/users/PIC-IRIS/repos","events_url":"https://api.github.com/users/PIC-IRIS/events{/privacy}","received_events_url":"https://api.github.com/users/PIC-IRIS/received_events","type":"Organization","site_admin":false},"repo":{"id":66882151,"name":"PH5","full_name":"PIC-IRIS/PH5","owner":{"login":"PIC-IRIS","id":21321252,"avatar_url":"https://avatars1.githubusercontent.com/u/21321252?v=3","gravatar_id":"","url":"https://api.github.com/users/PIC-IRIS","html_url":"https://github.com/PIC-IRIS","followers_url":"https://api.github.com/users/PIC-IRIS/followers","following_url":"https://api.github.com/users/PIC-IRIS/following{/other_user}","gists_url":"https://api.github.com/users/PIC-IRIS/gists{/gist_id}","starred_url":"https://api.github.com/users/PIC-IRIS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PIC-IRIS/subscriptions","organizations_url":"https://api.github.com/users/PIC-IRIS/orgs","repos_url":"https://api.github.com/users/PIC-IRIS/repos","events_url":"https://api.github.com/users/PIC-IRIS/events{/privacy}","received_events_url":"https://api.github.com/users/PIC-IRIS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PIC-IRIS/PH5","description":"Library and web services for PH5 data","fork":false,"url":"https://api.github.com/repos/PIC-IRIS/PH5","forks_url":"https://api.github.com/repos/PIC-IRIS/PH5/forks","keys_url":"https://api.github.com/repos/PIC-IRIS/PH5/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PIC-IRIS/PH5/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PIC-IRIS/PH5/teams","hooks_url":"https://api.github.com/repos/PIC-IRIS/PH5/hooks","issue_events_url":"https://api.github.com/repos/PIC-IRIS/PH5/issues/events{/number}","events_url":"https://api.github.com/repos/PIC-IRIS/PH5/events","assignees_url":"https://api.github.com/repos/PIC-IRIS/PH5/assignees{/user}","branches_url":"https://api.github.com/repos/PIC-IRIS/PH5/branches{/branch}","tags_url":"https://api.github.com/repos/PIC-IRIS/PH5/tags","blobs_url":"https://api.github.com/repos/PIC-IRIS/PH5/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PIC-IRIS/PH5/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PIC-IRIS/PH5/git/refs{/sha}","trees_url":"https://api.github.com/repos/PIC-IRIS/PH5/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PIC-IRIS/PH5/statuses/{sha}","languages_url":"https://api.github.com/repos/PIC-IRIS/PH5/languages","stargazers_url":"https://api.github.com/repos/PIC-IRIS/PH5/stargazers","contributors_url":"https://api.github.com/repos/PIC-IRIS/PH5/contributors","subscribers_url":"https://api.github.com/repos/PIC-IRIS/PH5/subscribers","subscription_url":"https://api.github.com/repos/PIC-IRIS/PH5/subscription","commits_url":"https://api.github.com/repos/PIC-IRIS/PH5/commits{/sha}","git_commits_url":"https://api.github.com/repos/PIC-IRIS/PH5/git/commits{/sha}","comments_url":"https://api.github.com/repos/PIC-IRIS/PH5/comments{/number}","issue_comment_url":"https://api.github.com/repos/PIC-IRIS/PH5/issues/comments{/number}","contents_url":"https://api.github.com/repos/PIC-IRIS/PH5/contents/{+path}","compare_url":"https://api.github.com/repos/PIC-IRIS/PH5/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PIC-IRIS/PH5/merges","archive_url":"https://api.github.com/repos/PIC-IRIS/PH5/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PIC-IRIS/PH5/downloads","issues_url":"https://api.github.com/repos/PIC-IRIS/PH5/issues{/number}","pulls_url":"https://api.github.com/repos/PIC-IRIS/PH5/pulls{/number}","milestones_url":"https://api.github.com/repos/PIC-IRIS/PH5/milestones{/number}","notifications_url":"https://api.github.com/repos/PIC-IRIS/PH5/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PIC-IRIS/PH5/labels{/name}","releases_url":"https://api.github.com/repos/PIC-IRIS/PH5/releases{/id}","deployments_url":"https://api.github.com/repos/PIC-IRIS/PH5/deployments","created_at":"2016-08-29T21:29:43Z","updated_at":"2016-12-07T20:09:31Z","pushed_at":"2017-05-27T16:29:24Z","git_url":"git://github.com/PIC-IRIS/PH5.git","ssh_url":"git@github.com:PIC-IRIS/PH5.git","clone_url":"https://github.com/PIC-IRIS/PH5.git","svn_url":"https://github.com/PIC-IRIS/PH5","homepage":null,"size":5963,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"PIC-IRIS:master","ref":"master","sha":"fb813f8910ea3d37d2b9af50c5422ca8f28905b2","user":{"login":"PIC-IRIS","id":21321252,"avatar_url":"https://avatars1.githubusercontent.com/u/21321252?v=3","gravatar_id":"","url":"https://api.github.com/users/PIC-IRIS","html_url":"https://github.com/PIC-IRIS","followers_url":"https://api.github.com/users/PIC-IRIS/followers","following_url":"https://api.github.com/users/PIC-IRIS/following{/other_user}","gists_url":"https://api.github.com/users/PIC-IRIS/gists{/gist_id}","starred_url":"https://api.github.com/users/PIC-IRIS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PIC-IRIS/subscriptions","organizations_url":"https://api.github.com/users/PIC-IRIS/orgs","repos_url":"https://api.github.com/users/PIC-IRIS/repos","events_url":"https://api.github.com/users/PIC-IRIS/events{/privacy}","received_events_url":"https://api.github.com/users/PIC-IRIS/received_events","type":"Organization","site_admin":false},"repo":{"id":66882151,"name":"PH5","full_name":"PIC-IRIS/PH5","owner":{"login":"PIC-IRIS","id":21321252,"avatar_url":"https://avatars1.githubusercontent.com/u/21321252?v=3","gravatar_id":"","url":"https://api.github.com/users/PIC-IRIS","html_url":"https://github.com/PIC-IRIS","followers_url":"https://api.github.com/users/PIC-IRIS/followers","following_url":"https://api.github.com/users/PIC-IRIS/following{/other_user}","gists_url":"https://api.github.com/users/PIC-IRIS/gists{/gist_id}","starred_url":"https://api.github.com/users/PIC-IRIS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PIC-IRIS/subscriptions","organizations_url":"https://api.github.com/users/PIC-IRIS/orgs","repos_url":"https://api.github.com/users/PIC-IRIS/repos","events_url":"https://api.github.com/users/PIC-IRIS/events{/privacy}","received_events_url":"https://api.github.com/users/PIC-IRIS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PIC-IRIS/PH5","description":"Library and web services for PH5 data","fork":false,"url":"https://api.github.com/repos/PIC-IRIS/PH5","forks_url":"https://api.github.com/repos/PIC-IRIS/PH5/forks","keys_url":"https://api.github.com/repos/PIC-IRIS/PH5/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PIC-IRIS/PH5/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PIC-IRIS/PH5/teams","hooks_url":"https://api.github.com/repos/PIC-IRIS/PH5/hooks","issue_events_url":"https://api.github.com/repos/PIC-IRIS/PH5/issues/events{/number}","events_url":"https://api.github.com/repos/PIC-IRIS/PH5/events","assignees_url":"https://api.github.com/repos/PIC-IRIS/PH5/assignees{/user}","branches_url":"https://api.github.com/repos/PIC-IRIS/PH5/branches{/branch}","tags_url":"https://api.github.com/repos/PIC-IRIS/PH5/tags","blobs_url":"https://api.github.com/repos/PIC-IRIS/PH5/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PIC-IRIS/PH5/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PIC-IRIS/PH5/git/refs{/sha}","trees_url":"https://api.github.com/repos/PIC-IRIS/PH5/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PIC-IRIS/PH5/statuses/{sha}","languages_url":"https://api.github.com/repos/PIC-IRIS/PH5/languages","stargazers_url":"https://api.github.com/repos/PIC-IRIS/PH5/stargazers","contributors_url":"https://api.github.com/repos/PIC-IRIS/PH5/contributors","subscribers_url":"https://api.github.com/repos/PIC-IRIS/PH5/subscribers","subscription_url":"https://api.github.com/repos/PIC-IRIS/PH5/subscription","commits_url":"https://api.github.com/repos/PIC-IRIS/PH5/commits{/sha}","git_commits_url":"https://api.github.com/repos/PIC-IRIS/PH5/git/commits{/sha}","comments_url":"https://api.github.com/repos/PIC-IRIS/PH5/comments{/number}","issue_comment_url":"https://api.github.com/repos/PIC-IRIS/PH5/issues/comments{/number}","contents_url":"https://api.github.com/repos/PIC-IRIS/PH5/contents/{+path}","compare_url":"https://api.github.com/repos/PIC-IRIS/PH5/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PIC-IRIS/PH5/merges","archive_url":"https://api.github.com/repos/PIC-IRIS/PH5/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PIC-IRIS/PH5/downloads","issues_url":"https://api.github.com/repos/PIC-IRIS/PH5/issues{/number}","pulls_url":"https://api.github.com/repos/PIC-IRIS/PH5/pulls{/number}","milestones_url":"https://api.github.com/repos/PIC-IRIS/PH5/milestones{/number}","notifications_url":"https://api.github.com/repos/PIC-IRIS/PH5/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PIC-IRIS/PH5/labels{/name}","releases_url":"https://api.github.com/repos/PIC-IRIS/PH5/releases{/id}","deployments_url":"https://api.github.com/repos/PIC-IRIS/PH5/deployments","created_at":"2016-08-29T21:29:43Z","updated_at":"2016-12-07T20:09:31Z","pushed_at":"2017-05-27T16:29:24Z","git_url":"git://github.com/PIC-IRIS/PH5.git","ssh_url":"git@github.com:PIC-IRIS/PH5.git","clone_url":"https://github.com/PIC-IRIS/PH5.git","svn_url":"https://github.com/PIC-IRIS/PH5","homepage":null,"size":5963,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PIC-IRIS/PH5/pulls/52"},"html":{"href":"https://github.com/PIC-IRIS/PH5/pull/52"},"issue":{"href":"https://api.github.com/repos/PIC-IRIS/PH5/issues/52"},"comments":{"href":"https://api.github.com/repos/PIC-IRIS/PH5/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/PIC-IRIS/PH5/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/PIC-IRIS/PH5/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PIC-IRIS/PH5/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/PIC-IRIS/PH5/statuses/1e12580f14fa2714a78e9f93c8aac256d8097d21"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":11,"deletions":8,"changed_files":1}}
{"actor":{"display_login":"nick-iris"}}