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

Home » Public Forums » archive » Input Buffer Error Reading in Large ascii Files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Input Buffer Error Reading in Large ascii Files [message #26849] Fri, 28 September 2001 06:42
gefinn is currently offline  gefinn
Messages: 1
Registered: September 2001
Junior Member
I am currently trying to read in a column seperated ascii file that
has 3 columns of data and approximately 1 million rows. using the
following small snippet of code in a larger program. the code uses a
program called transread written by Craig B. Markwardt.

------code used
if NOT Keyword_set(filnam) then begin
filnam=PICKFILE(/READ,PATH=path,FILTER=["*.txt"],TITLE='select ASCII
file',/MUST_EXIST)
if filnam EQ '' then Return, 0
endif

print, ''
print, filnam
OPENR, lun, filnam, /GET_LUN
A = 0L & B = 0L & C = 0L
TRANSREAD, lun, A, B, C, COUNT=COUNT, FORMAT='(I0,I0,I0)'
FREE_LUN, lun

----------------

unfortunately I get the following error.
% Compiled module: TRANSREAD.
% Input line is too long for input buffer of 32767 characters.


Can anyone make a suggestion on why I am getting this error and a
possible work around?

Thanks in advance,

Dave
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL for Windows and MAC...
Next Topic: IDL 5.4 and win2000 problems

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

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

Total time taken to generate the page: 0.00567 seconds