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

Home » Public Forums » archive » reading gziped CDFs
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: reading gziped CDFs [message #34256 is a reply to message #34120] Thu, 27 February 2003 09:26 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
"erikb" wrote ...

> I have gziped CDF files that I would like to open without having to
> manually unzip them for space considerations. I know that IDL can
> handle opening gziped files with the /compress keyword to the open
> routines, but that doesn't help with a CDF. I see that my ver. of IDL
> (5.4) has a CDF_compression command, but it seems that this is an
> internal compression method within the CDF structure.

> So... is there a way to get IDL to understand that I have
> a gzipped CDF?

No.

> I'm thinking I need to kludge CDF_open somehow.

Since (net)CDF functionality is provided via .dlms your ability to kludge
anything will be rather limited unless you roll your own.

I think your only option is the unzip -> use -> zip approach you have
already thought of. Ken suggested using mktemp() to create unique file
names although that is a C library function and isn't native to IDL. An
alternative would be to use the last 8 or so digits of systime(/seconds) to
create your filename. This approach has limits (you only get 1 unique name
per second) but I think it would be fine for what you want to do.

-Rick
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: histogram and binsize problems
Next Topic: Is PDF the only help option in 5.6?

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

Current Time: Wed Oct 08 16:51:34 PDT 2025

Total time taken to generate the page: 0.00383 seconds