Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Destination folder for the download
- dst = 'D:/MODIS'
- #Product to download
- product = 'MOD13Q1.006'
- #Username for the earthdata website
- user = "myuser"
- #Password for the earthdata website
- pwd = "mypwd"
- #Tiles to download
- tiles = 'h13v10,h13v11'
- #Start date for the product (format YYYY-MM-DD)
- startDay = '2017-01-01'
- #End date for the product (format YYYY-MM-DD)
- endDay = '2017-02-20'
- down = pm.downmodis.downModis(destinationFolder=dst, password=pwd, user=user,
- tiles=tiles, path='MOLT', product=product,
- today=endDay, enddate=startDay, jpg=False, debug=True, timeout=30, checkgdal=True)
- down.connect()
- down.downloadsAllDay()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement