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 #47046 is a reply to message #47045] Mon, 16 January 2006 12:25 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Sheldon writes:

> I am working with very large arrays of varying quantities, i.e.,
> sometimes I have 89 arrays and other times I have 200 arrays. Now I
> would like to average these arrays and reduce them to one array.
> I use the MAKE_ARRAY() function but IDL screams that it cannot allocate
> the memory.
> Now these arrays are quite large (1215,1215) and I only need to hold
> them within a function and then they are averaged using MEAN().
> Is there away to do this so that IDL can allocate the memory?
> IDl complains about this:
> tmp = make_array([119,1215,1215], /float). I was thinking about
> changing to /integer but I think is not such a good fix.
> Any takers?

Uh, have you been reading the recent discussion of MEAN()
in this newsgroup? There might be an idea or two in there. :-)

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[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: Sat Oct 11 18:50:05 PDT 2025

Total time taken to generate the page: 0.40145 seconds