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

Home » Public Forums » archive » readu sees unexpected records
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
readu sees unexpected records [message #43899] Wed, 04 May 2005 04:22 Go to next message
hjalti is currently offline  hjalti
Messages: 13
Registered: October 2003
Junior Member
Hello group
I found out that when reading unformatted data, written with a fortran
90 program, the readu command detects a couple of extra records before
and after each line written with the fortran program. For example, I
wrote a 10x10 array, containing the numbers from 1-100 in a file.
Reading the file using readu, the content of the file appears as a
14x10 array, with very small numbers in columns 1, 2, 13 and 14,
(producing floating underflow), and the correct numbers in the columns
3-12.
In the data file I actually had to read there are three extra records
before and two after each line.
These extra records do certainly not appear when reading the files
with a fortran program.

I was curious if anyone had an explanation of this.

Regards, Hjalti
Re: readu sees unexpected records [message #43990 is a reply to message #43899] Fri, 06 May 2005 08:39 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Paul Van Delst writes:

> Then again, I've never really
> used a Windows machine (for anything important) so who knows?

You'd probably be surprised by what can be done with them. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: readu sees unexpected records
Next Topic: Muddling Through XML Files

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

Current Time: Wed Oct 08 17:47:16 PDT 2025

Total time taken to generate the page: 0.00525 seconds