Re: Advice on data transfer -- PC to Sun [message #39471] |
Mon, 24 May 2004 14:02  |
K. Bowman
Messages: 330 Registered: May 2000
|
Senior Member |
|
|
In article <c8tl34$s3v$1@news.wrc.xerox.com>,
jeyadev@wrc.xerox.bounceback.com (Surendar Jeyadev) wrote:
> Not a IDL or Wave question, but this seems to be a forum where
> others have run into this problem.
>
> For the first time, I have to deal with largish chunks of data
> produced on a Windows box and written into binary files. I need
> to move them to my Sun (Solaris 8) box. Any suggestions on what
> would be the "best" way to do it? Just converting the PC files
> to ASCII and moving them over is what I have in mind right now.
> The data in intended to be analysed (on the Sun) using PV-Wave.
>
> thanks
There are lots of options:
1. You should be able to read the existing files. Just fiddle around
with the SWAP_ENDIAN keywords until it works. ;-) That's got to be
less painful than rewriting as ASCII.
2. Is this IDL to IDL? In that case, you can rewrite the binary files
using /XDR for portability.
3. Rewrite the files as netCDF or HDF, which are portable by definition.
Regards, Ken
|
|
|
Re: Advice on data transfer -- PC to Sun [message #39532 is a reply to message #39471] |
Tue, 25 May 2004 12:42  |
jeyadev
Messages: 78 Registered: February 1995
|
Member |
|
|
In article <k-bowman-F7F5FF.15023024052004@news.tamu.edu>,
Kenneth Bowman <k-bowman@null.tamu.edu> wrote:
> In article <c8tl34$s3v$1@news.wrc.xerox.com>,
> jeyadev@wrc.xerox.bounceback.com (Surendar Jeyadev) wrote:
>
>> Not a IDL or Wave question, but this seems to be a forum where
>> others have run into this problem.
>>
>> For the first time, I have to deal with largish chunks of data
>> produced on a Windows box and written into binary files. I need
>> to move them to my Sun (Solaris 8) box. Any suggestions on what
>> would be the "best" way to do it? Just converting the PC files
>> to ASCII and moving them over is what I have in mind right now.
>> The data in intended to be analysed (on the Sun) using PV-Wave.
>>
>> thanks
>
>
> There are lots of options:
>
> 1. You should be able to read the existing files. Just fiddle around
> with the SWAP_ENDIAN keywords until it works. ;-) That's got to be
> less painful than rewriting as ASCII.
Will save some time.
> 2. Is this IDL to IDL? In that case, you can rewrite the binary files
> using /XDR for portability.
Wish it were! But, it is not. On the other hand, I have toyed with the
idea of putting IDL or Wave on the PC just to translate the stuff ot
XDR!
Thanks for the suggestion.
--
Surendar Jeyadev jeyadev@wrc.xerox.bounceback.com
Remove 'bounceback' for email address
|
|
|
Re: Advice on data transfer -- PC to Sun [message #39559 is a reply to message #39471] |
Tue, 25 May 2004 00:18  |
Chris Lee
Messages: 101 Registered: August 2003
|
Senior Member |
|
|
In article <k-bowman-F7F5FF.15023024052004@news.tamu.edu>, "Kenneth
Bowman" <k-bowman@null.tamu.edu> wrote:
> There are lots of options:
> 1. You should be able to read the existing files. Just fiddle around
> with the SWAP_ENDIAN keywords until it works. ;-) That's got to be
> less painful than rewriting as ASCII. 2. Is this IDL to IDL? In that
> case, you can rewrite the binary files using /XDR for portability.
> 3. Rewrite the files as netCDF or HDF, which are portable by
> definition. Regards, Ken
Is the IDL SAVE format platform independent to
any extent. I'm guessing the variables themselves are, but is the
byte-ordering consistent?
The help file says that XDR is used, so I guess so? Of course, I'm not
encouraging the use of closed formats instead of open ones (NetCDF or
HDF).
Chris.
|
|
|