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

Home » Public Forums » archive » Reading binary data (written using XDR) into IDL??
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: Reading Binary [message #49256 is a reply to message #4812] Wed, 12 July 2006 02:14 Go to previous messageGo to previous message
Peter Clinch is currently offline  Peter Clinch
Messages: 98
Registered: April 1996
Member
Dirk1106@googlemail.com wrote:
> I get the Data from a collegue.
> It is an LMF-File. I don`t know, why they made such un anusual format.
>
> So there ist no chance, of getting the data directly right in IDL?

If there is it'll certainly be very awkward: even in C you're limited to
reading in byte sized chunks.

I imagine the best way is to read /everything/ that you might need into
memory in one go in a language that does bit operations fairly well
(like C) and then work through the data stream looking at fractions of
the bytes. And export from that into something readable by Normal
Computer Programs!

Pete.
--
Peter Clinch Medical Physics IT Officer
Tel 44 1382 660111 ext. 33637 Univ. of Dundee, Ninewells Hospital
Fax 44 1382 640177 Dundee DD1 9SY Scotland UK
net p.j.clinch@dundee.ac.uk http://www.dundee.ac.uk/~pjclinch/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: extraction of linear features from satellite imagery
Next Topic: Displaying isosurface- Hollow images

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

Current Time: Thu Oct 09 20:08:45 PDT 2025

Total time taken to generate the page: 0.67656 seconds