Hi all,
I'm creating a script to automatically stitch together one band rasters of the same dimensions into one file with multiple bands. Those who will be using this are using an earlier version of ENVI that doesn't include the new ENVITask way of doing this.
When I run the procedure up to the ENVI stacking DOIT task, I get the following error:
"Error: 'Array dimensions must be greater than zero.' The result may be invalid"
The line with the DO_IT command is: ENVI_DOIT, 'ENVI_LAYER_STACKING_DOIT', $
dims=dims, $
fid=fid, $
; out_bname=bands, $
out_dt = 1, $
out_name = output, $
out_proj = proj, $
out_ps = out_pos, $
pos=pos, $
r_fid = mosaic
And I double checked that the dimensions of all the arrays given are above zero. What might I be doing wrong?
Many thanks!
|