{"action":"closed","number":85,"pull_request":{"url":"https://api.github.com/repos/desihub/desisim/pulls/85","id":59755843,"html_url":"https://github.com/desihub/desisim/pull/85","diff_url":"https://github.com/desihub/desisim/pull/85.diff","patch_url":"https://github.com/desihub/desisim/pull/85.patch","issue_url":"https://api.github.com/repos/desihub/desisim/issues/85","number":85,"state":"closed","locked":false,"title":"quickcat2","user":{"login":"sbailey","id":218471,"avatar_url":"https://avatars.githubusercontent.com/u/218471?v=3","gravatar_id":"","url":"https://api.github.com/users/sbailey","html_url":"https://github.com/sbailey","followers_url":"https://api.github.com/users/sbailey/followers","following_url":"https://api.github.com/users/sbailey/following{/other_user}","gists_url":"https://api.github.com/users/sbailey/gists{/gist_id}","starred_url":"https://api.github.com/users/sbailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbailey/subscriptions","organizations_url":"https://api.github.com/users/sbailey/orgs","repos_url":"https://api.github.com/users/sbailey/repos","events_url":"https://api.github.com/users/sbailey/events{/privacy}","received_events_url":"https://api.github.com/users/sbailey/received_events","type":"User","site_admin":false},"body":"The original quickcat branch/PR had gotten old and messy to merge, so I started fresh with a new quickcat2 branch, borrowing pieces from the previous (which will be abandoned).\r\n\r\nThis PR adds:\r\n  * desisim.quickcat module to quickly generate a redshift catalog given fiberassign tiles and input truth\r\n  * a desisim/bin/quickcat wrapper script for use at the command line\r\n  * tests with 100% coverage\r\n\r\nThe redshift performance is based upon Redmonster applied to zdc1 data by @gdhungana as documented in [DESI-1657](https://desi.lbl.gov/DocDB/cgi-bin/private/ShowDocument?docid=1657) (his DESI data telecon presentation from last week).  I hope we'll be able to improve the zwarn efficiency numbers, but let's start realistically pessimistic for now.\r\n\r\nquickcat includes a perfect=True option to maintain input z -> output z.\r\n\r\n@gdhungana please review the redshift errors and zwarn fractions.\r\n\r\n@forero please check the module interface — is this usable for quicksurvey?","created_at":"2016-02-18T06:19:49Z","updated_at":"2016-02-29T05:28:02Z","closed_at":"2016-02-29T05:28:02Z","merged_at":"2016-02-29T05:28:02Z","merge_commit_sha":"ffd472d16a3b482842f0d66dd24d6ba97fbe4232","assignee":{"login":"forero","id":1848618,"avatar_url":"https://avatars.githubusercontent.com/u/1848618?v=3","gravatar_id":"","url":"https://api.github.com/users/forero","html_url":"https://github.com/forero","followers_url":"https://api.github.com/users/forero/followers","following_url":"https://api.github.com/users/forero/following{/other_user}","gists_url":"https://api.github.com/users/forero/gists{/gist_id}","starred_url":"https://api.github.com/users/forero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forero/subscriptions","organizations_url":"https://api.github.com/users/forero/orgs","repos_url":"https://api.github.com/users/forero/repos","events_url":"https://api.github.com/users/forero/events{/privacy}","received_events_url":"https://api.github.com/users/forero/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/desihub/desisim/pulls/85/commits","review_comments_url":"https://api.github.com/repos/desihub/desisim/pulls/85/comments","review_comment_url":"https://api.github.com/repos/desihub/desisim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/desihub/desisim/issues/85/comments","statuses_url":"https://api.github.com/repos/desihub/desisim/statuses/ed12761a0050874e2f94d03c3ef235f388f8d97e","head":{"label":"desihub:quickcat2","ref":"quickcat2","sha":"ed12761a0050874e2f94d03c3ef235f388f8d97e","user":{"login":"desihub","id":9540621,"avatar_url":"https://avatars.githubusercontent.com/u/9540621?v=3","gravatar_id":"","url":"https://api.github.com/users/desihub","html_url":"https://github.com/desihub","followers_url":"https://api.github.com/users/desihub/followers","following_url":"https://api.github.com/users/desihub/following{/other_user}","gists_url":"https://api.github.com/users/desihub/gists{/gist_id}","starred_url":"https://api.github.com/users/desihub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desihub/subscriptions","organizations_url":"https://api.github.com/users/desihub/orgs","repos_url":"https://api.github.com/users/desihub/repos","events_url":"https://api.github.com/users/desihub/events{/privacy}","received_events_url":"https://api.github.com/users/desihub/received_events","type":"Organization","site_admin":false},"repo":{"id":26142147,"name":"desisim","full_name":"desihub/desisim","owner":{"login":"desihub","id":9540621,"avatar_url":"https://avatars.githubusercontent.com/u/9540621?v=3","gravatar_id":"","url":"https://api.github.com/users/desihub","html_url":"https://github.com/desihub","followers_url":"https://api.github.com/users/desihub/followers","following_url":"https://api.github.com/users/desihub/following{/other_user}","gists_url":"https://api.github.com/users/desihub/gists{/gist_id}","starred_url":"https://api.github.com/users/desihub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desihub/subscriptions","organizations_url":"https://api.github.com/users/desihub/orgs","repos_url":"https://api.github.com/users/desihub/repos","events_url":"https://api.github.com/users/desihub/events{/privacy}","received_events_url":"https://api.github.com/users/desihub/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/desihub/desisim","description":"DESI simulations","fork":false,"url":"https://api.github.com/repos/desihub/desisim","forks_url":"https://api.github.com/repos/desihub/desisim/forks","keys_url":"https://api.github.com/repos/desihub/desisim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/desihub/desisim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/desihub/desisim/teams","hooks_url":"https://api.github.com/repos/desihub/desisim/hooks","issue_events_url":"https://api.github.com/repos/desihub/desisim/issues/events{/number}","events_url":"https://api.github.com/repos/desihub/desisim/events","assignees_url":"https://api.github.com/repos/desihub/desisim/assignees{/user}","branches_url":"https://api.github.com/repos/desihub/desisim/branches{/branch}","tags_url":"https://api.github.com/repos/desihub/desisim/tags","blobs_url":"https://api.github.com/repos/desihub/desisim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/desihub/desisim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/desihub/desisim/git/refs{/sha}","trees_url":"https://api.github.com/repos/desihub/desisim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/desihub/desisim/statuses/{sha}","languages_url":"https://api.github.com/repos/desihub/desisim/languages","stargazers_url":"https://api.github.com/repos/desihub/desisim/stargazers","contributors_url":"https://api.github.com/repos/desihub/desisim/contributors","subscribers_url":"https://api.github.com/repos/desihub/desisim/subscribers","subscription_url":"https://api.github.com/repos/desihub/desisim/subscription","commits_url":"https://api.github.com/repos/desihub/desisim/commits{/sha}","git_commits_url":"https://api.github.com/repos/desihub/desisim/git/commits{/sha}","comments_url":"https://api.github.com/repos/desihub/desisim/comments{/number}","issue_comment_url":"https://api.github.com/repos/desihub/desisim/issues/comments{/number}","contents_url":"https://api.github.com/repos/desihub/desisim/contents/{+path}","compare_url":"https://api.github.com/repos/desihub/desisim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/desihub/desisim/merges","archive_url":"https://api.github.com/repos/desihub/desisim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/desihub/desisim/downloads","issues_url":"https://api.github.com/repos/desihub/desisim/issues{/number}","pulls_url":"https://api.github.com/repos/desihub/desisim/pulls{/number}","milestones_url":"https://api.github.com/repos/desihub/desisim/milestones{/number}","notifications_url":"https://api.github.com/repos/desihub/desisim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/desihub/desisim/labels{/name}","releases_url":"https://api.github.com/repos/desihub/desisim/releases{/id}","deployments_url":"https://api.github.com/repos/desihub/desisim/deployments","created_at":"2014-11-03T22:36:45Z","updated_at":"2016-01-13T11:18:36Z","pushed_at":"2016-02-29T05:28:02Z","git_url":"git://github.com/desihub/desisim.git","ssh_url":"git@github.com:desihub/desisim.git","clone_url":"https://github.com/desihub/desisim.git","svn_url":"https://github.com/desihub/desisim","homepage":null,"size":4380,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":12,"forks":6,"open_issues":12,"watchers":1,"default_branch":"master"}},"base":{"label":"desihub:master","ref":"master","sha":"fd4035aea567de2c97b1bcd3567a2d5985592abf","user":{"login":"desihub","id":9540621,"avatar_url":"https://avatars.githubusercontent.com/u/9540621?v=3","gravatar_id":"","url":"https://api.github.com/users/desihub","html_url":"https://github.com/desihub","followers_url":"https://api.github.com/users/desihub/followers","following_url":"https://api.github.com/users/desihub/following{/other_user}","gists_url":"https://api.github.com/users/desihub/gists{/gist_id}","starred_url":"https://api.github.com/users/desihub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desihub/subscriptions","organizations_url":"https://api.github.com/users/desihub/orgs","repos_url":"https://api.github.com/users/desihub/repos","events_url":"https://api.github.com/users/desihub/events{/privacy}","received_events_url":"https://api.github.com/users/desihub/received_events","type":"Organization","site_admin":false},"repo":{"id":26142147,"name":"desisim","full_name":"desihub/desisim","owner":{"login":"desihub","id":9540621,"avatar_url":"https://avatars.githubusercontent.com/u/9540621?v=3","gravatar_id":"","url":"https://api.github.com/users/desihub","html_url":"https://github.com/desihub","followers_url":"https://api.github.com/users/desihub/followers","following_url":"https://api.github.com/users/desihub/following{/other_user}","gists_url":"https://api.github.com/users/desihub/gists{/gist_id}","starred_url":"https://api.github.com/users/desihub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desihub/subscriptions","organizations_url":"https://api.github.com/users/desihub/orgs","repos_url":"https://api.github.com/users/desihub/repos","events_url":"https://api.github.com/users/desihub/events{/privacy}","received_events_url":"https://api.github.com/users/desihub/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/desihub/desisim","description":"DESI simulations","fork":false,"url":"https://api.github.com/repos/desihub/desisim","forks_url":"https://api.github.com/repos/desihub/desisim/forks","keys_url":"https://api.github.com/repos/desihub/desisim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/desihub/desisim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/desihub/desisim/teams","hooks_url":"https://api.github.com/repos/desihub/desisim/hooks","issue_events_url":"https://api.github.com/repos/desihub/desisim/issues/events{/number}","events_url":"https://api.github.com/repos/desihub/desisim/events","assignees_url":"https://api.github.com/repos/desihub/desisim/assignees{/user}","branches_url":"https://api.github.com/repos/desihub/desisim/branches{/branch}","tags_url":"https://api.github.com/repos/desihub/desisim/tags","blobs_url":"https://api.github.com/repos/desihub/desisim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/desihub/desisim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/desihub/desisim/git/refs{/sha}","trees_url":"https://api.github.com/repos/desihub/desisim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/desihub/desisim/statuses/{sha}","languages_url":"https://api.github.com/repos/desihub/desisim/languages","stargazers_url":"https://api.github.com/repos/desihub/desisim/stargazers","contributors_url":"https://api.github.com/repos/desihub/desisim/contributors","subscribers_url":"https://api.github.com/repos/desihub/desisim/subscribers","subscription_url":"https://api.github.com/repos/desihub/desisim/subscription","commits_url":"https://api.github.com/repos/desihub/desisim/commits{/sha}","git_commits_url":"https://api.github.com/repos/desihub/desisim/git/commits{/sha}","comments_url":"https://api.github.com/repos/desihub/desisim/comments{/number}","issue_comment_url":"https://api.github.com/repos/desihub/desisim/issues/comments{/number}","contents_url":"https://api.github.com/repos/desihub/desisim/contents/{+path}","compare_url":"https://api.github.com/repos/desihub/desisim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/desihub/desisim/merges","archive_url":"https://api.github.com/repos/desihub/desisim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/desihub/desisim/downloads","issues_url":"https://api.github.com/repos/desihub/desisim/issues{/number}","pulls_url":"https://api.github.com/repos/desihub/desisim/pulls{/number}","milestones_url":"https://api.github.com/repos/desihub/desisim/milestones{/number}","notifications_url":"https://api.github.com/repos/desihub/desisim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/desihub/desisim/labels{/name}","releases_url":"https://api.github.com/repos/desihub/desisim/releases{/id}","deployments_url":"https://api.github.com/repos/desihub/desisim/deployments","created_at":"2014-11-03T22:36:45Z","updated_at":"2016-01-13T11:18:36Z","pushed_at":"2016-02-29T05:28:02Z","git_url":"git://github.com/desihub/desisim.git","ssh_url":"git@github.com:desihub/desisim.git","clone_url":"https://github.com/desihub/desisim.git","svn_url":"https://github.com/desihub/desisim","homepage":null,"size":4380,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":12,"forks":6,"open_issues":12,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/desihub/desisim/pulls/85"},"html":{"href":"https://github.com/desihub/desisim/pull/85"},"issue":{"href":"https://api.github.com/repos/desihub/desisim/issues/85"},"comments":{"href":"https://api.github.com/repos/desihub/desisim/issues/85/comments"},"review_comments":{"href":"https://api.github.com/repos/desihub/desisim/pulls/85/comments"},"review_comment":{"href":"https://api.github.com/repos/desihub/desisim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/desihub/desisim/pulls/85/commits"},"statuses":{"href":"https://api.github.com/repos/desihub/desisim/statuses/ed12761a0050874e2f94d03c3ef235f388f8d97e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"sbailey","id":218471,"avatar_url":"https://avatars.githubusercontent.com/u/218471?v=3","gravatar_id":"","url":"https://api.github.com/users/sbailey","html_url":"https://github.com/sbailey","followers_url":"https://api.github.com/users/sbailey/followers","following_url":"https://api.github.com/users/sbailey/following{/other_user}","gists_url":"https://api.github.com/users/sbailey/gists{/gist_id}","starred_url":"https://api.github.com/users/sbailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbailey/subscriptions","organizations_url":"https://api.github.com/users/sbailey/orgs","repos_url":"https://api.github.com/users/sbailey/repos","events_url":"https://api.github.com/users/sbailey/events{/privacy}","received_events_url":"https://api.github.com/users/sbailey/received_events","type":"User","site_admin":false},"comments":10,"review_comments":0,"commits":17,"additions":279,"deletions":3,"changed_files":5}}