Re: Handling large arrays in IDL [message #59166] |
Sun, 09 March 2008 09:41  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Wasit.Weather@gmail.com writes:
> Thanks for your help. My computer is 32-bit Windows Xp. Once I was
> told that Tile procedure would make it. However, I dont know how to
> tile a big array. Recently, I found that some other users are also
> having this problem. You can see it ITTVIS IDL forum. So I wonder if
> there is any example code to do that.
Well, then, no, you are probably not going to be able to
make an array that is at minimum (assuming a byte array)
1.3 GB in size. Here are some reasons why:
http://www.dfanning.com/fileio_tips/lgfiles.html
Tiling is a technique ITTVIS, in its wisdom, reserves only
for ENVI. (Which I think is only another $8000 or so.)
But, as far as I can tell, tiling is just writing a file
to disk, and then using the Associate Variable method of
accessing some smaller portion of the data, processing that,
and then storing it back to disk. (You could open the file
with OPENU, for example, or you could just have two files,
both opened as associated variables, one to read from and
the other to write to.)
> A question not related with this topic is that, Can I receve responses
> on my posting automatically from this group?
No, I don't think so. I think you have to check the
newsgroup every five minutes like the rest of us. :-)
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.")
|
|
|