{"action":"closed","number":1614,"pull_request":{"url":"https://api.github.com/repos/azavea/raster-foundry/pulls/1614","id":118443027,"html_url":"https://github.com/azavea/raster-foundry/pull/1614","diff_url":"https://github.com/azavea/raster-foundry/pull/1614.diff","patch_url":"https://github.com/azavea/raster-foundry/pull/1614.patch","issue_url":"https://api.github.com/repos/azavea/raster-foundry/issues/1614","number":1614,"state":"closed","locked":false,"title":"Fix reversal of `crs` and `extent_crs`","user":{"login":"notthatbreezy","id":898060,"avatar_url":"https://avatars3.githubusercontent.com/u/898060?v=3","gravatar_id":"","url":"https://api.github.com/users/notthatbreezy","html_url":"https://github.com/notthatbreezy","followers_url":"https://api.github.com/users/notthatbreezy/followers","following_url":"https://api.github.com/users/notthatbreezy/following{/other_user}","gists_url":"https://api.github.com/users/notthatbreezy/gists{/gist_id}","starred_url":"https://api.github.com/users/notthatbreezy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notthatbreezy/subscriptions","organizations_url":"https://api.github.com/users/notthatbreezy/orgs","repos_url":"https://api.github.com/users/notthatbreezy/repos","events_url":"https://api.github.com/users/notthatbreezy/events{/privacy}","received_events_url":"https://api.github.com/users/notthatbreezy/received_events","type":"User","site_admin":false},"body":"## Overview\r\n\r\nThis commit fixes the reversal of extent crs and crs in creating an\r\ningest definition.\r\n\r\nIn some ways, this mirrors\r\nhttps://github.com/azavea/raster-foundry/pull/1184 but on the \"client\"\r\nside that is generating the ingest definition.\r\n\r\nI'm inclined not to write a test case here as we transition away from\r\nusing the python library for this sort of thing (for this very reason)\r\nit does not seem very worthwhile.\r\n\r\n### Checklist\r\n\r\n- ~[ ] Styleguide updated, if necessary~\r\n- ~[ ] Swagger specification updated, if necessary~\r\n- ~[ ] Symlinks from new migrations present or corrected for any new migrations~\r\n\r\n## Testing Instructions\r\n\r\n * Start server and wait for API to start working\r\n * Log into an airflow worker and open an ipython shell\r\n```\r\n./scripts/console airflow-worker bash\r\nipython\r\n```\r\n * In an `ipython` shell request a landsat scene, create an ingest definition, inspect the generated CRS for the source and extent\r\n```\r\nIn [1]: from rf.models import Scene\r\n\r\nIn [2]: from rf.ingest import create_landsat8_ingest\r\n\r\nIn [3]: s = Scene.from_id('1888ccff-5d7b-4831-8320-d26d4ad23b43')\r\n\r\nIn [4]: ingest_def = create_landsat8_ingest(s)\r\n\r\nIn [6]: layer = ingest_def.layers[0]\r\n\r\nIn [8]: source = layer.sources[0]\r\n\r\nIn [9]: source.extent_crs\r\nOut[9]: 'epsg:4326'\r\n\r\nIn [10]: source.source_crs\r\nOut[10]: 'epsg:32615'\r\n```\r\n","created_at":"2017-05-01T21:16:44Z","updated_at":"2017-05-02T00:22:39Z","closed_at":"2017-05-02T00:22:39Z","merged_at":"2017-05-02T00:22:39Z","merge_commit_sha":"f973d15d1b1350e475f36ced474157ba8988cdb4","assignee":{"login":"alkamin","id":2442245,"avatar_url":"https://avatars1.githubusercontent.com/u/2442245?v=3","gravatar_id":"","url":"https://api.github.com/users/alkamin","html_url":"https://github.com/alkamin","followers_url":"https://api.github.com/users/alkamin/followers","following_url":"https://api.github.com/users/alkamin/following{/other_user}","gists_url":"https://api.github.com/users/alkamin/gists{/gist_id}","starred_url":"https://api.github.com/users/alkamin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alkamin/subscriptions","organizations_url":"https://api.github.com/users/alkamin/orgs","repos_url":"https://api.github.com/users/alkamin/repos","events_url":"https://api.github.com/users/alkamin/events{/privacy}","received_events_url":"https://api.github.com/users/alkamin/received_events","type":"User","site_admin":false},"assignees":[{"login":"alkamin","id":2442245,"avatar_url":"https://avatars1.githubusercontent.com/u/2442245?v=3","gravatar_id":"","url":"https://api.github.com/users/alkamin","html_url":"https://github.com/alkamin","followers_url":"https://api.github.com/users/alkamin/followers","following_url":"https://api.github.com/users/alkamin/following{/other_user}","gists_url":"https://api.github.com/users/alkamin/gists{/gist_id}","starred_url":"https://api.github.com/users/alkamin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alkamin/subscriptions","organizations_url":"https://api.github.com/users/alkamin/orgs","repos_url":"https://api.github.com/users/alkamin/repos","events_url":"https://api.github.com/users/alkamin/events{/privacy}","received_events_url":"https://api.github.com/users/alkamin/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/azavea/raster-foundry/pulls/1614/commits","review_comments_url":"https://api.github.com/repos/azavea/raster-foundry/pulls/1614/comments","review_comment_url":"https://api.github.com/repos/azavea/raster-foundry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/azavea/raster-foundry/issues/1614/comments","statuses_url":"https://api.github.com/repos/azavea/raster-foundry/statuses/7505f45ccd989d734e426c605a04bff7752ceae0","head":{"label":"azavea:feature/cmb/fix-crs-ingest-def-error","ref":"feature/cmb/fix-crs-ingest-def-error","sha":"7505f45ccd989d734e426c605a04bff7752ceae0","user":{"login":"azavea","id":595231,"avatar_url":"https://avatars0.githubusercontent.com/u/595231?v=3","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"repo":{"id":36464140,"name":"raster-foundry","full_name":"azavea/raster-foundry","owner":{"login":"azavea","id":595231,"avatar_url":"https://avatars0.githubusercontent.com/u/595231?v=3","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/azavea/raster-foundry","description":"The Raster Foundry web application.","fork":false,"url":"https://api.github.com/repos/azavea/raster-foundry","forks_url":"https://api.github.com/repos/azavea/raster-foundry/forks","keys_url":"https://api.github.com/repos/azavea/raster-foundry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azavea/raster-foundry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azavea/raster-foundry/teams","hooks_url":"https://api.github.com/repos/azavea/raster-foundry/hooks","issue_events_url":"https://api.github.com/repos/azavea/raster-foundry/issues/events{/number}","events_url":"https://api.github.com/repos/azavea/raster-foundry/events","assignees_url":"https://api.github.com/repos/azavea/raster-foundry/assignees{/user}","branches_url":"https://api.github.com/repos/azavea/raster-foundry/branches{/branch}","tags_url":"https://api.github.com/repos/azavea/raster-foundry/tags","blobs_url":"https://api.github.com/repos/azavea/raster-foundry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azavea/raster-foundry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azavea/raster-foundry/git/refs{/sha}","trees_url":"https://api.github.com/repos/azavea/raster-foundry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azavea/raster-foundry/statuses/{sha}","languages_url":"https://api.github.com/repos/azavea/raster-foundry/languages","stargazers_url":"https://api.github.com/repos/azavea/raster-foundry/stargazers","contributors_url":"https://api.github.com/repos/azavea/raster-foundry/contributors","subscribers_url":"https://api.github.com/repos/azavea/raster-foundry/subscribers","subscription_url":"https://api.github.com/repos/azavea/raster-foundry/subscription","commits_url":"https://api.github.com/repos/azavea/raster-foundry/commits{/sha}","git_commits_url":"https://api.github.com/repos/azavea/raster-foundry/git/commits{/sha}","comments_url":"https://api.github.com/repos/azavea/raster-foundry/comments{/number}","issue_comment_url":"https://api.github.com/repos/azavea/raster-foundry/issues/comments{/number}","contents_url":"https://api.github.com/repos/azavea/raster-foundry/contents/{+path}","compare_url":"https://api.github.com/repos/azavea/raster-foundry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azavea/raster-foundry/merges","archive_url":"https://api.github.com/repos/azavea/raster-foundry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azavea/raster-foundry/downloads","issues_url":"https://api.github.com/repos/azavea/raster-foundry/issues{/number}","pulls_url":"https://api.github.com/repos/azavea/raster-foundry/pulls{/number}","milestones_url":"https://api.github.com/repos/azavea/raster-foundry/milestones{/number}","notifications_url":"https://api.github.com/repos/azavea/raster-foundry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azavea/raster-foundry/labels{/name}","releases_url":"https://api.github.com/repos/azavea/raster-foundry/releases{/id}","deployments_url":"https://api.github.com/repos/azavea/raster-foundry/deployments","created_at":"2015-05-28T20:25:45Z","updated_at":"2017-04-25T07:50:42Z","pushed_at":"2017-05-02T00:22:39Z","git_url":"git://github.com/azavea/raster-foundry.git","ssh_url":"git@github.com:azavea/raster-foundry.git","clone_url":"https://github.com/azavea/raster-foundry.git","svn_url":"https://github.com/azavea/raster-foundry","homepage":"","size":30741,"stargazers_count":22,"watchers_count":22,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":198,"forks":18,"open_issues":198,"watchers":22,"default_branch":"develop"}},"base":{"label":"azavea:develop","ref":"develop","sha":"6e443c77a37af4bdc7557e059f93ba25626af9e1","user":{"login":"azavea","id":595231,"avatar_url":"https://avatars0.githubusercontent.com/u/595231?v=3","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"repo":{"id":36464140,"name":"raster-foundry","full_name":"azavea/raster-foundry","owner":{"login":"azavea","id":595231,"avatar_url":"https://avatars0.githubusercontent.com/u/595231?v=3","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/azavea/raster-foundry","description":"The Raster Foundry web application.","fork":false,"url":"https://api.github.com/repos/azavea/raster-foundry","forks_url":"https://api.github.com/repos/azavea/raster-foundry/forks","keys_url":"https://api.github.com/repos/azavea/raster-foundry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azavea/raster-foundry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azavea/raster-foundry/teams","hooks_url":"https://api.github.com/repos/azavea/raster-foundry/hooks","issue_events_url":"https://api.github.com/repos/azavea/raster-foundry/issues/events{/number}","events_url":"https://api.github.com/repos/azavea/raster-foundry/events","assignees_url":"https://api.github.com/repos/azavea/raster-foundry/assignees{/user}","branches_url":"https://api.github.com/repos/azavea/raster-foundry/branches{/branch}","tags_url":"https://api.github.com/repos/azavea/raster-foundry/tags","blobs_url":"https://api.github.com/repos/azavea/raster-foundry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azavea/raster-foundry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azavea/raster-foundry/git/refs{/sha}","trees_url":"https://api.github.com/repos/azavea/raster-foundry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azavea/raster-foundry/statuses/{sha}","languages_url":"https://api.github.com/repos/azavea/raster-foundry/languages","stargazers_url":"https://api.github.com/repos/azavea/raster-foundry/stargazers","contributors_url":"https://api.github.com/repos/azavea/raster-foundry/contributors","subscribers_url":"https://api.github.com/repos/azavea/raster-foundry/subscribers","subscription_url":"https://api.github.com/repos/azavea/raster-foundry/subscription","commits_url":"https://api.github.com/repos/azavea/raster-foundry/commits{/sha}","git_commits_url":"https://api.github.com/repos/azavea/raster-foundry/git/commits{/sha}","comments_url":"https://api.github.com/repos/azavea/raster-foundry/comments{/number}","issue_comment_url":"https://api.github.com/repos/azavea/raster-foundry/issues/comments{/number}","contents_url":"https://api.github.com/repos/azavea/raster-foundry/contents/{+path}","compare_url":"https://api.github.com/repos/azavea/raster-foundry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azavea/raster-foundry/merges","archive_url":"https://api.github.com/repos/azavea/raster-foundry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azavea/raster-foundry/downloads","issues_url":"https://api.github.com/repos/azavea/raster-foundry/issues{/number}","pulls_url":"https://api.github.com/repos/azavea/raster-foundry/pulls{/number}","milestones_url":"https://api.github.com/repos/azavea/raster-foundry/milestones{/number}","notifications_url":"https://api.github.com/repos/azavea/raster-foundry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azavea/raster-foundry/labels{/name}","releases_url":"https://api.github.com/repos/azavea/raster-foundry/releases{/id}","deployments_url":"https://api.github.com/repos/azavea/raster-foundry/deployments","created_at":"2015-05-28T20:25:45Z","updated_at":"2017-04-25T07:50:42Z","pushed_at":"2017-05-02T00:22:39Z","git_url":"git://github.com/azavea/raster-foundry.git","ssh_url":"git@github.com:azavea/raster-foundry.git","clone_url":"https://github.com/azavea/raster-foundry.git","svn_url":"https://github.com/azavea/raster-foundry","homepage":"","size":30741,"stargazers_count":22,"watchers_count":22,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":198,"forks":18,"open_issues":198,"watchers":22,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/azavea/raster-foundry/pulls/1614"},"html":{"href":"https://github.com/azavea/raster-foundry/pull/1614"},"issue":{"href":"https://api.github.com/repos/azavea/raster-foundry/issues/1614"},"comments":{"href":"https://api.github.com/repos/azavea/raster-foundry/issues/1614/comments"},"review_comments":{"href":"https://api.github.com/repos/azavea/raster-foundry/pulls/1614/comments"},"review_comment":{"href":"https://api.github.com/repos/azavea/raster-foundry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/azavea/raster-foundry/pulls/1614/commits"},"statuses":{"href":"https://api.github.com/repos/azavea/raster-foundry/statuses/7505f45ccd989d734e426c605a04bff7752ceae0"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"notthatbreezy","id":898060,"avatar_url":"https://avatars3.githubusercontent.com/u/898060?v=3","gravatar_id":"","url":"https://api.github.com/users/notthatbreezy","html_url":"https://github.com/notthatbreezy","followers_url":"https://api.github.com/users/notthatbreezy/followers","following_url":"https://api.github.com/users/notthatbreezy/following{/other_user}","gists_url":"https://api.github.com/users/notthatbreezy/gists{/gist_id}","starred_url":"https://api.github.com/users/notthatbreezy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notthatbreezy/subscriptions","organizations_url":"https://api.github.com/users/notthatbreezy/orgs","repos_url":"https://api.github.com/users/notthatbreezy/repos","events_url":"https://api.github.com/users/notthatbreezy/events{/privacy}","received_events_url":"https://api.github.com/users/notthatbreezy/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":2,"deletions":3,"changed_files":2}}
{"actor":{"display_login":"notthatbreezy"}}