Overview of Data Access in IDL

There are several ways to open files and access the data that they contain in IDL.You can open a file using interface elements, or using routines. In order of increasing complexity and flexibility, your options are:

There are advantages and disadvantages for each option. When you open a file using FileOpen in the iTools, there is no opportunity to do pre-processing on the data. However, the display is created for you, and there are numerous interactive operations available.

You can combine the flexibility of accessing data using routines with the power of an iTool display by using the Visualize Perspective as described in Using the Visualize Perspective or by launching the iTool from the command line as described in Parameter Data and the Command Line (iTool User's Guide). See Accessing Image Data Programmatically and Accessing Non-Image Data Programmatically for examples.