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

Home » Public Forums » archive » How to read a file in zip or gz format using IDL?
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 read a file in zip or gz format usin [message #2640 is a reply to message #2507] Fri, 05 August 1994 08:33 Go to previous messageGo to previous message
chase is currently offline  chase
Messages: 62
Registered: May 1993
Member
>>>> > "Thomas" == Thomas Oettli <oet@sma.ch> writes:

Thomas> No problem, I had a similiar problem some time ago, here is
Thomas> the data read procedure I used,

Thomas> FUNCTION GET_RC, f
Thomas> ; Return reference coordinates
Thomas> coords = { x_ref:fltarr(305,269), y_ref:fltarr(305,269) }
Thomas> spawn, ['gunzip','-c',f], UNIT=lun, /NOSHELL
Thomas> readu, lun, coords
Thomas> free_lun, lun return, coords
Thomas> END

I have tried this in the past but have experienced problems with the
IDL prematurely losing the pipe. This seems to happen when I try to
do other file I/O before I finish using pipe created by the spawn
command.

Has anyone else experienced difficulties with using UNIX pipes created
with spawn?

Chris
--
===============================
Bldg 24-E188
The Applied Physics Laboratory
The Johns Hopkins University
Laurel, MD 20723-6099
(301)953-6000 x8529
chris_chase@jhuapl.edu
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Diagnostic printout
Next Topic: Different shifts on rows of matrices

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

Current Time: Thu Dec 04 14:28:51 PST 2025

Total time taken to generate the page: 0.96102 seconds