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

Home » Public Forums » archive » IDL 8.2.3 released!
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: FILE_GZIP removes file extension [message #84854 is a reply to message #84853] Thu, 13 June 2013 17:53 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
timothyja123@gmail.com writes:

> I looked into this a bit further taking a look at the gzip command options in Linux and it would seem that IDL is doing the compression in a similar way as having set the -n option.
>
> -n --no-name
> When compressing, do not save the original file name and time stamp by default. (The original name is always saved if the name had to be truncated.) When decompressing, do not restore the original file name if present (remove only the gzip suffix from the compressed file name) and do not restore the original time stamp if present (copy it from the compressed file). This option is the default when decompressing.
>
> However it seems to me that it would be good to have an option to save the original name. In fact you would think that would be the default to save the original to be consistent with how the file_zip routine works and have the option to not save the original name.

Well, I have been discussing it with the fine folks at ExelisVis most of
the day. I final have them to the point they are almost ready to concede
the interface *may* be a touch non-intuitive. :-)

And, I agree, it should work like File_Zip.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bug in query_video()
Next Topic: export structure to an ascii file

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

Current Time: Wed Oct 08 15:13:58 PDT 2025

Total time taken to generate the page: 0.00501 seconds