comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Saving problems
items: Re: Saving problems

Saving problems
type: item
description: Hi! I'm facing a problem with an array of size 150*441 (and this is only the smallest array I'm working with). I need to save this array in a dat files for further analysis. My problem is that IDL only creates five colums in my saved file. I'm using printf to save my file, but writeu doesn't work better. Is there any limitation in saving big arrays? Anyone some ideas? Thanx i.a. Karsten P.S. Im not working very long with IDL, so maybe I'm just making stupid mistakes, but I don't have much time to improve my knowledge.
creator: thiel
date: 1998-11-03T08:00:00-00:00

Re: Saving problems
type: item
description: Karsten Thiel (thiel@physik4.gwdg.de) writes: > Excuse me again, but there's another problem ;-) > > On Tue, 3 Nov 1998 08:45:54 -0700, davidf@dfanning.com (David Fanning) > wrote: > >> IDL uses 80 column widths by default. If you would like some >> other width, use the WIDTH keyword when you open the file >> for writing. > Ok, that's right, but if I write i.e. > openw, ostream, 'matrix.dat', /width=500 > I always receive a syntax error ?!?!? > > Jesus, IDL makes life really hard. Life's always hard if you can't invest some time figuring it out. :-) openw, ostream, 'matrix.dat', width=500 Cheers, David ---------------------------------------------------------- David Fanning, Ph.D. Fanning Software Consulting E-Mail: davidf@dfanning.com Phone: 970-221-0438, Toll-Free Book Orders: 1-888-461-0155 Coyote's Guide to IDL Programming: http://www.dfanning.com/
creator: davidf
date: 1998-11-04T08:00:00-00:00

Re: Saving problems
type: item
description: thiel@physik4.gwdg.de (Karsten Thiel) writes: > Excuse me again, but there's another problem ;-) > > On Tue, 3 Nov 1998 08:45:54 -0700, davidf@dfanning.com (David Fanning) > wrote: > >> IDL uses 80 column widths by default. If you would like some >> other width, use the WIDTH keyword when you open the file >> for writing. > Ok, that's right, but if I write i.e. > openw, ostream, 'matrix.dat', /width=500 > I always receive a syntax error ?!?!? Well, it looks like a syntax error to me, too. Try openw, ostream, 'matrix.dat', width=500 -- David Kastrup Phone: +49-234-700-5570 Email: dak@neuroinformatik.ruhr-uni-bochum.de Fax: +49-234-709-4209 Institut fï¿½r Neuroinformatik, Universitï¿½tsstr. 150, 44780 Bochum, Germany
creator: David Kastrup
date: 1998-11-04T08:00:00-00:00

Re: Saving problems
type: item
description: Darth Vader wrote: > Hi! > I'm facing a problem with an array of size 150*441 (and this is only > the smallest array I'm working with). I need to save this array in a > dat files for further analysis. My problem is that IDL only creates > five colums in my saved file. > I'm using printf to save my file, but writeu doesn't work better. Is > there any limitation in saving big arrays? > Anyone some ideas? > Thanx i.a. > > Karsten > > P.S. Im not working very long with IDL, so maybe I'm just making > stupid mistakes, but I don't have much time to improve my knowledge. Is it necessary to save the data in plain ascii. If not try save,file='data_file.sav',data_varisble Limitatations for ASCII. A string length is only 32767 signs. If you like to make a formatted output it's only possible to format at once 1024 values. Always if you use format the data is handled as string. R.Bauer
creator: R.Bauer
date: 1998-11-24T08:00:00-00:00