NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
> Jeff, > > i had to go into preferences and uncheck the box which "removes data and > displays" before my .xidv file worked correctly. > Yes, you shouldn't automatically remove data when loading in a bundle that needs data. > Now i have your grids.isl file which now reads: > > <?xml version="1.0" encoding="ISO-8859-1"?> > <isl debug="true" loop="1" offscreen="false" sleep="60.0minutes"> > <!-- iterate 1 --> > <foreach cnt="1"> > <echo message="Loading merged${cnt}.nc"/> > <!-- load in the bundle but have it load in file{$file}.nc --> > <bundle clear="true" file="${islpath}/cn2_test6.xidv" wait="true"> > <setfiles datasource=".*" file="merged${cnt}.nc"/> > </bundle> > <!-- Capture the image --> > <image file="${islpath}/grids${cnt}.png"/> > </foreach> > </isl> > > > when i run on command line i get: > > Wed Oct 01 15:08:26 EDT 2008: For data source: .* Using file: merged1.nc > Wed Oct 01 15:08:26 EDT 2008: Loading bundle: ./cn2_test6.xidv > Wed Oct 01 15:08:33 EDT 2008: Writing image:./grids1.png > > however, i get the same issue as before. How do i tell the isl file to > "remove all displays and data sources" before executing. > > You shouldn't have to tell the isl anything. The cn2_test6.xidv bundle should be saved as a regular bundle, *not* one where you don't save the data. The <setfiles... tag causes the data source you saved in the bundle to use a new file (or url). -Jeff Ticket Details =================== Ticket ID: SSS-119764 Department: Support IDV Priority: High Status: Open