Jeff,
Thanks. It worked. I used
${mydatadirectory}${filename_of_one_of_my_satellite_images} as the filename in
the fileset tag below. I can take it from here to expand my script to select
all the files I want to work on.
Regards,
d
On Feb 27, 2012, at 6:17 PM, Jeff McWhirter wrote:
>
>
> OK. I get it, except for one thing...
>
> What do I use for the file attribute in the setfiles line?
> (<setfiles datasource=".*" file="/data/image${imageIdx}.dat"/>)
>
> In my .xidv bundle I load 10 satellite images stored as 10 McIDAS Area Files
> in, let's call it, ${mydatadirectory}. Do I loop through those 10 data files
> as part of the setfiles directive? In ${mydatadirectory} the 10 McIDAS Area
> Files are named something like:
>
>
> The ISL script I sent loads one image at a time. You can use the setfiles tag:
> http://www.unidata.ucar.edu/software/idv/docs/userguide/isl/DataAndDisplays.html#setfiles
> with the fileset tag to specify multiple files:
> http://www.unidata.ucar.edu/software/idv/docs/userguide/isl/FileTags.html#fileset
>
> e.g,:
> <bundle file="test.xidv">
> <setfiles datasource=".*">
> <fileset file="some file"/>
> </setfiles>
> </bundle>
>
>
> -Jeff
>
>