Re: reading multiple HDF files [message #61387 is a reply to message #61338] |
Wed, 16 July 2008 07:46   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
julia.walterspiel@gmail.com writes:
> you can all relax :)
> closing and restarting IDL, I noticed that the error occured at loop
> number 32. Checking the file at this location didn't bring up anything
> strange, so I tried to make the loop start at i=32, got the error
> immediately, closed and reopened IDL, did the same thing again and
> tadaaa got the error at loop number 64 this time (and yes, also at
> loop no. 96)
> checking again, turns out that IDL is able to only loop through the
> program 32times before it gives the error.
> And then you have to close IDL completely before doing the next
> "cycle". I guess this is an IDL limitation when it comes to large
> files (HDF files ARE large...)
>
> is there a way to continuously reset the memory? (some IDL batch job)
> if not, I guess this leaves me with saving the data in 32-loop-
> increments (which is not such a pain considering that it's only 100
> files - at least this time)?
Did you try closing the file, as in my last suggestion?
This is pretty much what I expected without that close.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|