{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/pulls/5","id":44895735,"html_url":"https://github.com/jeff-regier/KillerAsteroids.jl/pull/5","diff_url":"https://github.com/jeff-regier/KillerAsteroids.jl/pull/5.diff","patch_url":"https://github.com/jeff-regier/KillerAsteroids.jl/pull/5.patch","issue_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/issues/5","number":5,"state":"open","locked":false,"title":"generalize to enable use of WISE PSF cutout via command line argument","user":{"login":"ameisner","id":3253317,"avatar_url":"https://avatars.githubusercontent.com/u/3253317?v=3","gravatar_id":"","url":"https://api.github.com/users/ameisner","html_url":"https://github.com/ameisner","followers_url":"https://api.github.com/users/ameisner/followers","following_url":"https://api.github.com/users/ameisner/following{/other_user}","gists_url":"https://api.github.com/users/ameisner/gists{/gist_id}","starred_url":"https://api.github.com/users/ameisner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ameisner/subscriptions","organizations_url":"https://api.github.com/users/ameisner/orgs","repos_url":"https://api.github.com/users/ameisner/repos","events_url":"https://api.github.com/users/ameisner/events{/privacy}","received_events_url":"https://api.github.com/users/ameisner/received_events","type":"User","site_admin":false},"body":"Hi Jeff,\r\n\r\nI modified detect_2005UT453.jl to use an actual WISE PSF cutout. Here's what I'm seeing when I run the script:\r\n\r\nameisner@edison05:~/jl> julia ~/KillerAsteroids.jl/bin/detect_2005UT453.jl\r\n6201.052025426298 > -84478.5730159968\r\nameisner@edison05:~/jl> julia ~/KillerAsteroids.jl/bin/detect_2005UT453.jl \"wise\"\r\n6188.168068257046 > -5444.505722143705\r\n\r\nThe first launch command is still doing exactly what you initially put in place, and the second launch command swaps in a 5x5 WISE band 3 PSF cutout. Let me know what you think. I'm sure there must be a better way of handling the command line argument parsing.\r\n\r\nI don't understand the huge change from -84478.5730159968 to -5444.505722143705...maybe there's some issue where part of the code is still assuming the old fake PSF? Thanks.\r\n\r\n-Aaron","created_at":"2015-09-14T06:08:32Z","updated_at":"2015-09-14T06:08:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/pulls/5/commits","review_comments_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/pulls/5/comments","review_comment_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/issues/5/comments","statuses_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/statuses/6125c38864b8460a97b8af2d45aba818a8f43b58","head":{"label":"ameisner:use_wise_psf","ref":"use_wise_psf","sha":"6125c38864b8460a97b8af2d45aba818a8f43b58","user":{"login":"ameisner","id":3253317,"avatar_url":"https://avatars.githubusercontent.com/u/3253317?v=3","gravatar_id":"","url":"https://api.github.com/users/ameisner","html_url":"https://github.com/ameisner","followers_url":"https://api.github.com/users/ameisner/followers","following_url":"https://api.github.com/users/ameisner/following{/other_user}","gists_url":"https://api.github.com/users/ameisner/gists{/gist_id}","starred_url":"https://api.github.com/users/ameisner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ameisner/subscriptions","organizations_url":"https://api.github.com/users/ameisner/orgs","repos_url":"https://api.github.com/users/ameisner/repos","events_url":"https://api.github.com/users/ameisner/events{/privacy}","received_events_url":"https://api.github.com/users/ameisner/received_events","type":"User","site_admin":false},"repo":{"id":42229336,"name":"KillerAsteroids.jl","full_name":"ameisner/KillerAsteroids.jl","owner":{"login":"ameisner","id":3253317,"avatar_url":"https://avatars.githubusercontent.com/u/3253317?v=3","gravatar_id":"","url":"https://api.github.com/users/ameisner","html_url":"https://github.com/ameisner","followers_url":"https://api.github.com/users/ameisner/followers","following_url":"https://api.github.com/users/ameisner/following{/other_user}","gists_url":"https://api.github.com/users/ameisner/gists{/gist_id}","starred_url":"https://api.github.com/users/ameisner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ameisner/subscriptions","organizations_url":"https://api.github.com/users/ameisner/orgs","repos_url":"https://api.github.com/users/ameisner/repos","events_url":"https://api.github.com/users/ameisner/events{/privacy}","received_events_url":"https://api.github.com/users/ameisner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ameisner/KillerAsteroids.jl","description":"Detects asteroids that might kill us","fork":true,"url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl","forks_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/forks","keys_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/teams","hooks_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/hooks","issue_events_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/issues/events{/number}","events_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/events","assignees_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/assignees{/user}","branches_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/branches{/branch}","tags_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/tags","blobs_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/languages","stargazers_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/stargazers","contributors_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/contributors","subscribers_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/subscribers","subscription_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/subscription","commits_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/contents/{+path}","compare_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/merges","archive_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/downloads","issues_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/issues{/number}","pulls_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/labels{/name}","releases_url":"https://api.github.com/repos/ameisner/KillerAsteroids.jl/releases{/id}","created_at":"2015-09-10T07:27:36Z","updated_at":"2015-09-10T07:27:36Z","pushed_at":"2015-09-14T05:58:20Z","git_url":"git://github.com/ameisner/KillerAsteroids.jl.git","ssh_url":"git@github.com:ameisner/KillerAsteroids.jl.git","clone_url":"https://github.com/ameisner/KillerAsteroids.jl.git","svn_url":"https://github.com/ameisner/KillerAsteroids.jl","homepage":null,"size":99,"stargazers_count":0,"watchers_count":0,"language":"Julia","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jeff-regier:master","ref":"master","sha":"008e6a394743293cd67457ccc0e09489925f8e30","user":{"login":"jeff-regier","id":8953355,"avatar_url":"https://avatars.githubusercontent.com/u/8953355?v=3","gravatar_id":"","url":"https://api.github.com/users/jeff-regier","html_url":"https://github.com/jeff-regier","followers_url":"https://api.github.com/users/jeff-regier/followers","following_url":"https://api.github.com/users/jeff-regier/following{/other_user}","gists_url":"https://api.github.com/users/jeff-regier/gists{/gist_id}","starred_url":"https://api.github.com/users/jeff-regier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeff-regier/subscriptions","organizations_url":"https://api.github.com/users/jeff-regier/orgs","repos_url":"https://api.github.com/users/jeff-regier/repos","events_url":"https://api.github.com/users/jeff-regier/events{/privacy}","received_events_url":"https://api.github.com/users/jeff-regier/received_events","type":"User","site_admin":false},"repo":{"id":41893389,"name":"KillerAsteroids.jl","full_name":"jeff-regier/KillerAsteroids.jl","owner":{"login":"jeff-regier","id":8953355,"avatar_url":"https://avatars.githubusercontent.com/u/8953355?v=3","gravatar_id":"","url":"https://api.github.com/users/jeff-regier","html_url":"https://github.com/jeff-regier","followers_url":"https://api.github.com/users/jeff-regier/followers","following_url":"https://api.github.com/users/jeff-regier/following{/other_user}","gists_url":"https://api.github.com/users/jeff-regier/gists{/gist_id}","starred_url":"https://api.github.com/users/jeff-regier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeff-regier/subscriptions","organizations_url":"https://api.github.com/users/jeff-regier/orgs","repos_url":"https://api.github.com/users/jeff-regier/repos","events_url":"https://api.github.com/users/jeff-regier/events{/privacy}","received_events_url":"https://api.github.com/users/jeff-regier/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeff-regier/KillerAsteroids.jl","description":"Detects asteroids that might kill us","fork":false,"url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl","forks_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/forks","keys_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/teams","hooks_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/hooks","issue_events_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/issues/events{/number}","events_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/events","assignees_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/assignees{/user}","branches_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/branches{/branch}","tags_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/tags","blobs_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/languages","stargazers_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/stargazers","contributors_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/contributors","subscribers_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/subscribers","subscription_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/subscription","commits_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/contents/{+path}","compare_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/merges","archive_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/downloads","issues_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/issues{/number}","pulls_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/labels{/name}","releases_url":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/releases{/id}","created_at":"2015-09-04T02:07:03Z","updated_at":"2015-09-04T03:08:16Z","pushed_at":"2015-09-14T01:58:42Z","git_url":"git://github.com/jeff-regier/KillerAsteroids.jl.git","ssh_url":"git@github.com:jeff-regier/KillerAsteroids.jl.git","clone_url":"https://github.com/jeff-regier/KillerAsteroids.jl.git","svn_url":"https://github.com/jeff-regier/KillerAsteroids.jl","homepage":null,"size":151,"stargazers_count":0,"watchers_count":0,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/pulls/5"},"html":{"href":"https://github.com/jeff-regier/KillerAsteroids.jl/pull/5"},"issue":{"href":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/issues/5"},"comments":{"href":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/jeff-regier/KillerAsteroids.jl/statuses/6125c38864b8460a97b8af2d45aba818a8f43b58"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":17,"deletions":8,"changed_files":1}}