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

Home » Public Forums » archive » Re: Is there an easy way to write and read (large) structure?
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: Is there an easy way to write and read (large) structure? [message #63588 is a reply to message #63585] Thu, 13 November 2008 23:52 Go to previous message
Chris[6] is currently offline  Chris[6]
Messages: 84
Registered: July 2008
Member
You can use the WIDTH keyword in openw to override IDL's default of 80
columns per line.

You can also save / load binary copies of the structure using the SAVE/
RESTORE procedures. If you aren't doing anything else with the ascii
files, this is more efficient in both space and read/write time. I
tried this out by writing findgen(5000,5000) to file - using SAVE was
5 times faster and resulted in a file that was 4 times smaller.


Chris
[Message index]
 
Read Message
Read Message
Previous Topic: conditional operator
Next Topic: array of Julian Days

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

Current Time: Sat Oct 11 11:07:10 PDT 2025

Total time taken to generate the page: 1.20007 seconds