# dictionary for loadADDEImage. These keywords # and values will be the same for all 16 bands addeParms = dict( server = 'atm.ucar.edu', dataset = 'RTGOESR', descriptor = 'M1', size = 'ALL', position = -1, ) # set up a loop where we can loop through all 16 bands for x in range(1,17): data = loadADDEImage(band=x, **addeParms) # display the data in the currently active panel layer = activeDisplay().createLayer('Image Display', data) # set the layer label to be the band number layer.setLayerLabel('band %s' % x)