Example #1
0
        '2014057LGN00',
        '2014064LGN00',
        '2014073LGN00',
        '2014080LGN00', # Marth 21st, 2014
    ]

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

    for image in images:

        imagename = "{0}{1}".format(prefix,image)

        print "Working on '{0}' ...".format(imagename)

        dler.download(imagename)

        uncomp.uncompress(imagename)

        rgb.makergb(imagename)

        prev.makepreview(imagename)

        #cleanup
        os.system("rm ./{0}/*_B*.TIF".format(imagename))
        #os.system("rm ./{0}/*_PROJECTED*".format(imagename))
        #os.system('rm ./{0}/*_RGB*') 

        print "Done with {0}".format(imagename)

    print "Done creating JPEG preview files for all {0} image archives.".format(len(images))
Example #2
0
    images = [
        '2013273LGN00', # Sept 29th, 2013
    ]

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

    for image in images:

        imagename = "{0}{1}".format(prefix,image)

        print "Working on '{0}' ...".format(imagename)

        dler.download(imagename)

        uncomp.uncompress(imagename)

        rgb.makergb(imagename,RED=5,GREEN=6,BLUE=4)

        prev.makepreview(imagename)

        #cleanup
        os.system("rm ./{0}/*_B*.TIF".format(imagename))
        #os.system("rm ./{0}/*_PROJECTED*".format(imagename))
        #os.system('rm ./{0}/*_RGB*')

        print "Done with {0}".format(imagename)

    print "Done creating JPEG preview files for all {0} image archives.".format(len(images))


Example #3
0
        '2013122LGN01',
        '2013106LGN01',
    ]

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

    for image in images:

        imagename = "{0}{1}".format(prefix,image)

        print "Working on '{0}' ...".format(imagename)

        dler.download(imagename)

        uncomp.uncompress(imagename)

        rgb.makergb(imagename)

        prev.makepreview(imagename)

        #cleanup
        os.system("rm ./{0}/*_B*.TIF".format(imagename))
        #os.system("rm ./{0}/*_PROJECTED*".format(imagename))
        #os.system('rm ./{0}/*_RGB*')

        print "Done with {0}".format(imagename)

    print "Done creating JPEG preview files for all {0} image archives.".format(len(images))