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

Home » Public Forums » archive » IDL Spawn on Windows OS
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDL Spawn on Windows OS [message #81516] Fri, 28 September 2012 19:10
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
I have a FITS file reader that can work with gzip compressed files. It can work much more efficiently if it can know how many bytes would be in the uncompressed file (without actually having to uncompress it.) For Unix/Mac systems I can parse the output of "gzip -l" captured with Spawn

IDL> spawn,'gzip -l 1904-66_HPX.fits.gz',output

and the 'output' variable will contain something like
' compressed uncompressed ratio uncompressed_name'
' 105515 161280 34.6% 1904-66_HPX.fits'

I am told that this will not work under Windows OS (with gzip installed), presumably because it does not know about a gzip command. Can anyone suggest a way to make this code Windows friendly? (I do not have access to IDL on a Windows machine). Thanks, --Wayne
[Message index]
 
Read Message
Previous Topic: Re: Dispatch
Next Topic: How to get max value of images

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

Current Time: Thu Oct 09 07:17:34 PDT 2025

Total time taken to generate the page: 0.96083 seconds