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

Home » Public Forums » archive » print .txt files with all my data in columns
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: print .txt files with all my data in columns [message #88634 is a reply to message #88632] Thu, 22 May 2014 01:51 Go to previous messageGo to previous message
carolinaperpina is currently offline  carolinaperpina
Messages: 5
Registered: May 2014
Junior Member
On Thursday, May 22, 2014 10:22:22 AM UTC+2, carolin...@gmail.com wrote:
> Hi all,
>
>
>
> I am quite new using IDL and I would like to merge different arrays just in one .txt file.
>
>
>
> I wrote at the begging of my code:
>
>
>
> CLC_CAPRIfile1990 = odir + country + '_1990_CLC_CAPRI.txt'
>
> openw, 4, CLC_CAPRIfile1990
>
>
>
>
>
> **first array [21,3]
>
> capri_clc1990 = [[long(arableCLC90s)], [long(arableCAPRI1990s)],[long(PC_CLC90s)]
>
>
>
> ***second array [21,3]
>
> capri_clc2000 = [[long(arableCLC00s)], [long(arableCAPRI2000s)],[long(PC_CLC00s)]
>
>
>
> I would like to print an array of [42,3], that's mean that the merging should be in columns (I can accepted also in rows).
>
>
>
>
>
> printf, 4, ******I don not how to do this print.
>
>
>
>
>
> Thank you very much in advance.
>
> Regards,
>
> Carolina



Hi Fabien,
First of all, thank you very much for replying me.
Yes, I thought at the beginning to use write_csv but I do not how to write the code, could you help me please?. It should be something like....

capri_clc1990 = [[long(arableCLC90s)], [long(arableCAPRI1990s)],[long(PC_CLC90s)]

capri_clc2000 = [[long(arableCLC00s)], [long(arableCAPRI2000s)],[long(PC_CLC00s)]



csv_CLC_CAPRI= odir + country + '_CLC_CAPRI90.csv' ***file name

write_csv, csv_CLC_CAPRI, ***** I do not what to write he...

Thank you very much.
Carolina
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: continuous changing shape of plotting symbol
Next Topic: IDLWAVE history savefile

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

Current Time: Fri Oct 10 05:48:07 PDT 2025

Total time taken to generate the page: 0.88314 seconds