{"action":"created","issue":{"url":"https://api.github.com/repos/phl-microsat-dpad/libra/issues/1","labels_url":"https://api.github.com/repos/phl-microsat-dpad/libra/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/phl-microsat-dpad/libra/issues/1/comments","events_url":"https://api.github.com/repos/phl-microsat-dpad/libra/issues/1/events","html_url":"https://github.com/phl-microsat-dpad/libra/issues/1","id":118793427,"number":1,"title":"Directory Structure for Files","user":{"login":"benjiao","id":5189714,"avatar_url":"https://avatars.githubusercontent.com/u/5189714?v=3","gravatar_id":"","url":"https://api.github.com/users/benjiao","html_url":"https://github.com/benjiao","followers_url":"https://api.github.com/users/benjiao/followers","following_url":"https://api.github.com/users/benjiao/following{/other_user}","gists_url":"https://api.github.com/users/benjiao/gists{/gist_id}","starred_url":"https://api.github.com/users/benjiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjiao/subscriptions","organizations_url":"https://api.github.com/users/benjiao/orgs","repos_url":"https://api.github.com/users/benjiao/repos","events_url":"https://api.github.com/users/benjiao/events{/privacy}","received_events_url":"https://api.github.com/users/benjiao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/phl-microsat-dpad/libra/milestones/1","html_url":"https://github.com/phl-microsat-dpad/libra/milestones/Base%20Libra%20Setup","labels_url":"https://api.github.com/repos/phl-microsat-dpad/libra/milestones/1/labels","id":1428870,"number":1,"title":"Base Libra Setup","description":"A basic deployment of the whole Libra stack on locally managed servers. This includes image files, thumbnails and metadata.","creator":{"login":"benjiao","id":5189714,"avatar_url":"https://avatars.githubusercontent.com/u/5189714?v=3","gravatar_id":"","url":"https://api.github.com/users/benjiao","html_url":"https://github.com/benjiao","followers_url":"https://api.github.com/users/benjiao/followers","following_url":"https://api.github.com/users/benjiao/following{/other_user}","gists_url":"https://api.github.com/users/benjiao/gists{/gist_id}","starred_url":"https://api.github.com/users/benjiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjiao/subscriptions","organizations_url":"https://api.github.com/users/benjiao/orgs","repos_url":"https://api.github.com/users/benjiao/repos","events_url":"https://api.github.com/users/benjiao/events{/privacy}","received_events_url":"https://api.github.com/users/benjiao/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":0,"state":"open","created_at":"2015-11-25T08:51:54Z","updated_at":"2015-11-25T09:47:09Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-11-25T09:23:41Z","updated_at":"2015-11-25T11:39:55Z","closed_at":null,"body":"Files include:\r\n- Bundles (compressed)\r\n- Individual TIFs\r\n- Thumbnails\r\n- Tiles\r\n\r\nHere's my proposed structure:\r\n\r\n```\r\n.\r\n+-- images\r\n|   +-- landsat\r\n|       +-- LC81180542015327LGN00\r\n|           +-- LC81180542015327LGN00_THUMB\r\n|           +-- LC81180542015327LGN00_B1\r\n|           +-- LC81180542015327LGN00_B2\r\n|           +-- LC81180542015327LGN00_B3\r\n|       +-- LC81180542015327LGN01\r\n|           +-- LC81180542015327LGN01_THUMB\r\n|           +-- LC81180542015327LGN01_B1\r\n|           +-- LC81180542015327LGN01_B2\r\n|   +-- diwata1\r\n|       +-- D1C81180542015327LGN00\r\n|           +-- D1C81180542015327LGN00_THUMB\r\n|           +-- D1C81180542015327LGN00_B1\r\n|           +-- D1C81180542015327LGN00_B2\r\n|       +-- D1C81180542015327LGN01\r\n|           +-- D1C81180542015327LGN01_THUMB\r\n|           +-- D1C81180542015327LGN01_B1\r\n|           +-- D1C81180542015327LGN01_B2\r\n|           +-- D1C81180542015327LGN01_B4\r\n```\r\nLandsat API and Libra will depend on the `_<band-id>` suffix to tell whether a specific band or data product is available for that scene. \r\n\r\nPro's\r\n- Support multiple data sources\r\n- Add new bands or even new data products without changing structure\r\n\r\nCon's\r\n- We'll have to strictly follow the naming convention `<scene-id>_<band/image-name>`. \r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/phl-microsat-dpad/libra/issues/comments/159580092","html_url":"https://github.com/phl-microsat-dpad/libra/issues/1#issuecomment-159580092","issue_url":"https://api.github.com/repos/phl-microsat-dpad/libra/issues/1","id":159580092,"user":{"login":"benjiao","id":5189714,"avatar_url":"https://avatars.githubusercontent.com/u/5189714?v=3","gravatar_id":"","url":"https://api.github.com/users/benjiao","html_url":"https://github.com/benjiao","followers_url":"https://api.github.com/users/benjiao/followers","following_url":"https://api.github.com/users/benjiao/following{/other_user}","gists_url":"https://api.github.com/users/benjiao/gists{/gist_id}","starred_url":"https://api.github.com/users/benjiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjiao/subscriptions","organizations_url":"https://api.github.com/users/benjiao/orgs","repos_url":"https://api.github.com/users/benjiao/repos","events_url":"https://api.github.com/users/benjiao/events{/privacy}","received_events_url":"https://api.github.com/users/benjiao/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T11:39:55Z","updated_at":"2015-11-25T11:39:55Z","body":"To add to my comment above, the link to be stored in our metadata storage will be `/landsat/LC81180542015327LGN00`. Links to the thumbnails and individual images can be easily derived by the landsat-api clone on the fly.\r\n\r\nThis way, we won't have to update our metadata storage everytime a dataproduct has been added/computed for a specific scene. "}}