Geeta,<div>Try it with x and y fixed, instead of varying as in your example. Also, if t is fixed as you have, then do it with 'set gxout print'. If t is varying, you could use 'set gxout line' to draw the timeseries, or 'set gxout print' to display as text.</div>
<div>Stephen McMillan<br><br><div class="gmail_quote">On Mon, Apr 26, 2010 at 2:46 AM, Geeta Geeta <span dir="ltr"><<a href="mailto:geeta124@hotmail.com">geeta124@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
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 <b><font color="#ff0000">the WRF output,</font></b> 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><hr>All the post budget analysis and implications <a href="http://news.in.msn.com/moneyspecial/budget2010/" target="_blank">Sign up now.</a></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>
<pre>***************************************************
The information contained in this e-mail message
is intended only for the use of the recipient(s)
named above and may contain information that is
privileged, confidential, and/or proprietary.
If you are not the intended recipient, you may not
review, copy or distribute this message. If you have
received this communication in error, please notify
the sender immediately by e-mail, and delete the original message.
***************************************************