comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Does ENVI_FILE_MNG work with 'In Memory' files?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Does ENVI_FILE_MNG work with 'In Memory' files? [message #72342] Fri, 27 August 2010 15:57
robintw is currently offline  robintw
Messages: 37
Registered: March 2009
Member
Hi all,

I have an IDL function which processes images in ENVI, creating a
number of temporary images on the way. I set the /IN_MEMORY keyword
for many of these functions to keep the temporary images (which are
quite small) in memory. I then delete them at the end of the function
using the ENVI_FILE_MNG function. The only problem is...it doesn't
seem to work! The files seem to stay in the Available Bands window,
and after processing 500 files (and therefore creating around 2500
temporary 'in memory' files) the whole thing crashes!

Is there a special way to close files that are stored in memory? The
code I am using at the moment is:

ENVI_FILE_MNG, id=thresholded_fid, /DELETE, /REMOVE

I have tried various combinations of the /DELETE and /REMOVE switches,
as the manual does not state which should be used with files in
memory.

Does anyone have any ideas why this may not be working? I can provide
the code of my function if needed.

Best regards,

Robin Wilson
University of Southampton
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Constrained fit of a straight line: fixed intercept
Next Topic: Re: Does ENVI_FILE_MNG work with 'In Memory' files?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:47:29 PDT 2025

Total time taken to generate the page: 0.00539 seconds