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

Home » Public Forums » archive » Reading in a binary file in IDL - based on fortran reader?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Reading in a binary file in IDL - based on fortran reader? [message #88897] Wed, 02 July 2014 04:55 Go to previous message
rjp23 is currently offline  rjp23
Messages: 97
Registered: June 2010
Member
I have (quite a complicated) binary file that I need to read in.

I have a fortran reader for it but would like to re-write this in IDL.

I assume for most of the variables I can just use the corresponding one in IDL but how would I define a string of a specific size in IDL?

The data needs to be:

CHARACTER(len=16) :: description

Can I just use the string format code to define a 16 character string like

a=string('', format='(A16)')

Or do I need to do something differently?

Cheers
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: band selection
Next Topic: Label dots in a Ternary plot

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

Current Time: Wed Oct 08 18:54:17 PDT 2025

Total time taken to generate the page: 0.00458 seconds