{"action":"created","issue":{"url":"https://api.github.com/repos/azavea/raster-foundry/issues/529","repository_url":"https://api.github.com/repos/azavea/raster-foundry","labels_url":"https://api.github.com/repos/azavea/raster-foundry/issues/529/labels{/name}","comments_url":"https://api.github.com/repos/azavea/raster-foundry/issues/529/comments","events_url":"https://api.github.com/repos/azavea/raster-foundry/issues/529/events","html_url":"https://github.com/azavea/raster-foundry/pull/529","id":183092519,"number":529,"title":"[WIP] Feature/landsat add images on scene creation","user":{"login":"jisantuc","id":5702984,"avatar_url":"https://avatars.githubusercontent.com/u/5702984?v=3","gravatar_id":"","url":"https://api.github.com/users/jisantuc","html_url":"https://github.com/jisantuc","followers_url":"https://api.github.com/users/jisantuc/followers","following_url":"https://api.github.com/users/jisantuc/following{/other_user}","gists_url":"https://api.github.com/users/jisantuc/gists{/gist_id}","starred_url":"https://api.github.com/users/jisantuc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jisantuc/subscriptions","organizations_url":"https://api.github.com/users/jisantuc/orgs","repos_url":"https://api.github.com/users/jisantuc/repos","events_url":"https://api.github.com/users/jisantuc/events{/privacy}","received_events_url":"https://api.github.com/users/jisantuc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-14T16:21:34Z","updated_at":"2016-10-14T16:25:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/azavea/raster-foundry/pulls/529","html_url":"https://github.com/azavea/raster-foundry/pull/529","diff_url":"https://github.com/azavea/raster-foundry/pull/529.diff","patch_url":"https://github.com/azavea/raster-foundry/pull/529.patch"},"body":"## Overview\r\n\r\nThis PR adds a (currently unscheduled) DAG to import Landsat 8 scenes and their associated images, thumbnails, and footprints. We need it so that we can import Landsat 8 scenes\r\n\r\n### Demo\r\n\r\n...none yet\r\n\r\n### Notes\r\n\r\nIncludes #521 as well, since the ingest with images depends on the DAG being present.\r\n\r\n## Testing Instructions\r\n\r\n * `vagrant ssh`, `./scripts/server`\r\n * Navigate to the airflow ui at `localhost:8080`\r\n * Create a DAG run as follows:\r\n   * Click \"None\" under the `find_landsat8_scenes` schedule field to create a scheduled run\r\n   * Click \"Create\" \r\n   * Create some runs for some time in the past, like so:\r\n![image](https://cloud.githubusercontent.com/assets/5702984/19252806/e8c55912-8f14-11e6-9c81-b34136d72a8a.png)\r\n   * Click \"Save\"\r\n * Navigate bag to the DAGs home (`localhost:8080`) and click on the light green \"Running\" circle:\r\n![image](https://cloud.githubusercontent.com/assets/5702984/19252847/1b633b14-8f15-11e6-8eaa-78b038872382.png)\r\n * Scroll all the way to the right and click on the log\r\n![image](https://cloud.githubusercontent.com/assets/5702984/19252862/2bfd1490-8f15-11e6-90e7-00734193f6a2.png)\r\n * Observe! Your DAG is running and if you wait patiently you will see some uploading scenes in the log, and if you don't wait a sec and keep refreshing. You should also be able to see some scenes, images, thumbnails, and footprints for Landsat 8 at those endpoints in the API\r\n\r\nCloses #470 \r\n"},"comment":{"url":"https://api.github.com/repos/azavea/raster-foundry/issues/comments/253850758","html_url":"https://github.com/azavea/raster-foundry/pull/529#issuecomment-253850758","issue_url":"https://api.github.com/repos/azavea/raster-foundry/issues/529","id":253850758,"user":{"login":"jisantuc","id":5702984,"avatar_url":"https://avatars.githubusercontent.com/u/5702984?v=3","gravatar_id":"","url":"https://api.github.com/users/jisantuc","html_url":"https://github.com/jisantuc","followers_url":"https://api.github.com/users/jisantuc/followers","following_url":"https://api.github.com/users/jisantuc/following{/other_user}","gists_url":"https://api.github.com/users/jisantuc/gists{/gist_id}","starred_url":"https://api.github.com/users/jisantuc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jisantuc/subscriptions","organizations_url":"https://api.github.com/users/jisantuc/orgs","repos_url":"https://api.github.com/users/jisantuc/repos","events_url":"https://api.github.com/users/jisantuc/events{/privacy}","received_events_url":"https://api.github.com/users/jisantuc/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T16:25:04Z","updated_at":"2016-10-14T16:25:04Z","body":"Problem: since I added scene creation, I think models changed, so the `post` step no longer works.\r\n\r\nThe files to check out are `app-tasks/rf/src/rf/uploads/landsat8/create_scene.py` and other `create_x.py` to see if there are missing fields from the current models. If there are new fields in the backend, the `rf/src/rf/models/x.py` will need to change along with the `create_x.py` script.\r\n\r\nIf you need to rerun the DAG, you can follow the same steps as above for a different date, or delete the previous run from the UI and run the same date to see if `post`ing then works."}}
{"actor":{"display_login":"jisantuc"}}