<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>&nbsp;<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&nbsp; or .xls file. Could you please help me?<BR>&nbsp;<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>&nbsp;Regards,<BR>&nbsp;<BR>T.<BR>&nbsp;<BR><div><div id="SkyDrivePlaceholder"></div><br><br>&gt; 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>&gt; -------------- next part --------------<br>&gt; An HTML attachment was scrubbed...<br>&gt; URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130208/ca3e352a/attachment-0001.html <br>&gt; <br>&gt; ------------------------------<br>&gt; <br>&gt; Message: 2<br>&gt; Date: Fri, 8 Feb 2013 10:37:44 -0200<br>&gt; From: RafaelCB &lt;rafael.ciram@gmail.com&gt;<br>&gt; Subject: Re: [gradsusr] how put the output numbers in an excel or a<br>&gt;         text file<br>&gt; To: GrADS Users Forum &lt;gradsusr@gradsusr.org&gt;<br>&gt; Message-ID:<br>&gt;         &lt;CAAgZ0pL8bQHs235nXYfTZzKJwEj1uPot9PrUbnz2evQGQowCAA@mail.gmail.com&gt;<br>&gt; Content-Type: text/plain; charset="iso-8859-1"<br>&gt; <br>&gt; An example follows:<br>&gt; <br>&gt; 'd gr2stn(rh.1,min.2)'<br>&gt; rh=sublin(result,_n2)<br>&gt; 'd gr2stn(u10.1,min.2)'<br>&gt; u1=sublin(result,_n2)<br>&gt; '!echo 'dia','hora','_sig','lo','la','rh','u1' | sed s@\ @@g &gt;&gt; verific.dat'<br>&gt; <br>&gt; I have helped.<br>&gt; <br>&gt; Regards.<br>&gt; -- <br>&gt; *Rafael Censi Borges<br>&gt; Meteorologia - Epagri/Ciram<br>&gt; +55 (48)3665-5130<br>&gt; http://ciram.epagri.sc.gov.br*<br>&gt; <br>&gt; <br>&gt; 2013/2/8 T. haghroosta &lt;haghroosta@hotmail.com&gt;<br>&gt; <br>&gt; &gt;  Dear All,<br>&gt; &gt;<br>&gt; &gt; I have a script to
 calculate the average of different groups of numbers.<br>&gt; &gt; How can I show the outputs of the script running, contain numbers, in an<br>&gt; &gt; excel or a text file?<br>&gt; &gt;<br>&gt; &gt; Regards,<br>&gt; &gt;<br>&gt; &gt; T.<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; gradsusr mailing list<br>&gt; &gt; gradsusr@gradsusr.org<br>&gt; &gt; http://gradsusr.org/mailman/listinfo/gradsusr<br>&gt; &gt;<br>&gt; &gt;<br>&gt; -------------- next part --------------<br>&gt; An HTML attachment was scrubbed...<br>&gt; URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130208/d9812b61/attachment-0001.html <br>&gt; <br>&gt; ------------------------------<br>&gt; <br>&gt; _______________________________________________<br>&gt; gradsusr mailing list<br>&gt; gradsusr@gradsusr.org<br>&gt; http://gradsusr.org/mailman/listinfo/gradsusr<br>&gt; <br>&gt; <br>&gt; End of gradsusr Digest, Vol 36, Issue 38<br>&gt; ****************************************<br></div>                                               </div></body>
</html>