Help with script to create/display SEVIRI RGBcomposite Image

New McIDAS-V features under development. Feedback is appreciated.
User avatar
hproe
Posts: 503
Joined: Sat Nov 27, 2010 3:46 pm

Re: Help with script to create/display SEVIRI RGBcomposite Image

Post by hproe »

Hi Joleen -

Have a look at the snippet below. It creates a loop of RGB composites using one of my formulas of the RGB plugin and data from an ADDE server staging SEVIRI data. The trick is based on myLoop - credit goes to tomw!

myLoop=[]
for pos in range(-2,1):
mIR87,IR87=getADDEImage(band=7,position=(pos),**ADDE_params)
mIR108,IR108=getADDEImage(band=9,position=pos,**ADDE_params)
mIR120,IR120=getADDEImage(band=10,position=pos,**ADDE_params)
imDUST=DUST_RGB(IR87,IR108,IR120)
myLoop.append(imDUST)
panel = buildWindow(height=600,width=700)
abc=makeTimeSequence(myLoop)
imLayer=panel[0].createLayer('3 Color (RGB) Image',abc)
imLayer=panel[0].createLayer('RGB Composite',abc)
writeMovie(imageDir+'loop.gif')
Post Reply