# python dictionary for loadADDEImage abiParms = dict( server = 'geoarc.ssec.wisc.edu', dataset = 'ADOE4', descriptor = 'FD', day = '2016-09-05', time = '17:13:22', unit = 'TEMP', size = 'ALL', ) # individual loadADDEImage calls for each band b8 = loadADDEImage(band = 8, **abiParms) b10 = loadADDEImage(band = 10, **abiParms) b12 = loadADDEImage(band = 12, **abiParms) b13 = loadADDEImage(band = 13, **abiParms) # rescaling and band subtraction to create r, g, b objects red = rescale(b8-b10, -25, 0, 0, 255) green = rescale(b12-b13, -40, 5, 0, 255) blue = rescale(b8, 243, 208, 0, 255) # create the RGB object rgbData = combineRGB(red, green, blue) # build a window to display the data in rgbDisplay = buildWindow(height=1000, width=1500) # display the data and set the layer label rgbLayer = rgbDisplay[0].createLayer('3 Color (RGB) Image', rgbData) rgbLayer.setLayerLabel('ABI Airmass RGB (DOE-4) %timestamp%')