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

Home » Public Forums » archive » landscan 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: landscan data [message #47035 is a reply to message #46955] Tue, 17 January 2006 05:09 Go to previous messageGo to previous message
Paolo Grigis is currently offline  Paolo Grigis
Messages: 171
Registered: December 2003
Senior Member
matthias.demuzere@geo.kuleuven.be wrote:
> Thanks for the reply David.
>
> I tried again to read in the whole dataset with 43200x20880 fields on
> another PC, but that didn't work either. So I probably have to look to
> see if I can expand my memory capacity....

The problem with the 32-bit versions of IDL is that no matter how much
*memory* you have in the system, you cannot allocate more than 2GB for *one*
array (the reason is likely due to the fact that internal array indexing
is done with a long signed integer, ranging up to 2^31-1).

So the maximal numbers of *elements* in one array is approximately
2^31/size, where size is the byte-size of your data type (1 for byte,
2 for int, 4 for longs etc.).

Possible solutions: break up the array in smaller chunks or switch
to 64-bit IDL versions.

Ciao,
Paolo

>
> Cheers,
> Matthias
>
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: landscan data
Next Topic: Terra MODIS Orthorectified Imagery

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

Current Time: Wed Oct 08 20:05:30 PDT 2025

Total time taken to generate the page: 0.00407 seconds