| Re: how can I read many columns and rows [message #92951 is a reply to message #92950] |
Thu, 31 March 2016 13:29   |
Paul Van Delst[1]
Messages: 1157 Registered: April 2002
|
Senior Member |
|
|
On 03/31/16 15:50, Ali Gamal wrote:
> On Tuesday, March 29, 2016 at 8:21:02 PM UTC+2, Ali Gamal wrote:
>> Hi everyone,
>> I have data file contains 30 column, every column contains 20 row.
>> How can I read this file ?
>
> I change dimension to array fltarr(6,50) for test only. It is another
> file. my new file is 6 columns and every column contains 50 row. I guess
> this problem because my data as this form
>
> 1.402E+00 3.700E-01 1.443E+00
> 1.403E+00 3.711E-01 1.443E+00
[snip]
> 9.932E-01 9.921E-01 9.917E-01
> 9.928E-01 9.918E-01 9.915E-01
> 9.948E-01 9.942E-01 9.941E-01
> 9.966E-01 9.963E-01 9.962E-01
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> I guess my program take column 1 and column 4 as one column. what is
> the true way to do it?
>
I couldn't find any primers online at Harris but you could have a look
at: http://www.harrisgeospatial.com/docs/idl_programming.html
Or, for reasonably priced books:
http://www.amazon.com/Practical-IDL-Programming-Liam-Gumley/ dp/1558607005
or
http://www.idlcoyote.com/coyotestore/index.php?main_page=pro duct_info&cPath=66&products_id=183
Please understand I'm not trying to be mean spirited here - I really
think you would benefit from some reading material about IDL programming.
cheers,
paulv
|
|
|
|