{"action":"created","issue":{"url":"https://api.github.com/repos/lucadelu/pyModis/issues/28","labels_url":"https://api.github.com/repos/lucadelu/pyModis/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/lucadelu/pyModis/issues/28/comments","events_url":"https://api.github.com/repos/lucadelu/pyModis/issues/28/events","html_url":"https://github.com/lucadelu/pyModis/issues/28","id":56265821,"number":28,"title":"downmodis log and list file empty","user":{"login":"emmikb","id":10656153,"avatar_url":"https://avatars.githubusercontent.com/u/10656153?v=3","gravatar_id":"","url":"https://api.github.com/users/emmikb","html_url":"https://github.com/emmikb","followers_url":"https://api.github.com/users/emmikb/followers","following_url":"https://api.github.com/users/emmikb/following{/other_user}","gists_url":"https://api.github.com/users/emmikb/gists{/gist_id}","starred_url":"https://api.github.com/users/emmikb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmikb/subscriptions","organizations_url":"https://api.github.com/users/emmikb/orgs","repos_url":"https://api.github.com/users/emmikb/repos","events_url":"https://api.github.com/users/emmikb/events{/privacy}","received_events_url":"https://api.github.com/users/emmikb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lucadelu/pyModis/labels/question","name":"question","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-02-02T17:25:19Z","updated_at":"2015-02-05T16:41:23Z","closed_at":null,"body":"Hello,\r\n\r\nI am having a hard time pulling data of the LP DAAC server with the downmodis command (run in Anaconda).  I've also tried to run the modis_download.py module from my command prompt and iPython but continually receive syntax errors (despite, in several cases, copying the examples from the pymodis website, with a path relevant to my computer)\r\n\r\n`down = pymodis.downmodis.downModis(destinationFolder = 'C:\\modis', password = 'password', user='username', url=\"http://e4ftl01.cr.usgs.gov\", tiles = \"h26v08\", path = \"MOLT\", product = \"MOD13Q1.005\", today = \"2014-01-01\", enddate = \"2014-02-02\", jpg = False, debug = True, timeout = 30)`\r\n\r\nI've replaced my actual password/username with 'password' and 'username'.  When I run this, the list and log files are created but they are empty.  I've played with the dates, but this has not helped.\r\n\r\nPlease advise and thanks.  \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/lucadelu/pyModis/issues/comments/73079288","html_url":"https://github.com/lucadelu/pyModis/issues/28#issuecomment-73079288","issue_url":"https://api.github.com/repos/lucadelu/pyModis/issues/28","id":73079288,"user":{"login":"emmikb","id":10656153,"avatar_url":"https://avatars.githubusercontent.com/u/10656153?v=3","gravatar_id":"","url":"https://api.github.com/users/emmikb","html_url":"https://github.com/emmikb","followers_url":"https://api.github.com/users/emmikb/followers","following_url":"https://api.github.com/users/emmikb/following{/other_user}","gists_url":"https://api.github.com/users/emmikb/gists{/gist_id}","starred_url":"https://api.github.com/users/emmikb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmikb/subscriptions","organizations_url":"https://api.github.com/users/emmikb/orgs","repos_url":"https://api.github.com/users/emmikb/repos","events_url":"https://api.github.com/users/emmikb/events{/privacy}","received_events_url":"https://api.github.com/users/emmikb/received_events","type":"User","site_admin":false},"created_at":"2015-02-05T16:41:23Z","updated_at":"2015-02-05T16:41:23Z","body":"One last question.  I've managed to get everything working, but when I convert my mosaicked (3-band) dataset, the converted output raster is only one band.  I'll need the other two bands for my analysis and I'm not sure why they are disappearing:   \r\n\r\n `i = 0`\r\n  \r\n`mosaic = pymodis.convertmodis_gdal.createMosaicGDAL(hdfnames= [filelist[i], filelist[i+1]], subset = '(1 1 0 0 0 0 0 0 0 0 0 1)', outformat = 'GTiff')`\r\n`mosaic.run(str(filelist[i].split(\".h\")[0]) + 'mos.tif')`    \r\n`mosaic.write_vrt(output = str(filelist[i].split(\".h\")[0]), separate = True)`\r\n`convert = pymodis.convertmodis_gdal.convertModisGDAL(hdfname = str(filelist[i].split(\".h\")[0]) + 'mos.tif', prefix = 'test', subset = '(1 1 1)', res = res, outformat = 'GTiff', wkt = prj, resampl = 'NEAREST_NEIGHBOR', vrt = True)`\r\n`convert.run_vrt_separated()`\r\n\r\nAm I miss using the vrt commands or mis-specifying the subset in the convert line?\r\n\r\nThanks so much."}}