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

Home » Public Forums » archive » Re: idl writeu and fortran...
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: idl writeu and fortran... [message #35729 is a reply to message #35724] Fri, 11 July 2003 01:42 Go to previous messageGo to previous message
wmconnolley is currently offline  wmconnolley
Messages: 106
Registered: November 2000
Senior Member
j oishi <jo8c@astsun.astro.virginia.edu> wrote:
> and then read it in in f77, everything is fine. when i try to add multiple
> records to the same file, everything goes to hell:

> openw,unit,'blah2.dat',/f77_unformatted,/get_lun
> d=fltarr(10)
> e=fltarr(10,10)
> writeu,unit,d
> writeu,unit,e
> free_lun(unit)

> now, in this second example, i can read the first record out of blah2.dat,
> but trying to get e (the second record) out, causes the following error:

> data [14:14]$ ./readbin
> start: end of file
> apparent state: unit 12 named aa0000.D
> lately reading sequential unformatted external IO
> Abort trap

How are you doing the reading?

Why does you paste above say "data [14:14]" when e is 10,10?

-W.

--
William M Connolley | wmc@bas.ac.uk | http://www.antarctica.ac.uk/met/wmc/
Climate Modeller, British Antarctic Survey | Disclaimer: I speak for myself
I'm a .signature virus! copy me into your .signature file & help me spread!
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: more bugs in envi !!!
Next Topic: idl writeu and fortran...

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

Current Time: Sat Oct 11 08:42:29 PDT 2025

Total time taken to generate the page: 1.59606 seconds