Issues loading a bundle through scripts.

Post any questions, ideas, or topics related to Jython and Python scripting.
Post Reply
User avatar
kaba
Posts: 51
Joined: Tue Mar 24, 2009 2:52 pm

Issues loading a bundle through scripts.

Post by kaba »

I have a bundle, which when I open in McIDAS-V display window looks fine but when I load it through a script
and save it as .kmz, i get a different image.
here is the sript:

setOffScreen(1)
loadBundle("/data/kbah/output/bundles/tests/mcv/katrina/band01.mcvz", None, 756, 680)
pause()
writeImage("/data/kbah/projects/scripting/output/katrina_b01.kmz")


Here is a link to the bundle in the ftp server.

ftp://ftp.ssec.wisc.edu/ABI/kaba/sim-abi/mcvz/
User avatar
jessica.braun
Posts: 66
Joined: Wed Jan 07, 2009 7:51 pm

Re: Issues loading a bundle through scripts.

Post by jessica.braun »

Hi Kaba,

I loaded your bundle and it seems like there is an extra panel being listed in the display controls, which I believe is the cause of the blank image being created. At one point early on in a prior beta version, we had an issue with extra default panels showing up in the Layer Controls. If you had grabbed one of our unstable builds at the time this bug existed and created a bundle, this extra panel could have been continued to be brought through newer versions every time an older bundle with this problem was loaded.

Your solution will be to start from scratch and recreate the bundle with a fresh McIDAS-V session, as the problem lies with the bundle, not the current version of McIDAS-V.

~Jess
Post Reply