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

Home » Public Forums » archive » Re: How to read (large) ASCII arrays into PV-Wave
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 (large) ASCII arrays into PV-Wave [message #31097 is a reply to message #31094] Mon, 17 June 2002 07:09 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Surendar Jeyadev (jeyadev@wrc.xerox.bounceback.com) writes:

> I have some floating point, ASCII arrays that I am trying to
> read into PV-Wave. They are not particularly large:
> 232 columns x 50 rows. All numbers are of the form bbbxxx.xxx
> where the 'b' are blank(white) space and the 'x' are digits.
> I have not read such arrays of such size in the past and I was
> surprised to see PV-Wave choke on them. Here is the [error]
>
> % Input line is too long for input buffer of 2048 characters.
> % READF: Error encountered reading from file. Unit: 1
> File: tt
> % Execution halted at $MAIN$ (READF).
>
> Any help would be greatly appreciated.

Are you transferring these files from someplace else?
I think that they don't have the required carriage return,
line feed characters on the end of the line. So IDL thinks
this file contains one line. This can happen when UNIX
ASCII files are transferred improperly to Windows machines,
for example. Alternatively, you could use a FORMAT keyword
on your READF statement to read the file.

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Hankel Transform in IDL
Next Topic: BUG in PV-Wave 7.5: Print,0.1 produces 0.0000

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

Current Time: Tue Dec 02 06:17:46 PST 2025

Total time taken to generate the page: 1.03621 seconds