If the data are in CSV format, I recommend trying the READ_CSV() function that was introduced with IDL 7.1. It is also possible to use the READ_ASCII command, but you will likely also have to use ASCII_TEMPLATE to define a template first. READ_CSV is much easier to use. Check out the IDL documentation for further information.
As for the factor of "4" that you mention, it may be that this is a 4 band image, one band per wavelength. To view this in IDL, you'll want to use the IMAGE() function, and select from the array 3 bands to display, for example something like this:
img = image(array[*,*,0:2])
Again, check out the IDL docs for details.
-Josh
Exelis VIS
|