Example #1
0
from download import Downloader
from uncompress import Uncompresser
from makergb import MakeRGB
from makepreview import MakePreview

if __name__ == '__main__':

    with open("creds.txt","r") as f:
        lines = f.readlines()
    username = lines[0].strip()
    password = lines[1].strip()

    # create tool instances
    dler = Downloader(username=username,password=password,DEBUG=True)
    uncomp = Uncompresser(DEBUG=True)
    rgb = MakeRGB(DEBUG=True)
    prev = MakePreview(DEBUG=True)

    # create list of known images
    #LC80130312013273LGN00
    prefix = 'LC8012031'
    #postfix = 'LGN01'
    images = [
        '2014077LGN00',
        '2014061LGN01',
        '2014045LGN00',
        '2014029LGN00',
        '2014013LGN00',
        '2013362LGN00',
        '2013346LGN00',
        '2013330LGN00',