Dear all,
I seem to have a really minor issue but can't figure out how to solve it. In some codes, I am using envi_output_to_external_format, i.e. as below. The problem is, I cannot really close the output file in Envi. This is not so bad in the classic version where it only appears in the available bands list but in the new version the image is also shown in Envi which is why I am running out of memory for bigger batch processes using the new version. Can anyone tell me how to close the output files properly or how to prevent it from opening?
ENVI_OUTPUT_TO_EXTERNAL_FORMAT,fid=file_fid, dims=dims_out, out_name=outname, out_bname=bnames, pos=pos, /ENVI
ENVI_FILE_MNG, id=file_fid, /REMOVE
Cheers and thanks in advance,
Kim
|