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

Home » Public Forums » archive » Re: Reading large Ascii files
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 large Ascii files [message #27634 is a reply to message #27633] Tue, 30 October 2001 08:28 Go to previous messageGo to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
How is ch1_val_s defined? Is it defined as a string?
There have been at least two times when READF buffer overflows were
brought up. Search Google newsgroup for "input buffer of 32767". In
brief, one solution is to use READU.

Cheers,
Pavel

Isa Usman wrote:
>
> Hello,
>
> I am trying to read a single row from a large file. The amout of numbers per
> row is about 12500. So in IDL i have the following lines;
>
> readf,lun,format='(500F8.3)',ch1_val_s
>
> so that i only read 500 values at a time and it gives me the error;
>
> % Input line is too long for input buffer of 32767 characters.
>
> From what i can gather, IDL is trying to read the whole line first before it
> puts it into the array. Can anybody suggest a way round this please.
>
> Thanks
>
> Isa Usman
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Hypergeometric functions
Next Topic: Re: Resolution

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

Current Time: Fri Oct 10 10:30:36 PDT 2025

Total time taken to generate the page: 0.32099 seconds