<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 RafaelCB,<BR> <BR>Thank you for your reply. Unfortunately I didn't understand the example. I have 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 aver= (r1+r2)/2'<br><br> Regards,<BR> <BR>T.<BR> <BR><div><div id="SkyDrivePlaceholder"></div><br><br>> Dear All, I have a script to calculate the average 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>>         <CAAgZ0pL8bQHs235nXYfTZzKJwEj1uPot9PrUbnz2evQGQowCAA@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 <haghroosta@hotmail.com><br>> <br>> > Dear All,<br>> ><br>> > I have a script to
calculate the average of different 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></div>                                            </div></body>
</html>