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 #475 is a reply to message #473] Wed, 15 July 1992 15:47 Go to previous messageGo to previous message
hofer is currently offline  hofer
Messages: 16
Registered: April 1991
Junior Member
In article <1992Jul11.034822.19367@bnlux1.bnl.gov>, jacobsen@bnlls1.nsls.bnl.gov (Chris Jacobsen) writes:
> I had the same question. Mark Rivers of University Chicago/Brookhaven
> Lab set things up using the XDR file format option. That allows
> me to ship files back and forth between VMS and Unix

Since XDR uses a description tag for every scalar data and not for a whole
array, arrays written with XDR are often two times as big as without XDR.
We ended up only wrtiting a stream of bytes to our data files using our own
portable convertion routines to convert e.g. an array of floats into an array
of bytes. We are transfering data (floats, longints, ints, bytes) between a VAX
running VMS (little endian, VMS floats) and a Silicon Graphics Iris
(big endian, IEEE floats) without any troubles this way.

The bigger problem is the record formats on VMS.
I'm not able to read a big file in stream format with pv~wave routines.
(An error message saying that some buffer is too small is shown.)
Converting the file to stream_lf format helps about this.
Transfering a file written with pv~wave on the VAX in variable lenght record
format to the Iris using ftp results in a mixture between actual data and
record info on the unix side. And these are just two examples of troubles with
VMS record orientated files.

Remo Hofer
--
RFC822: <hofer@urz.unibas.ch> or <hofer%urz.unibas.ch@CERNVAX.BITNET>
X.400: S=hofer;OU=urz;O=unibas;P=SWITCH;A=ARCOM;C=CH
HEPNET/SPAN: CHGATE::YOGI::HOFER or 20579::48130::HOFER
[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:19:40 PDT 2025

Total time taken to generate the page: 0.00451 seconds