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

Home » Public Forums » archive » Re: SAVE compress and Gzip
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: SAVE compress and Gzip [message #71423 is a reply to message #71422] Mon, 21 June 2010 09:24 Go to previous messageGo to previous message
Xavi Llort is currently offline  Xavi Llort
Messages: 15
Registered: September 2006
Junior Member
On 18 jun, 16:23, jeanh
<jghasb...@DELETETHIS.environmentalmodelers.ANDTHIS.com> wrote:
> On 18/06/2010 7:33 AM, Xavi Llort wrote:
>
>
>
>
>
>> Hi,
>
>> I'm trying to compress save files already done.
>
>> If I compress the sav files in the unix terminal with Gzip, then IDL
>> "RESTORE" command does not recognize them:
>> IDL>  save, a, filename='test.sav'
>> IDL>  exit
>> $ gzip test.sav
>> $ idl
>> IDL>  restore, 'test.sav.gz'
>> % RESTORE: Not a valid save file: test.sav.gz
>
>> This trick worked for binary files and OPEN command.
>
>> Any ideas how can I manage to compress lots of save files already
>> done, creating save files which can be directly opened from inside
>> IDL?
>
>> Thanks in advance,
>> Xavi
>
> have you tried
> save, a, filename='test.sav', /compress
>
> Jean

Maybe I did not explain well the problem...

The savs are already done and I would like to compress them
individually, in a manner that the programs that open them will not
notice.
To use the keyword /compress is what I should have done and I
didn't ;)

Xavi
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: diffusion list on GDL
Next Topic: Re: trying to export pixel data from .dat files, based on coordinate loc

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

Current Time: Sat Oct 11 11:49:16 PDT 2025

Total time taken to generate the page: 0.64557 seconds