Hi,
I have an IDL script wherein i have used some ENVI routines to open and close files. I want to understand better how IDL and ENVI treat opening and closing of files.
in IDL : I open a file, read it into a variable, and close the LUN.
using ENVI routines, i used envi_open_file, envi_file_query, envi_get_data.
It seems like i would have to use ENVI_file_mng to close the opened files. I am getting some memory allocation errors.
So, i was wondering if the opening and closing of IDL and ENVI routines are analogous to each other meaning, open, read, and close.
I guess its a basic question, but i'd like to clear my doubts about it.
Thanks,
Raghu
|