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

Home » Public Forums » archive » Re: How to store compressed 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: How to store compressed data ? [message #68871 is a reply to message #68816] Tue, 01 December 2009 00:02 Go to previous message
rogass is currently offline  rogass
Messages: 200
Registered: April 2008
Senior Member
On 30 Nov., 22:27, nata <bernat.puigdomen...@gmail.com> wrote:
> Hi guys,
>
> See the following example:
>
> help, /mem
> aa=fltarr(240,360,24,47,2)
> help, /mem
>
> IDL returns:
> heap memory used:     708636, max:  780382426, gets:    13719,
> frees:    12874
> heap memory used:  780382333, max:  780382428, gets:    13731,
> frees:    12885
>
> That's 780 Mb for one big array. My question is if there is a way to
> store this array (in memory) compressed. I'm developing an application
> and I don't know if that's possible in order to use less RAM of the
> computer.
> Thanks,
>
> nata

IF you can implement ASSOC, THEN you would be able to use the /PACKED
switch ELSE you can just use HDF_PACKDATA :)

Maybe it helps

CR
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem on where function
Next Topic: Re: SHAPEFILE changes in IDL7.1?

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

Current Time: Fri Oct 10 00:40:30 PDT 2025

Total time taken to generate the page: 0.32124 seconds