Previous: Generating Images Next: Manipulating Images Table of contents Frames User guide
Unidata IDV Workshop for version 6.2u2 > Advanced Topics > Scripting with IDV

4.3.2 More on Generating Images
More examples on generating image and movie.
  1. First of all save this isl2.xidv file to your isl directory. This is a bundle with two view panes. You can load this bundle into the IDV and see what this bundle doing. One pane displays the temperature field and the other displays the geopotential height.
  2. Review this ISL file and find out the role of the viewindex:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <isl debug="true"  offscreen="false" sleep="60.0minutes">
       <bundle clear="true" file="${islpath}/isl2.xidv" wait="true"/>
       <image file="${islpath}/image_${viewindex}.png" />
    </isl>
    
    image7.isl
  3. Now, change directory to the home directory (cd) and run:
    runIDV /home/idv/isl/image7.isl
    
  4. What happened?
  5. Note, two images are created. If we want to generate a single image which combines these two images, we'll use the combine property in the next ISL file:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <isl debug="true"  offscreen="false" sleep="60.0minutes">
       <bundle clear="true" file="${islpath}/isl2.xidv" wait="true"/>
       <image file="${islpath}/image_all.png" combine="true" />
    </isl>
    
    image8.isl
  6. The IDV gives you an easy way to generate a publication quality combined image.
  7. The next two ISL examples will provide some details of more advance isl scripts.

 


Previous: Generating Images Next: Manipulating Images Table of contents Frames User guide
Unidata IDV Workshop for version 6.2u2 > Advanced Topics > Scripting with IDV