ENVI's CF_DOIT routines allows for you to pass an array of file IDs (FIDs) so you can pass file ids from different files too. You would open each file in a loop, capture the FID in a new array and pass this array to CF_DOIT. However, if the input data files are different dimensions, data types, projections, etc. you can't use this routine. instead you would need to use ENVI_LAYER_STACKING_DOIT which can handle files of different dimensions, file types and projections.
|