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

Home » Public Forums » archive » Re: PV-Wave, Fortran & Windows NT
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: PV-Wave, Fortran & Windows NT [message #11492 is a reply to message #11490] Thu, 02 April 1998 00:00 Go to previous messageGo to previous message
wmc is currently offline  wmc
Messages: 117
Registered: February 1995
Senior Member
In article 16450809@feda01.fed.ornl.gov, greenwoodde@feda01.fed.ornl.gov (Dave Greenwood) writes:
> I apologize for posting such a trivial question, but I don't have access
> to a system with PV-Wave and I'm trying to help a friend who claims to
> have only limited programming skills at best. My friend has a file
> written from PV-Wave (v6.1) on a Windows NT system and wants to read
> that file using a Fortran (Digital Visual Fortran 5.0) program.

Fortran puts (when writing, and expects, when reading) a word containing the
length of the record at the start and end of each unformatted record (at least,
is does on unix). Running IDL (/PVWAVE) on unix you use "/f77" on the openw
command (tell your friend to read the manual for "open") but the manual *claims*
this is a unix-only command, though why its not available on windows I'm not sure.
You could explicitly write the length info that fortran expects, though this is
messy. Another problem you may have is: why do you expect binary compatibility
between windows and unix?

All in all, you're probably better off writing out the data formatted, unless there
is really huge amounts of it.

- William

---
William M Connolley | wmc@bas.ac.uk | http://www.nbs.ac.uk/public/icd/wmc/
Climate Modeller, British Antarctic Survey | Disclaimer: I speak for myself
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: RA/DEC->Alt/Az?
Next Topic: pvwave mapping and UTM

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

Current Time: Sun Oct 12 03:03:16 PDT 2025

Total time taken to generate the page: 0.24189 seconds