{"action":"created","comment":{"url":"https://api.github.com/repos/lsst/meas_astrom/pulls/comments/74140096","id":74140096,"diff_hunk":"@@ -4,7 +4,25 @@\n from lsst.afw.geom import Box2D\n from lsst.afw.image.utils import getDistortedWcs\n \n-__all__ = [\"createMatchMetadata\"]\n+__all__ = [\"MatchMetadata\", \"createMatchMetadata\"]\n+\n+\n+class MatchMetadata(PropertyList):\n+    \"\"\"Metadata required for unpersisting a match list\"\"\"\n+    def __init__(self, ctrCoord, radius, filterName):\n+        \"\"\"!Ctor\n+\n+        @param[in] ctrCoord: Coordinates of center (lsst.afw.coord.IcrsCoord)\n+        @param[in] radius: Minimum radius for selecting sources (lsst.afw.geom.Angle)\n+        @param[in] filterName: Name of filter (str) or None\n+        \"\"\"\n+        PropertyList.__init__(self)\n+        ctrCoord = ctrCoord.toIcrs()\n+        self.add('RA', ctrCoord.getRa().asDegrees(), 'field center in degrees')\n+        self.add('DEC', ctrCoord.getDec().asDegrees(), 'field center in degrees')\n+        self.add('RADIUS', radius.asDegrees(), 'field radius in degrees, minimum')\n+        self.add('SMATCHV', 1, 'SourceMatchVector version number')\n+        self.add('FILTER', filterName or \"UNKNOWN\", 'filter name for photometric data')","path":"python/lsst/meas/astrom/createMatchMetadata.py","position":23,"original_position":23,"commit_id":"bc210ed0d8bc2966e28d15dbcf5641f1df83bb46","original_commit_id":"bc210ed0d8bc2966e28d15dbcf5641f1df83bb46","user":{"login":"r-owen","id":874176,"avatar_url":"https://avatars.githubusercontent.com/u/874176?v=3","gravatar_id":"","url":"https://api.github.com/users/r-owen","html_url":"https://github.com/r-owen","followers_url":"https://api.github.com/users/r-owen/followers","following_url":"https://api.github.com/users/r-owen/following{/other_user}","gists_url":"https://api.github.com/users/r-owen/gists{/gist_id}","starred_url":"https://api.github.com/users/r-owen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r-owen/subscriptions","organizations_url":"https://api.github.com/users/r-owen/orgs","repos_url":"https://api.github.com/users/r-owen/repos","events_url":"https://api.github.com/users/r-owen/events{/privacy}","received_events_url":"https://api.github.com/users/r-owen/received_events","type":"User","site_admin":false},"body":"Looking at the old code...are we likely to get a name of \"_unknown_\" if the filter is unknown, and if so, should it be changed to \"UNKNOWN\"?","created_at":"2016-08-09T20:42:20Z","updated_at":"2016-08-09T20:42:20Z","html_url":"https://github.com/lsst/meas_astrom/pull/39#discussion_r74140096","pull_request_url":"https://api.github.com/repos/lsst/meas_astrom/pulls/39","_links":{"self":{"href":"https://api.github.com/repos/lsst/meas_astrom/pulls/comments/74140096"},"html":{"href":"https://github.com/lsst/meas_astrom/pull/39#discussion_r74140096"},"pull_request":{"href":"https://api.github.com/repos/lsst/meas_astrom/pulls/39"}}},"pull_request":{"url":"https://api.github.com/repos/lsst/meas_astrom/pulls/39","id":80688409,"html_url":"https://github.com/lsst/meas_astrom/pull/39","diff_url":"https://github.com/lsst/meas_astrom/pull/39.diff","patch_url":"https://github.com/lsst/meas_astrom/pull/39.patch","issue_url":"https://api.github.com/repos/lsst/meas_astrom/issues/39","number":39,"state":"open","locked":false,"title":"Tickets/dm 7117","user":{"login":"r-owen","id":874176,"avatar_url":"https://avatars.githubusercontent.com/u/874176?v=3","gravatar_id":"","url":"https://api.github.com/users/r-owen","html_url":"https://github.com/r-owen","followers_url":"https://api.github.com/users/r-owen/followers","following_url":"https://api.github.com/users/r-owen/following{/other_user}","gists_url":"https://api.github.com/users/r-owen/gists{/gist_id}","starred_url":"https://api.github.com/users/r-owen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r-owen/subscriptions","organizations_url":"https://api.github.com/users/r-owen/orgs","repos_url":"https://api.github.com/users/r-owen/repos","events_url":"https://api.github.com/users/r-owen/events{/privacy}","received_events_url":"https://api.github.com/users/r-owen/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-09T20:26:20Z","updated_at":"2016-08-09T20:42:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4109aa582f8bf30a6e99fdb9be3dda0aa0b93747","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/lsst/meas_astrom/pulls/39/commits","review_comments_url":"https://api.github.com/repos/lsst/meas_astrom/pulls/39/comments","review_comment_url":"https://api.github.com/repos/lsst/meas_astrom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lsst/meas_astrom/issues/39/comments","statuses_url":"https://api.github.com/repos/lsst/meas_astrom/statuses/bc210ed0d8bc2966e28d15dbcf5641f1df83bb46","head":{"label":"lsst:tickets/DM-7117","ref":"tickets/DM-7117","sha":"bc210ed0d8bc2966e28d15dbcf5641f1df83bb46","user":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"repo":{"id":23013353,"name":"meas_astrom","full_name":"lsst/meas_astrom","owner":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lsst/meas_astrom","description":"LSST Data Management: astrometric measurement algorithms","fork":false,"url":"https://api.github.com/repos/lsst/meas_astrom","forks_url":"https://api.github.com/repos/lsst/meas_astrom/forks","keys_url":"https://api.github.com/repos/lsst/meas_astrom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lsst/meas_astrom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lsst/meas_astrom/teams","hooks_url":"https://api.github.com/repos/lsst/meas_astrom/hooks","issue_events_url":"https://api.github.com/repos/lsst/meas_astrom/issues/events{/number}","events_url":"https://api.github.com/repos/lsst/meas_astrom/events","assignees_url":"https://api.github.com/repos/lsst/meas_astrom/assignees{/user}","branches_url":"https://api.github.com/repos/lsst/meas_astrom/branches{/branch}","tags_url":"https://api.github.com/repos/lsst/meas_astrom/tags","blobs_url":"https://api.github.com/repos/lsst/meas_astrom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lsst/meas_astrom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lsst/meas_astrom/git/refs{/sha}","trees_url":"https://api.github.com/repos/lsst/meas_astrom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lsst/meas_astrom/statuses/{sha}","languages_url":"https://api.github.com/repos/lsst/meas_astrom/languages","stargazers_url":"https://api.github.com/repos/lsst/meas_astrom/stargazers","contributors_url":"https://api.github.com/repos/lsst/meas_astrom/contributors","subscribers_url":"https://api.github.com/repos/lsst/meas_astrom/subscribers","subscription_url":"https://api.github.com/repos/lsst/meas_astrom/subscription","commits_url":"https://api.github.com/repos/lsst/meas_astrom/commits{/sha}","git_commits_url":"https://api.github.com/repos/lsst/meas_astrom/git/commits{/sha}","comments_url":"https://api.github.com/repos/lsst/meas_astrom/comments{/number}","issue_comment_url":"https://api.github.com/repos/lsst/meas_astrom/issues/comments{/number}","contents_url":"https://api.github.com/repos/lsst/meas_astrom/contents/{+path}","compare_url":"https://api.github.com/repos/lsst/meas_astrom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lsst/meas_astrom/merges","archive_url":"https://api.github.com/repos/lsst/meas_astrom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lsst/meas_astrom/downloads","issues_url":"https://api.github.com/repos/lsst/meas_astrom/issues{/number}","pulls_url":"https://api.github.com/repos/lsst/meas_astrom/pulls{/number}","milestones_url":"https://api.github.com/repos/lsst/meas_astrom/milestones{/number}","notifications_url":"https://api.github.com/repos/lsst/meas_astrom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lsst/meas_astrom/labels{/name}","releases_url":"https://api.github.com/repos/lsst/meas_astrom/releases{/id}","deployments_url":"https://api.github.com/repos/lsst/meas_astrom/deployments","created_at":"2014-08-16T07:45:25Z","updated_at":"2016-01-11T18:52:59Z","pushed_at":"2016-08-09T20:26:20Z","git_url":"git://github.com/lsst/meas_astrom.git","ssh_url":"git@github.com:lsst/meas_astrom.git","clone_url":"https://github.com/lsst/meas_astrom.git","svn_url":"https://github.com/lsst/meas_astrom","homepage":"http://dm.lsst.org/","size":25965,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"lsst:master","ref":"master","sha":"923a7e70df3266f3a5e4641687cdb3f3f27112d9","user":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"repo":{"id":23013353,"name":"meas_astrom","full_name":"lsst/meas_astrom","owner":{"login":"lsst","id":1134504,"avatar_url":"https://avatars.githubusercontent.com/u/1134504?v=3","gravatar_id":"","url":"https://api.github.com/users/lsst","html_url":"https://github.com/lsst","followers_url":"https://api.github.com/users/lsst/followers","following_url":"https://api.github.com/users/lsst/following{/other_user}","gists_url":"https://api.github.com/users/lsst/gists{/gist_id}","starred_url":"https://api.github.com/users/lsst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsst/subscriptions","organizations_url":"https://api.github.com/users/lsst/orgs","repos_url":"https://api.github.com/users/lsst/repos","events_url":"https://api.github.com/users/lsst/events{/privacy}","received_events_url":"https://api.github.com/users/lsst/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lsst/meas_astrom","description":"LSST Data Management: astrometric measurement algorithms","fork":false,"url":"https://api.github.com/repos/lsst/meas_astrom","forks_url":"https://api.github.com/repos/lsst/meas_astrom/forks","keys_url":"https://api.github.com/repos/lsst/meas_astrom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lsst/meas_astrom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lsst/meas_astrom/teams","hooks_url":"https://api.github.com/repos/lsst/meas_astrom/hooks","issue_events_url":"https://api.github.com/repos/lsst/meas_astrom/issues/events{/number}","events_url":"https://api.github.com/repos/lsst/meas_astrom/events","assignees_url":"https://api.github.com/repos/lsst/meas_astrom/assignees{/user}","branches_url":"https://api.github.com/repos/lsst/meas_astrom/branches{/branch}","tags_url":"https://api.github.com/repos/lsst/meas_astrom/tags","blobs_url":"https://api.github.com/repos/lsst/meas_astrom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lsst/meas_astrom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lsst/meas_astrom/git/refs{/sha}","trees_url":"https://api.github.com/repos/lsst/meas_astrom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lsst/meas_astrom/statuses/{sha}","languages_url":"https://api.github.com/repos/lsst/meas_astrom/languages","stargazers_url":"https://api.github.com/repos/lsst/meas_astrom/stargazers","contributors_url":"https://api.github.com/repos/lsst/meas_astrom/contributors","subscribers_url":"https://api.github.com/repos/lsst/meas_astrom/subscribers","subscription_url":"https://api.github.com/repos/lsst/meas_astrom/subscription","commits_url":"https://api.github.com/repos/lsst/meas_astrom/commits{/sha}","git_commits_url":"https://api.github.com/repos/lsst/meas_astrom/git/commits{/sha}","comments_url":"https://api.github.com/repos/lsst/meas_astrom/comments{/number}","issue_comment_url":"https://api.github.com/repos/lsst/meas_astrom/issues/comments{/number}","contents_url":"https://api.github.com/repos/lsst/meas_astrom/contents/{+path}","compare_url":"https://api.github.com/repos/lsst/meas_astrom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lsst/meas_astrom/merges","archive_url":"https://api.github.com/repos/lsst/meas_astrom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lsst/meas_astrom/downloads","issues_url":"https://api.github.com/repos/lsst/meas_astrom/issues{/number}","pulls_url":"https://api.github.com/repos/lsst/meas_astrom/pulls{/number}","milestones_url":"https://api.github.com/repos/lsst/meas_astrom/milestones{/number}","notifications_url":"https://api.github.com/repos/lsst/meas_astrom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lsst/meas_astrom/labels{/name}","releases_url":"https://api.github.com/repos/lsst/meas_astrom/releases{/id}","deployments_url":"https://api.github.com/repos/lsst/meas_astrom/deployments","created_at":"2014-08-16T07:45:25Z","updated_at":"2016-01-11T18:52:59Z","pushed_at":"2016-08-09T20:26:20Z","git_url":"git://github.com/lsst/meas_astrom.git","ssh_url":"git@github.com:lsst/meas_astrom.git","clone_url":"https://github.com/lsst/meas_astrom.git","svn_url":"https://github.com/lsst/meas_astrom","homepage":"http://dm.lsst.org/","size":25965,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lsst/meas_astrom/pulls/39"},"html":{"href":"https://github.com/lsst/meas_astrom/pull/39"},"issue":{"href":"https://api.github.com/repos/lsst/meas_astrom/issues/39"},"comments":{"href":"https://api.github.com/repos/lsst/meas_astrom/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/lsst/meas_astrom/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/lsst/meas_astrom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lsst/meas_astrom/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/lsst/meas_astrom/statuses/bc210ed0d8bc2966e28d15dbcf5641f1df83bb46"}}}}
{"actor":{"display_login":"r-owen"}}