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

Home » Public Forums » archive » Re: converting VMS idl files to UNIX pvwave
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: converting VMS idl files to UNIX pvwave [message #490 is a reply to message #487] Thu, 09 July 1992 09:24 Go to previous message
pan is currently offline  pan
Messages: 6
Registered: February 1992
Junior Member
In article <1992Jul7.101543.556@ualr.edu> ptfinley@acs.harding.edu writes:
> I have a data file that was created by an idl procedure on a VAX
> system. I need to read the data in a pvwave procedure on a
> UNIX system. The problem seems to be that the VAX uses records
> and has a header at the top of the file that explains the records
>
> My UNIX system merely reads the first byte with the assumption that
> this is the desired data. If you have done this before, I would
> appreciate any hits you could give. I need to remove the header,
> but I also need to know the record lengths. THANKS.
>
> *****************
> * Paul Finley, Harding University, Searcy, AR
> *
> * PTFINLEY at ACS.HARDING.EDU
> * or
> * PFINLEY at SUN1.HU.EDU
> ***************

I think VAX record file can be converted to stream (or unformatted) file
using IDL on VAX. After the conversion, you can send it over to unix
system then read it from unix IDL or PV-WAVE. However, one tricky
problem here is that you may have to do byte-swapping on the conversion
file (if integer format), or format-conversion (tricky too) if floating
point format. Depends on the machine you are using (DEC5000 or IBM6000
and others), the floating point conversion will also be different.
This sketchs how I coped with this problem. Maybe there is another
better approach.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Colors with XOR plotting
Next Topic: Colors with XOR plotting: How to do it

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

Current Time: Wed Oct 08 19:20:44 PDT 2025

Total time taken to generate the page: 0.00425 seconds