<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi Emrullah, <br>Thanks for the insight. But I am still stuck. I did as you had suggested. <br>'open /expr/store_file/04may2011/wrf-outp_d01.ctl'<br>*******<br>'define x1=rainc(t=4)+rainnc(t=4)'<br>'define x2=rainc(t=28)+rainnc(t=28)'<br>'define x3=rainc(t=52)+rainnc(t=52)'<br>'set gxout print'<br>'set prnopts %1.2f 5 1'<br>*********************************<br>* 1. TUMKUR, KORA<br>'set lat 13.44'<br>'set lon 77.06'<br>'d x2-x1'<br>line=sublin(result,2)<br>*dummy=subwrd(line,4)<br>************<br>'d x3-x2'<br>line2 =sublin(result,2)<br>*dummy2 =subwrd(line2,4)<br>*nn = 'KORA : 'dummy' dummy2'<br>nn = 'KORA : 'line' line2'<br>rc=write('/model/uas/test.dat',nn,append)<br>'quit'<br><br> My test.dat file Looks like this. <br><br>KORA : 0.11 line2<br>KORA : 0.11 line2<br>KORA : 0.11 line2<br><br>~<br>~<br>"test.dat" 4 lines, 76 characters<br><br>It is treating line2 as as a string variable. <br><br>Kindly suggest. <br>geeta<br><br><br><br>> From: gradsusr-request@gradsusr.org<br>> Subject: gradsusr Digest, Vol 15, Issue 12<br>> To: gradsusr@gradsusr.org<br>> Date: Sun, 8 May 2011 19:19:19 -0400<br>> <br>> Send gradsusr mailing list submissions to<br>>         gradsusr@gradsusr.org<br>> <br>> To subscribe or unsubscribe via the World Wide Web, visit<br>>         http://gradsusr.org/mailman/listinfo/gradsusr<br>> or, via email, send a message with subject or body 'help' to<br>>         gradsusr-request@gradsusr.org<br>> <br>> You can reach the person managing the list at<br>>         gradsusr-owner@gradsusr.org<br>> <br>> When replying, please edit your Subject line so it is more specific<br>> than "Re: Contents of gradsusr digest..."<br>> <br>> <br>> Today's Topics:<br>> <br>> 1. Re: Velocity potential (tcavazos@cicese.mx)<br>> 2. Re: How to regulate speed of animation from one frame to the<br>> other (Amit Misra)<br>> 3. Re: Query Reg writing two variables colomnwise. (san luo)<br>> 4. Re: Query Reg writing two variables colomnwise. (Emrullah Sonu?)<br>> 5. Re: GrADS-DODs (Garut Lama)<br>> 6. Re: GrADS-DODs (Teddy Allen)<br>> <br>> <br>> ----------------------------------------------------------------------<br>> <br>> Message: 1<br>> Date: Fri, 6 May 2011 08:54:03 -0700<br>> From: tcavazos@cicese.mx<br>> Subject: Re: [gradsusr] Velocity potential<br>> To: krishmet@gmail.com, "GrADS Users Forum" <gradsusr@gradsusr.org><br>> Message-ID:<br>>         <32d0503d893e1fd7619637bbed8e8883.squirrel@arrecife.cicese.mx><br>> Content-Type: text/plain;charset=iso-8859-1<br>> <br>> Hi Krishna,<br>> <br>> Thank you very much !!<br>> <br>> Tereza<br>> <br>> > Hai Tereza,<br>> ><br>> > There is an option in Opengrads to do that. See this link<br>> ><br>> > http://opengrads.org/doc/udxt/fish/<br>> ><br>> ><br>> > --<br>> > Krishnamohan.K.S<br>> > CSIR Research Fellow<br>> > Department Of Atmospheric Sciences<br>> > Cochin University of Science and Technology<br>> > Cochin,India<br>> ><br>> > On Fri, May 6, 2011 at 9:13 AM, <tcavazos@cicese.mx> wrote:<br>> ><br>> >> Hi,<br>> >><br>> >> Does anybody know how (or have a script) to calculate the velocity<br>> >> potential in grads?<br>> >><br>> >> I will appreciate it.<br>> >><br>> >> Tereza Cavazos<br>> >> Dept. of Physical Oceanography<br>> >> CICESE<br>> >> Baja California, Mexico<br>> >><br>> >><br>> >> _______________________________________________<br>> >> gradsusr mailing list<br>> >> gradsusr@gradsusr.org<br>> >> http://gradsusr.org/mailman/listinfo/gradsusr<br>> >><br>> > _______________________________________________<br>> > gradsusr mailing list<br>> > gradsusr@gradsusr.org<br>> > http://gradsusr.org/mailman/listinfo/gradsusr<br>> ><br>> <br>> <br>> <br>> <br>> ------------------------------<br>> <br>> Message: 2<br>> Date: Sat, 7 May 2011 13:08:17 +0530<br>> From: Amit Misra <amisra.amit@gmail.com><br>> Subject: Re: [gradsusr] How to regulate speed of animation from one<br>>         frame to the other<br>> To: GrADS Users Forum <gradsusr@gradsusr.org><br>> Message-ID: <BANLkTi=ubSqg0ZNG6hwjcGiE1n1_F8t5Eg@mail.gmail.com><br>> Content-Type: text/plain; charset="iso-8859-1"<br>> <br>> 1. How can I regulate the speed of an animation?<br>> <br>> >> If you are using the 'convert' utility, you can use the 'delay' option to<br>> control the speed of animation.<br>> <br>> <br>> 2. How can I import an GrADS animation to run in the same way in a<br>> PowerPoint presentation?<br>> <br>> >> You can save your animation in 'gif' format and paste in the PowerPoint<br>> slide.<br>> <br>> <br>> Best Wishes<br>> <br>> Amit Misra<br>> Indian Institute of Technology<br>> Kanpur (India)<br>> <br>> =================================================================================<br>> <br>> <br>> <br>> On Fri, May 6, 2011 at 8:45 AM, Chidzambwa Simba <<br>> Simba.Chidzambwa@climatechange.qld.gov.au> wrote:<br>> <br>> > 1. How can I regulate the speed of an animation?<br>> > 2. How can I import an GrADS animation to run in the same way in a<br>> > PowerPoint presentation?<br>> ><br>> > Simba<br>> ><br>> ><br>> ><br>> > +----------------------------------------------------------------+<br>> ><br>> > Think B4U Print<br>> ><br>> > 1 ream of paper = 6% of a tree and 5.4kg CO2 in the atmosphere<br>> ><br>> > 3 sheets of A4 paper = 1 litre of water<br>> ><br>> > +----------------------------------------------------------------+<br>> ><br>> ><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/20110507/9ea664be/attachment-0001.html <br>> <br>> ------------------------------<br>> <br>> Message: 3<br>> Date: Sun, 8 May 2011 08:29:20 +0800<br>> From: san luo <anthony.luosan@gmail.com><br>> Subject: Re: [gradsusr] Query Reg writing two variables colomnwise.<br>> To: GrADS Users Forum <gradsusr@gradsusr.org><br>> Message-ID: <BANLkTimWzbOizu+QwnXDCYfn5gbsFEbx5g@mail.gmail.com><br>> Content-Type: text/plain; charset="iso-8859-1"<br>> <br>> Dear Geeta Geeta;<br>> Use FORTRAN. It wil lbe easy!<br>> -------------- next part --------------<br>> An HTML attachment was scrubbed...<br>> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110508/5cb96a6d/attachment-0001.html <br>> <br>> ------------------------------<br>> <br>> Message: 4<br>> Date: Sun, 8 May 2011 09:39:04 +0300<br>> From: Emrullah Sonu? <esonuc@gmail.com><br>> Subject: Re: [gradsusr] Query Reg writing two variables colomnwise.<br>> To: GrADS Users Forum <gradsusr@gradsusr.org><br>> Message-ID: <BANLkTi=-EKvuE5u-RGq2kTZy=uQiDt1L-A@mail.gmail.com><br>> Content-Type: text/plain; charset="iso-8859-1"<br>> <br>> Hi Geeta;<br>> Try this:<br>> -------------------<br>> 'set lat 13.44'<br>> 'set lon 77.06'<br>> 'd x2-x1'<br>> line=sublin(result,2)<br>> dummy=subwrd(line,4)<br>> <br>> <br>> 'd x3-x2'<br>> line2=sublin(result,2)<br>> dummy2=subwrd(line2,4)<br>> <br>> nn = 'KORA : 'dummy' 'dummy2<br>> rc=write('/model/uas/rain48.dat',nn,append)<br>> ---------------------------------------------------------------<br>> <br>> <br>> On Fri, May 6, 2011 at 12:07 PM, Geeta Geeta <geeta124@hotmail.com> wrote:<br>> <br>> > Hello all,<br>> > I have posted this problem a few days back also. But I did not get any<br>> > response. So I am repeating it again.<br>> ><br>> > My problem is that I have to write TWO variables at a few station<br>> > locations. It looks like this<br>> > *STN RAINFALL TEMP*<br>> > KORA : 0.00 30.1<br>> > HEBBURU : 0.13 30.2<br>> > TURUVEKERE : 0.00 29.3<br>> > MAYASANDRA : 0.00<br>> > KUNIGAL : 3.60<br>> > YADIYUR : 3.60<br>> > GUTTAL : 0.00<br>> > KARJIGI : 0.00<br>> > RANEEBENNUR: 0.00<br>> > KUPPELUR : 0.00<br>> > HIREKERUR : 0.00<br>> > RATTIHALLI : 0.00<br>> ><br>> > Following script is being used for extracting the Rainfall amounts.<br>> > * 1. TUMKUR, KORA<br>> > 'set lat 13.44'<br>> > 'set lon 77.06'<br>> > 'd x2-x1'<br>> > dummy=sublin(result,2)<br>> > rc=write('/model/uas/rain24.dat','KORA : 'dummy,append)<br>> > 'd x3-x2'<br>> > dummy=sublin(result,2)<br>> > rc=write('/model/uas/rain48.dat','KORA : 'dummy,append)<br>> > *********************<br>> ><br>> > Grads writes only ONE Variable. I am unable to make Grads write TWO<br>> > variables simultaneously in file using Grads.<br>> ><br>> > Kindly help me.<br>> > geeta<br>> ><br>> ><br>> > _______________________________________________<br>> > gradsusr mailing list<br>> > gradsusr@gradsusr.org<br>> > http://gradsusr.org/mailman/listinfo/gradsusr<br>> ><br>> ><br>> <br>> ---------------------------------------------------------------------<br>> Emrullah SONU? (esonuc@gmail.com)<br>> Karabuk University<br>> Faculty Of Engineering<br>> Department Of Computer Engineering<br>> Baliklarkayasi Mevkii, 78050 Karabuk, TURKEY<br>> Tel: +90-370-4332021 Fax: +90-370-4333290<br>> ---------------------------------------------------------------------<br>> -------------- next part --------------<br>> An HTML attachment was scrubbed...<br>> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110508/8a5c548f/attachment-0001.html <br>> <br>> ------------------------------<br>> <br>> Message: 5<br>> Date: Mon, 9 May 2011 09:55:10 +0800<br>> From: Garut Lama <garutlama@gmail.com><br>> Subject: Re: [gradsusr] GrADS-DODs<br>> To: GrADS Users Forum <gradsusr@gradsusr.org><br>> Message-ID: <BANLkTinJR-txBPRKsUJMULcmstWpLBAkJA@mail.gmail.com><br>> Content-Type: text/plain; charset="iso-8859-1"<br>> <br>> Hello Teddy,<br>> <br>> I'm using windows 7 and installed opengrads from the<br>> grads-2.0.a9.oga.1-win32_superpack.exe.<br>> <http://sourceforge.net/projects/opengrads/files/grads2-windows/2.0.a9.oga.1/grads-2.0.a9.oga.1-win32_superpack.exe/download>I<br>> have no problem doing sdfopen<br>> http://iridl.ldeo.columbia.edu/SOURCES/.NOAA/.NCEP-NCAR/.CDAS-1/.MONTHLY/.Intrinsic/.PressureLevel/.u/P/%28925%29VALUES/T/%28Jan%201949%29%28Jan%201950%29RANGEEDGES/Y/%2890N%29%2850N%29RANGEEDGES/dods<br>> <br>> As John suggested, try a reinstall or redownload and reinstall.<br>> <br>> <br>> Garut<br>> <br>> On Fri, May 6, 2011 at 10:38 PM, Huddleston, John <<br>> Huddleston@cira.colostate.edu> wrote:<br>> <br>> > Teddy<br>> ><br>> ><br>> ><br>> > I build the Cygwin version http://www.iges.org/grads/downloads.html of<br>> > GrADS and it has no problem with this data.<br>> ><br>> ><br>> ><br>> > The OpenGrads version is also a Cygwin build done by Arlindo.<br>> ><br>> ><br>> ><br>> > Are you sure that the installation went OK? Try a re-install.<br>> ><br>> ><br>> ><br>> > John<br>> ><br>> ><br>> ><br>> > *From:* gradsusr-bounces@gradsusr.org [mailto:<br>> > gradsusr-bounces@gradsusr.org] *On Behalf Of *Teddy Allen<br>> > *Sent:* Thursday, May 05, 2011 1:06 PM<br>> > *To:* GrADS Users Forum<br>> > *Subject:* [gradsusr] GrADS-DODs<br>> ><br>> ><br>> ><br>> > I have downloaded the grads-2.0.a9.oga.1-win32_superpack.exe <http://sourceforge.net/projects/opengrads/files/grads2-windows/2.0.a9.oga.1/grads-2.0.a9.oga.1-win32_superpack.exe/download> onto a<br>> > windows 7 computer and am having difficulty in locating a DODs compatible<br>> > application. I seem to have two options for running GrADS: 1) OpenGrADS and<br>> > 2) GrADS prompt. Both display "opendap-grids" upon startup, but<br>> > unfortunately none seem to accept my dods web address:<br>> ><br>> ><br>> ><br>> > sdfopen<br>> > http://iridl.ldeo.columbia.edu/SOURCES/.NOAA/.NCEP-NCAR/.CDAS-1/.MONTHLY/.Intrinsic/.PressureLevel/.u/P/%28925%29VALUES/T/%28Jan%201949%29%28Jan%201950%29RANGEEDGES/Y/%2890N%29%2850N%29RANGEEDGES/dods<br>> ><br>> ><br>> ><br>> > Can anybody relay some assistance with this? In previous versions of GrADS<br>> > this option was a cinch. Am I missing something or is there a new method for<br>> > version 2.0.9?<br>> ><br>> > Thank you,<br>> ><br>> > teddy allen<br>> ><br>> ><br>> > http://www.teddyallen.com<br>> ><br>> > "To move quickly, go alone. To move far, go *together*."<br>> ><br>> > African Proverb<br>> ><br>> ><br>> ><br>> ><br>> ><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/20110509/d656129c/attachment-0001.html <br>> <br>> ------------------------------<br>> <br>> Message: 6<br>> Date: Sun, 8 May 2011 20:30:29 -0700 (PDT)<br>> From: Teddy Allen <teddyallen@yahoo.com><br>> Subject: Re: [gradsusr] GrADS-DODs<br>> To: GrADS Users Forum <gradsusr@gradsusr.org><br>> Message-ID: <897439.71700.qm@web39421.mail.mud.yahoo.com><br>> Content-Type: text/plain; charset="iso-8859-1"<br>> <br>> Yes, the reinstall worked. Thank you?to all who replied.<br>> Sincerely,<br>> teddy <br>> ?<br>> http://www.teddyallen.com<br>> "To move quickly, go alone. To move far, go together." <br>> African Proverb<br>> <br>> <br>> <br>> <br>> ________________________________<br>> From: Garut Lama <garutlama@gmail.com><br>> To: GrADS Users Forum <gradsusr@gradsusr.org><br>> Sent: Sun, May 8, 2011 9:55:10 PM<br>> Subject: Re: [gradsusr] GrADS-DODs<br>> <br>> Hello Teddy,<br>> <br>> I'm using windows 7 and installed opengrads from the? <br>> grads-2.0.a9.oga.1-win32_superpack.exe. I have no problem doing sdfopen <br>> http://iridl.ldeo.columbia.edu/SOURCES/.NOAA/.NCEP-NCAR/.CDAS-1/.MONTHLY/.Intrinsic/.PressureLevel/.u/P/%28925%29VALUES/T/%28Jan%201949%29%28Jan%201950%29RANGEEDGES/Y/%2890N%29%2850N%29RANGEEDGES/dods<br>> <br>> <br>> As John suggested, try a? reinstall or redownload and reinstall.<br>> <br>> <br>> Garut<br>> <br>> <br>> On Fri, May 6, 2011 at 10:38 PM, Huddleston, John <br>> <Huddleston@cira.colostate.edu> wrote:<br>> <br>> Teddy<br>> >?<br>> >I build the Cygwin version http://www.iges.org/grads/downloads.html of GrADS and <br>> >it has no problem with this data.<br>> >?<br>> >The OpenGrads version is also a Cygwin build done by Arlindo.<br>> >?<br>> >Are you sure that the installation went OK? Try a re-install.? <br>> >?<br>> >John<br>> >?<br>> >From:gradsusr-bounces@gradsusr.org [mailto:gradsusr-bounces@gradsusr.org] On <br>> >Behalf Of Teddy Allen<br>> >Sent: Thursday, May 05, 2011 1:06 PM<br>> >To: GrADS Users Forum<br>> >Subject: [gradsusr] GrADS-DODs<br>> >?<br>> >I have downloaded the grads-2.0.a9.oga.1-win32_superpack.exe??onto?a windows 7 <br>> >computer and am having?difficulty in?locating a DODs compatible application. I <br>> >seem to have two options for running GrADS: 1) OpenGrADS and 2) GrADS prompt. <br>> >Both display "opendap-grids" upon startup, but unfortunately none seem to accept <br>> >my dods web address:<br>> >?<br>> >sdfopen <br>> >http://iridl.ldeo.columbia.edu/SOURCES/.NOAA/.NCEP-NCAR/.CDAS-1/.MONTHLY/.Intrinsic/.PressureLevel/.u/P/%28925%29VALUES/T/%28Jan%201949%29%28Jan%201950%29RANGEEDGES/Y/%2890N%29%2850N%29RANGEEDGES/dods<br>> ><br>> >?<br>> >Can anybody relay some assistance with this? In previous versions of GrADS <br>> >this?option was a cinch. Am I missing something or is there a new method for <br>> >version 2.0.9?<br>> >Thank you,<br>> >teddy allen<br>> >?<br>> >http://www.teddyallen.com<br>> >"To move quickly, go alone. To move far, go together." <br>> >African Proverb<br>> >?<br>> ><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/20110508/a144affc/attachment.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 15, Issue 12<br>> ****************************************<br>                                            </body>
</html>