<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Dear All, <br>I have tried to fix the x and y as suggested. But I have not got the result . I am posting the message given by grads. <br><br>ga-> reinit<br>No hardcopy metafile open<br>All files closed; all defined objects released<br>All GrADS attributes have been reinitialized<br>ga-> open 12mar2008<br>Scanning description file: 12mar2008<br>Data file gdas2008031200f00 is open as file 1<br>LON set to 0 360 <br>LAT set to -90 90 <br>LEV set to 1000 1000 <br>Time values set: 2008:3:12:0 2008:3:12:0 <br>ga-> set t 1<br>Time values set: 2008:3:12:0 2008:3:12:0 <br>ga-> set x 1<br>LON set to 0 0 <br>ga-> set y 1<br>LAT set to -90 -90 <br>ga-> set lev 1000<br>LEV set to 1000 1000 <br>ga-> set gxout print<br>ga-> d gr2stn(TMPprs,77.5,12.5)<br>Printing Stations -- 1 Reports -- Undef = 9.999e+20<br>xxxxxxxx 77.5 12.5 1000 <br><br>ga-> <br>ga-> d gr2stn(TMPprs,0.0,-90.0)<br>Printing Stations -- 1 Reports -- Undef = 9.999e+20<br>xxxxxxxx 0 -90 1000 <br><br>ga-> d gr2stn(TMPprs,50.0,-45.0)<br>Printing Stations -- 1 Reports -- Undef = 9.999e+20<br>xxxxxxxx 50 -45 1000 <br><br>ga-> <br><br><br>It is printing the lat, lon and the level only. <br>Kindly suggest. <br>geeta<br><br><br><br>> From: gradsusr-request@gradsusr.org<br>> Subject: gradsusr Digest, Vol 2, Issue 34<br>> To: gradsusr@gradsusr.org<br>> Date: Mon, 26 Apr 2010 02:46:40 -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. gr2stn function (Geeta Geeta)<br>> 2. scorr function (Carlos Batista)<br>> 3. Re: gr2stn function (Stephen McMillan)<br>> 4. Re: scorr function (Stephen McMillan)<br>> 5. Unable to read Monthly Northern Hemisphere Sea-Level        Pressure<br>> (DSS SLP Grid-binary) (zowiti@ncst.go.ke)<br>> 6. error in gr2stn script (Geeta Geeta)<br>> <br>> <br>> ----------------------------------------------------------------------<br>> <br>> Message: 1<br>> Date: Sat, 24 Apr 2010 07:45:42 +0000<br>> From: Geeta Geeta <geeta124@hotmail.com><br>> Subject: [gradsusr] gr2stn function<br>> To: <gradsusr@gradsusr.org><br>> Message-ID: <SNT117-W12B787EAD3ABD70AA641528A060@phx.gbl><br>> Content-Type: text/plain; charset="iso-8859-1"<br>> <br>> <br>> Dear all, <br>> Kindly tell me how to use the "gr2stn " function of grads. <br>> How the station data file will look like?<br>> Any suggestions<br>> geeta<br>> <br>>                                            <br>> _________________________________________________________________<br>> The amazing world in sharp snaps<br>> http://news.in.msn.com/gallery/archive.aspx<br>> -------------- next part --------------<br>> An HTML attachment was scrubbed...<br>> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100424/61b8f017/attachment-0001.html <br>> <br>> ------------------------------<br>> <br>> Message: 2<br>> Date: Sat, 24 Apr 2010 11:02:31 -0300<br>> From: Carlos Batista <krlosbatist@gmail.com><br>> Subject: [gradsusr] scorr function<br>> To: gradsusr@gradsusr.org<br>> Message-ID:<br>>         <y2gdd4d468f1004240702zaf186fd7ufa21b4b504df48a1@mail.gmail.com><br>> Content-Type: text/plain; charset="iso-8859-1"<br>> <br>> Dear all,<br>> Kindly tell me how to use the "scorr " function of grads.<br>> I don't how use its this function for to do correlation between<br>> precipitation and flow rivers. Someone know some gs for to do correlations<br>> between this data, please, useding the scorr function and other functions ?<br>> Any suggestions<br>> Krlos<br>> e-mail; krlosbatist@gmail.com<br>> -------------- next part --------------<br>> An HTML attachment was scrubbed...<br>> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100424/c4d8f6e8/attachment-0001.html <br>> <br>> ------------------------------<br>> <br>> Message: 3<br>> Date: Sat, 24 Apr 2010 10:42:04 -0400<br>> From: Stephen McMillan <smcmillan@planalytics.com><br>> Subject: Re: [gradsusr] gr2stn function<br>> To: GrADS Users Forum <gradsusr@gradsusr.org><br>> Message-ID:<br>>         <s2u1f726e2f1004240742j1329b506kcf3e48202ec2924c@mail.gmail.com><br>> Content-Type: text/plain; charset="iso-8859-1"<br>> <br>> Dear geeta,<br>> Please see this post on the the gradsusr archives:<br>> http://gradsusr.org/pipermail/gradsusr/2010-March/000077.html<br>> You can search for additional posts at<br>> http://gradsusr.org/pipermail/gradsusr/<br>> GrADS documentation at: http://sidata.org/grads/gadoc/gradfuncgr2stn.html<br>> <br>> Good luck--<br>> Stephen McMillan<br>> <br>> On Sat, Apr 24, 2010 at 3:45 AM, Geeta Geeta <geeta124@hotmail.com> wrote:<br>> <br>> > Dear all,<br>> > Kindly tell me how to use the "gr2stn " function of grads.<br>> > How the station data file will look like?<br>> > Any suggestions<br>> > geeta<br>> ><br>> ><br>> > ------------------------------<br>> > Catch the changing security environment Get it now.<http://news.in.msn.com/internalsecurity/><br>> ><br>> > _______________________________________________<br>> > gradsusr mailing list<br>> > gradsusr@gradsusr.org<br>> > http://gradsusr.org/mailman/listinfo/gradsusr<br>> ><br>> ><br>> <br>> ***************************************************<br>> The information contained in this e-mail message <br>> is intended only for the use of the recipient(s) <br>> named above and may contain information that is <br>> privileged, confidential, and/or proprietary. <br>> If you are not the intended recipient, you may not<br>> review, copy or distribute this message. If you have<br>> received this communication in error, please notify <br>> the sender immediately by e-mail, and delete the original message.<br>> ***************************************************<br>> -------------- next part --------------<br>> An HTML attachment was scrubbed...<br>> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100424/591f216e/attachment-0001.html <br>> <br>> ------------------------------<br>> <br>> Message: 4<br>> Date: Sat, 24 Apr 2010 12:03:04 -0400<br>> From: Stephen McMillan <smcmillan@planalytics.com><br>> Subject: Re: [gradsusr] scorr function<br>> To: GrADS Users Forum <gradsusr@gradsusr.org><br>> Message-ID:<br>>         <j2m1f726e2f1004240903q63515e10pcba71b2095589713@mail.gmail.com><br>> Content-Type: text/plain; charset="iso-8859-1"<br>> <br>> Dear Krlos,<br>> If you haven't already, first review the correct syntax and example in the<br>> GrADS Documentation Index: http://sidata.org/grads/gadoc/gradfuncscorr.html<br>> Other functions can be found in the same Documentation Index.<br>> <br>> The basic idea is that you have two previously defined variables, whose<br>> horizontal dimensions both include the geographical area you wish to<br>> spatially correlate. For example, let's say you have two variables var1 and<br>> var2 and you wanted to correlate them over a 10 x 10 degree domain over<br>> somewhere at a fixed time:<br>> 'd scorr(var1,var2,lon=-90,lon=-80,lat=30,lat=40)'<br>> should give you something like this:<br>> result value = -0.2356<br>> You could capture above value in script by including this after display<br>> command:<br>> corr=subwrd(result,4)<br>> You can also create a time loop of correlations, 50 timesteps for example:<br>> 'set t 1 50'<br>> 'd tloop(scorr(var1,var2,....)'<br>> Create a correlation time series of above loop:<br>> 'define corrts=tloop(scorr(var1,var2,...)'<br>> Display the time series:<br>> 'set x 1';'set y 1'<br>> 'd corrts'<br>> <br>> The tcorr function (see http://sidata.org/grads/gadoc/gradfunctcorr.html)<br>> may be more appropriate for correlating your data, especially if they are<br>> time series at a fixed point.<br>> <br>> A search of the GrADS user archive (http://gradsusr.org/pipermail/gradsusr/)<br>> may yield more appropriate answers.<br>> <br>> Best wishes--<br>> Stephen McMillan<br>> <br>> On Sat, Apr 24, 2010 at 10:02 AM, Carlos Batista <krlosbatist@gmail.com>wrote:<br>> <br>> > Dear all,<br>> > Kindly tell me how to use the "scorr " function of grads.<br>> > I don't how use its this function for to do correlation between<br>> > precipitation and flow rivers. Someone know some gs for to do correlations<br>> > between this data, please, useding the scorr function and other functions ?<br>> > Any suggestions<br>> > Krlos<br>> > e-mail; krlosbatist@gmail.com<br>> ><br>> ><br>> > _______________________________________________<br>> > gradsusr mailing list<br>> > gradsusr@gradsusr.org<br>> > http://gradsusr.org/mailman/listinfo/gradsusr<br>> ><br>> ><br>> <br>> ***************************************************<br>> The information contained in this e-mail message <br>> is intended only for the use of the recipient(s) <br>> named above and may contain information that is <br>> privileged, confidential, and/or proprietary. <br>> If you are not the intended recipient, you may not<br>> review, copy or distribute this message. If you have<br>> received this communication in error, please notify <br>> the sender immediately by e-mail, and delete the original message.<br>> ***************************************************<br>> -------------- next part --------------<br>> An HTML attachment was scrubbed...<br>> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100424/cadeffd4/attachment-0001.html <br>> <br>> ------------------------------<br>> <br>> Message: 5<br>> Date: Sun, 25 Apr 2010 06:37:16 -0700<br>> From: "zowiti@ncst.go.ke" <zowiti@ncst.go.ke><br>> Subject: [gradsusr] Unable to read Monthly Northern Hemisphere<br>>         Sea-Level        Pressure (DSS SLP Grid-binary)<br>> To: <gradsusr@gradsusr.org><br>> Message-ID: <4363b2a4$4cb7762b$7c5d40f6$@com><br>> Content-Type: text/plain; charset="iso-8859-1"<br>> <br>> Dear Users,<br>> I am reading the DSS SLP [5? x 5?, 0E to 355E and 15N to 90N (72 x 16 Longitude/Latitude)] data in Grads via the ctl below. When I display the slp, I get a distorted plot. I'm unable to figure out the problem in the ctl. <br>> <br>> dset d:\jf\molydata.bin <br>> options sequential <br>> undef -9999 <br>> title dss_slp <br>> xdef 72 linear 0 5.0 <br>> ydef 15 linear 15 5.0 <br>> zdef 1 levels 1000 <br>> TDEF 1335 LINEAR jan1899 1mo <br>> vars 1 <br>> slp 0 99 pressure <br>> endvars <br>> Additional data information:<br>> 1080 binary integer data values in 15-bit bytes. Data values are to nearest tenth millibar and are the rightmost 14 bits of each byte. The grid of Y(I,J) is dimensioned Y(72,15). As I goes from 1 to 72, longitude goes from 00E-355E; as J goes from 1 to 15, latitude goes from 15N-85N.<br>> <br>> ZABLONE OWITI<br>> GRADUATE STUDENT<br>> Nanjing University of Information, Science and Technology<br>> College of International Education<br>> <br>> ====================================================<br>> <br>> -------------- next part --------------<br>> An HTML attachment was scrubbed...<br>> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100425/ccb08070/attachment-0001.html <br>> <br>> ------------------------------<br>> <br>> Message: 6<br>> Date: Mon, 26 Apr 2010 06:46:39 +0000<br>> From: Geeta Geeta <geeta124@hotmail.com><br>> Subject: [gradsusr] error in gr2stn script<br>> To: grads grads <gradsusr@gradsusr.org><br>> Message-ID: <SNT117-W28F33B5C383D2CB799A3548A040@phx.gbl><br>> Content-Type: text/plain; charset="iso-8859-1"<br>> <br>> <br>> Dear All, <br>> I am trying to use the "gr2stn " function of grads but failed. I am posting the following message from grads. My gridded data file is the gfs grib files. <br>> <br>> ga-> reinit<br>> No hardcopy metafile open<br>> All files closed; all defined objects released<br>> All GrADS attributes have been reinitialized<br>> ga-> open 12mar2008<br>> Scanning description file: 12mar2008<br>> Data file gdas2008031200f00 is open as file 1<br>> LON set to 0 360 <br>> LAT set to -90 90 <br>> LEV set to 1000 1000 <br>> Time values set: 2008:3:12:0 2008:3:12:0 <br>> ga-> set t 1<br>> Time values set: 2008:3:12:0 2008:3:12:0 <br>> ga-> set lev 1000<br>> LEV set to 1000 1000 <br>> ga-> d gr2stn(TMP2M,77.5,12.5)<br>> Error from GR2STN: 2nd argument must be stns<br>> Operation Error: Error from gr2stn function<br>> Error ocurred at column 1<br>> DISPLAY error: Invalid expression <br>> Expression = gr2stn(tmp2m,77.5,12.5)<br>> <br>> <br>> <br>> If I use this function with the WRF output, I get the following message. <br>> ga-> reinit<br>> No hardcopy metafile open<br>> All files closed; all defined objects released<br>> All GrADS attributes have been reinitialized<br>> ga-> open test<br>> Scanning description file: test<br>> Data file test.dat is open as file 1<br>> LON set to 60.2713 89.7287 <br>> LAT set to 0.57003 23.9053 <br>> LEV set to 1000 1000 <br>> Time values set: 2010:4:24:0 2010:4:24:0 <br>> ga-> set t 1<br>> Time values set: 2010:4:24:0 2010:4:24:0 <br>> ga-> set lev 1000<br>> LEV set to 1000 1000 <br>> ga-> d gr2stn(T2, 77.5, 12.5)<br>> Error from GR2STN: Grid must have linear scaling<br>> Operation Error: Error from gr2stn function<br>> Error ocurred at column 1<br>> DISPLAY error: Invalid expression <br>> Expression = gr2stn(t2,77.5,12.5)<br>> ga-> <br>> <br>> I Think that since WRF output does not have fixed dx and dy so the error. <br>> <br>> Kindly suggest. <br>> Geeta<br>> <br>>                                            <br>> _________________________________________________________________<br>> Catch the latest in the world of fashion<br>> http://lifestyle.in.msn.com/<br>> -------------- next part --------------<br>> An HTML attachment was scrubbed...<br>> URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100426/690c0685/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 2, Issue 34<br>> ***************************************<br>                                            <br /><hr />Invest your money wisely post Budget <a href='http://news.in.msn.com/moneyspecial/' target='_new'>Sign up now.</a></body>
</html>