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
    prefix = 'LC8016030'
    postfix = 'LGN01'
    images = [
        '2013102LGN01', # April 12t, 2013
        '2013118LGN02',
        '2013134LGN03',
        '2013150LGN00',
        '2013157LGN00',
        '2013166LGN00',
        '2013173LGN00',
        '2013182LGN00',
        '2013189LGN00',
Example #2
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 = 'LC8013031'
    #postfix = 'LGN01'
    images = [
        '2013273LGN00', # Sept 29th, 2013
    ]

    print "Processing {0} image archives ...".format(len(images))

    for image in images:

        imagename = "{0}{1}".format(prefix,image)
Example #3
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',