{"action":"created","issue":{"url":"https://api.github.com/repos/olivierhagolle/LANDSAT-Download/issues/6","labels_url":"https://api.github.com/repos/olivierhagolle/LANDSAT-Download/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/olivierhagolle/LANDSAT-Download/issues/6/comments","events_url":"https://api.github.com/repos/olivierhagolle/LANDSAT-Download/issues/6/events","html_url":"https://github.com/olivierhagolle/LANDSAT-Download/pull/6","id":52260746,"number":6,"title":"Addition of unzip (for windows), bird and cloud options. LT5 and LT7 download capability","user":{"login":"vascobnunes","id":586591,"avatar_url":"https://avatars.githubusercontent.com/u/586591?v=3","gravatar_id":"","url":"https://api.github.com/users/vascobnunes","html_url":"https://github.com/vascobnunes","followers_url":"https://api.github.com/users/vascobnunes/followers","following_url":"https://api.github.com/users/vascobnunes/following{/other_user}","gists_url":"https://api.github.com/users/vascobnunes/gists{/gist_id}","starred_url":"https://api.github.com/users/vascobnunes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vascobnunes/subscriptions","organizations_url":"https://api.github.com/users/vascobnunes/orgs","repos_url":"https://api.github.com/users/vascobnunes/repos","events_url":"https://api.github.com/users/vascobnunes/events{/privacy}","received_events_url":"https://api.github.com/users/vascobnunes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-17T16:31:37Z","updated_at":"2015-01-04T14:00:31Z","closed_at":"2015-01-04T13:59:56Z","pull_request":{"url":"https://api.github.com/repos/olivierhagolle/LANDSAT-Download/pulls/6","html_url":"https://github.com/olivierhagolle/LANDSAT-Download/pull/6","diff_url":"https://github.com/olivierhagolle/LANDSAT-Download/pull/6.diff","patch_url":"https://github.com/olivierhagolle/LANDSAT-Download/pull/6.patch"},"body":"I added the following options:\r\n\r\n - z - to unzip downloaded tgz files. Uses the tartool (https://tartool.codeplex.com/)\r\n - b - which lets you select the product you're looking for (LT5, LE7 or LC8)\r\n - c - which lets you define a cloud cover limit for the downloaded images. If an image is found with clouds below the limit the script stops looking for more images within the time interval. If not, it doesn't keep the image and tries to find another.\r\n\r\nLandsat 5 and Landsat 7 download wasn't working (at least for me). I fixed that.\r\n\r\nThe connection to earthexplorer was established within the while loop, so it was repeating it for each iteration. I moved that block to before the while loop, making the process much faster."},"comment":{"url":"https://api.github.com/repos/olivierhagolle/LANDSAT-Download/issues/comments/68633786","html_url":"https://github.com/olivierhagolle/LANDSAT-Download/pull/6#issuecomment-68633786","issue_url":"https://api.github.com/repos/olivierhagolle/LANDSAT-Download/issues/6","id":68633786,"user":{"login":"olivierhagolle","id":4905255,"avatar_url":"https://avatars.githubusercontent.com/u/4905255?v=3","gravatar_id":"","url":"https://api.github.com/users/olivierhagolle","html_url":"https://github.com/olivierhagolle","followers_url":"https://api.github.com/users/olivierhagolle/followers","following_url":"https://api.github.com/users/olivierhagolle/following{/other_user}","gists_url":"https://api.github.com/users/olivierhagolle/gists{/gist_id}","starred_url":"https://api.github.com/users/olivierhagolle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivierhagolle/subscriptions","organizations_url":"https://api.github.com/users/olivierhagolle/orgs","repos_url":"https://api.github.com/users/olivierhagolle/repos","events_url":"https://api.github.com/users/olivierhagolle/events{/privacy}","received_events_url":"https://api.github.com/users/olivierhagolle/received_events","type":"User","site_admin":false},"created_at":"2015-01-04T14:00:31Z","updated_at":"2015-01-04T14:00:31Z","body":"Very nice improvements, I just merged the codes. Thanks a lot !"}}