I have a series of arrays stored within files, which I read in IDL via:
openr,1,file.100
a=assoc(1,fltarr(nptx,npty,nptz))
variable=a(0)
close,1
While this works fine if I know the array size (nptx, npty, nptz), I do not know how to get the dimensions from the files themselves.
i.e. I need to read a file in the above manner with unknown dimensions. How do I find the correct array sizes? Opening the file itself is a mess of symbols.
Any help is greatly appreciated!