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

Home » Public Forums » archive » Re: Cannot allocate memory!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Cannot allocate memory! [message #47043 is a reply to message #47042] Mon, 16 January 2006 12:57 Go to previous messageGo to previous message
Liberum is currently offline  Liberum
Messages: 48
Registered: September 2005
Member
Hi Craig,

I cannot average each array because I want the average at each pixel
for the 119 or so arrays.
What I am toying with now is this creating 2 1215*1215 arrays and use
one to carry the new arrays and one to keep the running total:
t = make_array(col,row)
sum = make_array(col,row)
for i=0, n-1 do begin
t = read_hdf(f,str)
sum = temporary(sum) + temporary(t)
endfor
avg = sum/float(n)
Basicly I need to keep IDL from making many of these arrarys. I have
not tested this yet.
Now you will really laugh at this but it is best that I can come up
with with what little experience I have using IDL. I am reading some
older problems sent to the group but I am not done yet. Any comments?

Sheldon
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Terra MODIS Orthorectified Imagery
Next Topic: Update IDL Widget from C++

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

Current Time: Fri Oct 10 06:21:33 PDT 2025

Total time taken to generate the page: 1.28135 seconds