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

Home » Public Forums » archive » Writting intoFile
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: Writting intoFile [message #92756 is a reply to message #92755] Thu, 25 February 2016 07:49 Go to previous messageGo to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
On 02/25/16 08:23, Sapna Mishra wrote:
> Hello all,
>
> I am dealing with an array say: A FLOAT [2094,5]
> I want to write this array into a file using IDL how should I do that???
>
> Also In second part I want 2094 rows to be saved into another file as a column.
>
> Can anyone help me in this?

Open the file
http://www.harrisgeospatial.com/docs/GET_LUN.html
http://www.harrisgeospatial.com/docs/OPEN.html

Write the data to file
http://www.harrisgeospatial.com/docs/PRINT.html
for ASCII output.

Play around with writing the array directly to file, as well as the
TRANSPOSE of the array to see how that affects the output format:
http://www.harrisgeospatial.com/docs/TRANSPOSE.html

Close the file
http://www.harrisgeospatial.com/docs/FREE_LUN.html
http://www.harrisgeospatial.com/docs/CLOSE.html

cheers,

paulv
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Build 2D array from loops
Next Topic: Check for duplicate locations

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

Current Time: Wed Oct 08 14:11:42 PDT 2025

Total time taken to generate the page: 0.00214 seconds