This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> 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