[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #DOR-509615]: Image sequence from bundle



> Hi,
> I'm isl scripting a bundle with a monolithic grads grib file that contains
> 21 time frames within it.
> I'd like to produce images for all of the time frames from this file but
> can't get the code correct.
> This is the operative snippet of what I have:
> 
> <group loop="20" sleep="10">
> <echo/>
> <bundle file="${BundlePath}${BundleName1}.xidv"
> viewindex="${loopindex}"/>
> <image file="${ImagePath}${BundleName1}_${loopindex}.png"/>
> <pause seconds="10"/>
> </group>
> 
> Where have I gone astray?
> Thanks, Charlie
> 
> 
Hi Charlie,
         To save individual time frame in your loop, the best way is to save a 
movie and let the IDV creating all the images. Before saving the bundle, go to 
View > Capture > Movie, in the Image Files section check the save Fiels to box, 
and input the setting. Then, you can save the bundle. When you generate the 
movie, 

<?xml version="1.0" encoding="ISO-8859-1"?>
<isl debug="true" loop="1" offscreen="true" sleep="60.0minutes">
  <bundle clear="true" file="${islpath}/foo.xidv" wait="true"/>
  <movie file="${islpath}/foo_${viewindex}.mov"/>
</isl>  

you will get those images generated.


Yuan

Ticket Details
===================
Ticket ID: DOR-509615
Department: Support IDV
Priority: Normal
Status: Closed