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 #67989 is a reply to message #58173] Mon, 14 September 2009 11:59 Go to previous messageGo to previous message
Robert Moss, PhD is currently offline  Robert Moss, PhD
Messages: 29
Registered: November 2006
Junior Member
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.
[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: Sat Oct 11 09:09:42 PDT 2025

Total time taken to generate the page: 1.99876 seconds