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

Home » Public Forums » archive » envi_get_data
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: envi_get_data [message #67987 is a reply to message #58173] Tue, 15 September 2009 00:12 Go to previous messageGo to previous message
woods1 is currently offline  woods1
Messages: 24
Registered: August 2009
Junior Member
On 14 Sep., 20:59, Robert <robert.m...@gmail.com> wrote:
> On Sep 14, 11:07 am, woods1 <merria...@yahoo.fr> wrote:
>
>> Hi,
>> I have a problem. I want to display an image an d i do this:
>
>> imag = make_array(ns, nl) ; with ns=21815 and nl=10636
>
>> imag = envi_get_data(fid=fid, dims=dims, pos=pos)
>
>> but i become an error message '" Unable to allocate memory: to make
>> array."
>
>> can somebody help me?
>
>> thanks in advance
>
>> Woods
>
> First, do not preallocate the image array; i.e. remove the MAKE_ARRAY
> line. That might solve your problem right there. If you still get the
> error you should probably use the DIMS keyword to read only a subset.

thank you, thank you!
thanks of your help!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Beginner: Oplot line t^(-5/3)
Next Topic: Curve Fitting Question

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

Current Time: Wed Oct 08 19:27:46 PDT 2025

Total time taken to generate the page: 0.00426 seconds