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

Home » Public Forums » archive » Re: newbie question.. again :)
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: newbie question.. again :) [message #35751 is a reply to message #35747] Wed, 09 July 2003 07:28 Go to previous messageGo to previous message
Timm Weitkamp is currently offline  Timm Weitkamp
Messages: 66
Registered: August 2002
Member
Today at 09:31 -0400, Haje Korth wrote:

> Alex,
> I am not quite sure what you are trying to do and I for sure do not know
> what a .csv file is

I think a .csv file is a "comma-separated values" Ascii file.

> but here is an idea: The area you extravt is a 2-d
> array with dimensions xdim and ydim if rectangular. If I understand you
> correctly your number of collumns x is xdim*ydim. In order to map the 2d
> array into a 1d array, which is one row in your file, you use
> 'reform(2d-array,xdim*ydim)'. In order to process all your files you just
> loop through them.

Or, even simpler (assuming that you want to map a 2D array "a" into a 1D
array "b"): b = a[*].

Alex: I understand you already wrote some code but it doesn't work as you
would like it to. Would you mind posting it and pointing out to us the
part where you're stuck?

Timm

--
Timm Weitkamp <http://people.web.psi.ch/weitkamp>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL 6.0 release schedule
Next Topic: UNIX v. Windows Filepaths

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

Current Time: Sat Oct 11 11:48:16 PDT 2025

Total time taken to generate the page: 0.16070 seconds