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

Home » Public Forums » archive » Saving array into column fomratted text file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Saving array into column fomratted text file [message #8671] Wed, 09 April 1997 00:00 Go to previous message
mila is currently offline  mila
Messages: 5
Registered: July 1996
Junior Member
I have IDL arrays, that I would like to write out to a text file
so that it retains the dimensionality in the form of rows and columns.
For example, if I have an array test(360,180), I would like to write it out
to a text file with 360 columns and 180 rows.
Anyone have any better suggestions than the solution I am using below:

openw,1,'output_file'
printf,1,test,format=`(360f6.2)'
close,1

I have found programs in IDL on the net that read column formatted files,
but havent found any that write out to columns.
I would appreciate any tips.

Thanks,
Mila Mitra
[Message index]
 
Read Message
Read Message
Previous Topic: Searching for fast linear interpolation routine
Next Topic: IDL not a typewriter?

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

Current Time: Fri Oct 10 07:22:41 PDT 2025

Total time taken to generate the page: 0.87425 seconds