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

Home » Public Forums » archive » Question about 'READ input error'
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Question about 'READ input error' [message #24238] Tue, 20 March 2001 15:38
akk is currently offline  akk
Messages: 10
Registered: July 1998
Junior Member
Hi,

I have an idl program which should uncompresse a file and then read it in
to an array "aaa"
However whenever I try and run this program I keep getting the following
error :
-----------------------
Compiled module: $MAIN$.
% READF: Input conversion error.
% Execution halted at: $MAIN$ 5
/tmp_mnt/homes/metogra3/anilk/Nimbus7/stratep.d/trial.pro
IDL>
------------------------
My idl code is:
--------------------------------

lun=13
aaa=fltarr(2,180,51)
spawn,'/usr/ucb/uncompress -c'+'~anilk/Nimbus7/GriddedData/grid_EP_79134.dat.Z',unit=lu n
readf,lun,aaa
print, aaa
close,lun

do_free_lun =1
if keyword_set(do_free_lun) then free_lun, lun

end
---------------------------------


Would someone be able help me figure out what is causing this error, and
what an input conversion error is?


Thank You
Anil
ps: If possible please reply back to my email address too.
[Message index]
 
Read Message
Previous Topic: Re: curvefit Q
Next Topic: Re: AD&D site / sito AD&D

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

Current Time: Wed Oct 08 15:53:12 PDT 2025

Total time taken to generate the page: 0.00447 seconds