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.
Hi Jun,
The above ISL should replace whatever data file is referenced in the test.xidv bundle with theMore questions about ISL: <isl offscreen="false"> <fileset pattern=".*\.nc"> <echo message="File: ${file}"/> <bundle file="${islpath}/test.xidv"> <!-- This sets the data file in the bundle to the ${file} --> <setfiles datasource=".*" file="${file}"/> </bundle> <pause seconds="20"/> </fileset> </isl> Above code: <setfiles datasource=".*" file="${file}"/>Which will add files to datasource or replace old file?
file given by ${file} (though I will double check that).
When I loop my files: <?xml version="1.0" encoding="ISO-8859-1"?> <isl offscreen="false" loop="25" debug="true"> <property name="basedir" value="/t1/CMAQ4.6_SAPRC99_AE3_aq/2000-01_winter/basecase/MM5/" /> <property name="file" value="M01-IB01-J02-E02.24hr.200101${loopindex}" /> <!-- <echo message="File: ${basedir}${file}"/> --> <if expr="${loopindex}>9"> <bundle file="${islpath}/AQ_PM25.xidv"> <setfiles datasource=".*" file="${basedir}${file}.nc"/> </bundle> <image file="${islpath}/images/${file}_PM25.png" > <transparent color="none" /> </image> <pause seconds="20"/> </if> </isl> The datasource seems never changed, even my ${file} changed on screen printout. How can we set (change) datasource inside .xidv file?
The above isl should also be replacing the data file in the bundle. I will also check that as well.
-Jeff
idvdevelopers
archives: