<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Dear Ricardo,<BR> <BR>Thanks a lot. Yes, it works.<BR> <BR>Best regards,<BR> <BR>T.<br><br>> ------------------------------<br>> <br>> Message: 2<br>> Date: Tue, 12 Feb 2013 17:50:08 -0300<br>> From: "Ricardo Hallak" <hallak@model.iag.usp.br><br>> Subject: Re: [gradsusr] how to put the output numbers in an excel or a<br>>         text        file<br>> To: GrADS Users Forum <gradsusr@gradsusr.org><br>> Message-ID: <20130212203638.M95719@model.iag.usp.br><br>> Content-Type: text/plain; charset="iso-8859-1"<br>> <br>> T.,<br>> <br>> I think I've identified the problem in your script.<br>> <br>> Please, try this:<br>> <br>> vars=r1','r2','r3','r4','f1','f2','f3','f4','f5<br>> res=write('filename.txt', vars ,append)<br>> <br>> That is, each comma has to be put between quotes, because they are understood as strings by the script interpreter.<br>> The new script variable vars means (for the script) something like that:<br>> 34.5,52.3,68.9,.........<br>> <br>> Alternatively:<br>> <br>> res=wwrite('filename.txt',r1','r2','r3','r4','f1','f2','f3','f4','f5,append)<br>> <br>> Hope this helps,<br>> Ricardo<br>> <br>> On Mon, 11 Feb 2013 18:32:52 +0000, T. haghroosta wrote<br>> > Dear Ricardo,<br>> > ?<br>> > It works, but I have 10 oputputs and I tried your suggestion in this way:<br>> > ?<br>> > res=write('filename.txt', r1, r2, r3, r4, r5, f1, f2, f3 ,f4 ,f5 ,append)<br>> > ?<br>> > Which I used for all outputs the "subwrd(result,4)". The outputs are shown in the window, but the txt file just shows the r1 and f1!? What is the problem?<br>> > ?<br>> > Regards,<br>> > ?<br>> > T.<br>> > ?<br>> > <br>> > > ------------------------------<br>> > > <br>> > > Message: 8<br>> > > Date: Mon, 11 Feb 2013 12:50:35 -0300<br>> > > From: "Ricardo Hallak" <hallak@model.iag.usp.br><br>> > >
Subject: Re: [gradsusr] how to put the output numbers in an excel or a<br>> > > text file<br>> > > To: GrADS Users Forum <gradsusr@gradsusr.org><br>> > > Message-ID: <20130211154118.M8968@model.iag.usp.br><br>> > > Content-Type: text/plain; charset="iso-8859-1"<br>> > > <br>> > > Dear T.,<br>> > > try this:<br>> > > <br>> > > 'reinit'<br>> > >!; 'open E:\test.ctl'<br>> > > 'set t 1'<br>> > > 'set lat 10'<br>> > > 'set lon 135'<br>> > > 'define r1= sst'<br>> > > 'set t 2'<br>> > > 'set lat 20'<br>> > > 'set lon 100'<br>> > > 'define r2= sst'<br>> > > 'define aver= (r1+r2)/2'<br>> > > 'd aver'<br>> > > newvar=subwrd(result,4)<br>> > > res=write('filename.txt',newvar,append)<br>> > > 'quit'<br>> > > <br>> > > Hope this helps.<br>> > > Ricardo<br>> > > <br>> > > On Mon, 11 Feb 2013 13:04:58 +0000, T. haghroosta wrote<br>> > > > ?<br>> > > > <br>> > > > <br>> > > > Dear?All,<br>> > > > ?<br>> > > > I?wrote this script and I would like to see the amount of "aver" as an output in a .txt? or .xls file. Could you please help me?<br>> > > > ?<br>> > > > 'reinit'<br>> > > > 'open E:\test.ctl'<br>> > > > 'set t 1'<br>> > > > 'set lat 10'<br>> > > > 'set lon 135'<br>> > > > 'define r1= sst'<br>> > > > 'set t 2'<br>> > > > 'set lat 20'<br>> > > > 'set lon 100'<br>> > > > 'define r2= sst'<br>> > > > 'define av!er= (r1+r2)/2'<br>> > > > <br>> > > > ?Regards,<br>> > > > ?<br>> > > > T.<br>> > > > ?<br>> > > > <br>> > > > > Dear All, I have a script to calculate the averag
e of different groups of numbers. How can I show the outputs of the script running, contain numbers, in an excel or a text file? Regards, T. <br>> > > > > -------------- next part --------------<br>> > > > > An HTML attachment was scrubbed...<br>> > > > > URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130208/ca3e352a/attachment-0001.html <br>> > > > > <br>> > > > > ------------------------------<br>> > > > > <br>> > > > > Message: 2<br>> > > > > Date: Fri, 8 !Feb 2013 10:37:44 -0200<br>> > > > > From: RafaelCB <rafael.ciram@gmail.com><br>> > > > > Subject: Re: [gradsusr] how put the output numbers in an excel or a<br>> > > > > text file<br>> > > > > To: GrADS Users Forum <gradsusr@gradsusr.org><br>> > > > > Message-ID:<br>> > > > > <CAAgZ0pL8bQHs235nXYfTZzKJwEj1uPot9PrUbnz2!evQGQowCAA@mail.gmail.com><br>> > > > > Content-Type: text/plain; charset="iso-8859-1"<br>> > > > > <br>> > > > > An example follows:<br>> > > > > <br>> > > > > 'd gr2stn(rh.1,min.2)'<br>> > > > > rh=sublin(result,_n2)<br>> > > > > 'd gr2stn(u10.1,min.2)'<br>> > > > > u1=sublin(result,_n2)<br>> > > > > '!echo 'dia','hora','_sig','lo','la','rh','u1' | sed s@\ @@g >> verific.dat'<br>> > > > > <br>> > > > > I have helped.<br>> > > > > <br>> > > > > Regards.<br>> > > > > -- <br>> > > > > *Rafael Censi Borges<br>> > > > > Meteorologia - Epagri/Ciram<br>> > > > > +55 (48)3665-5130<br>> > > > > http://ciram.epagri.sc.gov.br*<br>> > > > > <br>> > > > > <br>> > > > > 2013/2/8 T. haghroosta <haghroos
ta@hotmail.com><br>> > > > > <br>> > > > > > Dear All,<br>> > > > > ><br>> > > > > &g!t; I have a script to calculate the average of differ!ent groups of numbers.<br>> > > > > > How can I show the outputs of the script running, contain numbers, in an<br>> > > > > > excel or a text file?<br>> > > > > ><br>> > > > > > Regards,<br>> > > > > ><br>> > > > > > T.<br>> > > > > ><br>> > > > > > _______________________________________________<br>> > > > > > gradsusr mailing list<br>> > > > > > gradsusr@gradsusr.org<br>> > > > > > http://gradsusr.org/mailman/listinfo/gradsusr<br>> > > > > ><br>> > > > > ><br>> > > > > -------------- next part --------------<br>> > > > > An HTML attachment was scrubbed...<br>> > > > > URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130208/d9812b61/attachment-0001.html <br>> > > > > <br>> > > > > ------------------------------<br>> > > > > <br>> > > > > _______________________________________________<br>> > > > > gradsusr mailing list<br>> > > > > gradsusr@gradsusr.org<br>> > > > > http://gradsusr.!org/mailman/listinfo/gradsusr<br>> > > > > <br>> > > > > <br>> > > > > End of gradsusr Digest, Vol 36, Issue 38<br>> > > > > ****************************************<br>> > > ><br>> > > <br>> > > Ricardo Hallak<br>> > > <br>> > > Departamento de Ci?ncias Atmosf?ricas (ACA) <br>> > > Instituto de Astronomia, Geof?sica e Ci?ncias Atmosf?ricas (IAG) <br>> > > Universidade de S?o Paulo (USP) <br>> > > Rua do M
at?o, 1226 - Cidade Universit?ria - S?o Paulo SP 05508-900 <br>> > > Phone.: +55 (11) 3091-2850; 3091-4703 <br>> > > Fax: +55 (11) 3091-4714<br>> > > <br>> > > <br>> > > -------------- next part --------------<br>> > > An HTML attachment was scrubbed...<br>> > > URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130211/dee40dd3/attachment.html <br>> > > <br>> > > ------------------------------<br>> > > <br>> > > _______________________________________________<br>> > > gradsusr mailing list<br>> > > gradsusr@gradsusr.org<br>> > > http://gradsusr.org/mailman/listinf!o/gradsusr<br>> > > <br>> > > <br>> > > End of gradsusr Digest, Vol 36, Issue 41<br>> > > ****************************************<br>> <br>> Ricardo Hallak<br>> <br>> Departamento de Ci?ncias Atmosf?ricas (ACA) <br>> Instituto de Astronomia, Geof?sica e Ci?ncias Atmosf?ricas (IAG) <br>> Universidade de S?o Paulo (USP) <br>> Rua do Mat?o, 1226 - Cidade Universit?ria - S?o Paulo SP 05508-900 <br>> Phone.: +55 (11) 3091-2850; 3091-4703 <br>> Fax: +55 (11) 3091-4714<br>> <br>> <br>> -------------- next part --------------<br>> An HTML attachment was scrubbed...<br>> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130212/6915b317/attachment-0001.html <br>> <br>> ------------------------------<br>> <br>> Message: 3<br>> Date: Tue, 12 Feb 2013 20:05:17 -0600<br>> From: Jeff Duda <jeffduda319@gmail.com><br>> Subject: Re: [gradsusr] Increasing the font size and bolding a text<br>> To: Arlindo Meque <mequitomz@yahoo.com.br>,        GrADS Users Forum<br>>         <gradsusr@gradsusr.org><br>> Message-ID:<br>>         <CAAig09AfyCJedvc4p-R50jaiqpcQACjiQPx9ZgXXaxAQncGVJg@mail.gmail.com><br>> Content-Type: text/plain; charset="iso-8859-1"<br>> <br>> set strsiz changes font size. set string sets string t
hickness, which is<br>> what you need to "bold" text. There is no regular "bold text" function.<br>> <br>> Jeff Duda<br>> <br>> On Tue, Feb 12, 2013 at 10:41 AM, Arlindo Meque <mequitomz@yahoo.com.br>wrote:<br>> <br>> ><br>> > Dear all,<br>> ><br>> > Just a trivial question:<br>> ><br>> ><br>> > How can I increase the font size in a plot and bold a text (e.g, title<br>> > or label for a figure)?<br>> ><br>> ><br>> > Arlindo<br>> ><br>> ><br>> ><br>> > _______________________________________________<br>> > gradsusr mailing list<br>> > gradsusr@gradsusr.org<br>> > http://gradsusr.org/mailman/listinfo/gradsusr<br>> ><br>> ><br>> <br>> <br>> -- <br>> Jeff Duda<br>> Graduate research assistant<br>> University of Oklahoma School of Meteorology<br>> Center for Analysis and Prediction of Storms<br>> -------------- next part --------------<br>> An HTML attachment was scrubbed...<br>> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130212/34bf670c/attachment-0001.html <br>> <br>> ------------------------------<br>> <br>> Message: 4<br>> Date: Wed, 13 Feb 2013 04:50:19 +0000<br>> From: "T. haghroosta" <haghroosta@hotmail.com><br>> Subject: Re: [gradsusr] how to put the output numbers in an excel or a<br>>         text        file<br>> To: <gradsusr@gradsusr.org><br>> Message-ID: <DUB121-W15DA71FA6DB1A01AC63CDADD080@phx.gbl><br>> Content-Type: text/plain; charset="windows-1256"<br>> <br>> <br>> Dear Ricardo, I have attached my script to the email. All parameters are appeared in terminal window. When I added the res=write('filename.txt',newvar,append)<br>> 'quit'<br>> to the end of the script, I should replace r2,r3,r4,r5,f2,f3,f4,f5 with "newvar" but it dosen't work correctly. I mean after running the script in 'filename.text' I just see r1 and after running again I see one another r1 is
placed beside the previous one! What should I do? Can I write those number in an excel file? Regards, T.<br>> <br>> <br>> > To: GrADS Users Forum <gradsusr@gradsusr.org><br>> > Message-ID: <20130212154325.M14837@model.iag.usp.br><br>> > Content-Type: text/plain; charset="iso-8859-1"<br>> > <br>> > Dear T.,<br>> > <br>> > test each variable value after capturing it with "subwrd(result,4)".<br>> > <br>> > If the values appear on the terminal, they have to appear in the filename.txt too.<br>> > <br>> > Anyway, if you still have problems with this, please, send me a copy of your script. Sometimes it is only a small detail.<br>> > <br>> > Regards,<br>> > Ricardo<br>> > <br>> > On Mon, 11 Feb 2013 18:32:52 +0000, T. haghroosta wrote<br>> > > Dear Ricardo,<br>> > > ?<br>> > > It works, but I have 10 oputputs and I tried your suggestion in this way:<br>> > > ?<br>> > > res=write('filename.txt', r1, r2, r3, r4, r5, f1, f2, f3 ,f4 ,f5 ,append)<br>> > > ?<br>> > > Which I used for all outputs the "subwrd(result,4)". The outputs are shown in the window, but the txt file just shows the r1 and f1!? What is the problem?<br>> > > ?<br>> > > Regards,<br>> > > ?<br>> > > T.                                            <br>> -------------- next part --------------<br>> An HTML attachment was scrubbed...<br>> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130213/e7cb1ada/attachment.html <br>> -------------- next part --------------<br>> A non-text attachment was scrubbed...<br>> Name: E1.gs<br>> Type: application/octet-stream<br>> Size: 923 bytes<br>> Desc: not available<br>> Url : http://gradsusr.org/pipermail/gradsusr/attachments/20130213/e7cb1ada/attachment.obj <br>> <br>> ------------------------------<br>> <br>> _______________________________________________<br>> gradsusr mailing list<br>> g
radsusr@gradsusr.org<br>> http://gradsusr.org/mailman/listinfo/gradsusr<br>> <br>> <br>> End of gradsusr Digest, Vol 36, Issue 45<br>> ****************************************<br><BR>                                            </div></body>
</html>