I'm relative new to IDL and I need to achieve the following: Basically all I have to do is to read in different file and create different arrays while reading them.
So I was thinking something like:
files=dialog_pickfile(/multi, filter=filter, path=path, title=title)
n_files=n_elements(files)
for i=0, n_files-1 do begin
openr, lun, /get_lun, files[i]
readf, lun, data
But at this point how to create different array by keeping track of the e.g. name of the file.
For instance:
arrayfile1(i,j,k)=
arrayfile2(i,j,k)=
and so on.
Hope this is clear, Best.