Advertisement
Guest User

Untitled

a guest
Mar 10th, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. #Destination folder for the download
  2. dst = 'D:/MODIS'
  3. #Product to download
  4. product = 'MOD13Q1.006'
  5. #Username for the earthdata website
  6. user = "myuser"
  7. #Password for the earthdata website
  8. pwd = "mypwd"
  9. #Tiles to download
  10. tiles = 'h13v10,h13v11'
  11. #Start date for the product (format YYYY-MM-DD)
  12. startDay = '2017-01-01'
  13. #End date for the product (format YYYY-MM-DD)
  14. endDay = '2017-02-20'
  15.  
  16. down = pm.downmodis.downModis(destinationFolder=dst, password=pwd, user=user,
  17. tiles=tiles, path='MOLT', product=product,
  18. today=endDay, enddate=startDay, jpg=False, debug=True, timeout=30, checkgdal=True)
  19. down.connect()
  20. down.downloadsAllDay()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement