Make sure the lat/lon range in your control file matches what you are setting in grads. There are some data sources that use only positive values for either lat and/or lon, so you might have to set your longitude as 0 to 360 to see across the prime meridian (or 260 to 25 if Grads allows that). When you enter 'q dims' you should get a sense for whether your dimension environment is set correctly or not. Lat/lon won't tell you much, but if the ranges for X and Y are huge or have negative values then you'll know you set the environment wrong somehow.<br>
<br>Jeff<br><br><div class="gmail_quote">On Fri, Jan 14, 2011 at 4:04 PM, Yi-Chih Huang <span dir="ltr"><<a href="mailto:dscpln@gmail.com">dscpln@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Jeff,<br><br> Originally longitude is -100~99 and latitude is -50~49. I only plot -100~25 in longitude and -25~25 latitude as following output.<br><br> Thanks,<br><br> Yi-Chih<br><br>----------------------<br>
Running in Batch mode<br>ga-> Scanning description file: ./wind/windctl/wind100.ctl<br>Data file ./data_slice/fort.0100 is open as file 1<br>LON set to -100 99 <br>LAT set to -50 49 <br>LEV set to 0 0 <br>Time values set: 1997:4:30:8 1997:4:30:8 <br>
E set to 1 1 <br>ga-> Scanning description file: ./vort/vortctl/vort100.ctl<br>Data file ./data_pvbgt/fort.0100 is open as file 2<br>ga-> ga-> ga-> ga-> ga-> grid is off<br>ga-> LON set to -100 25 <br>
ga-> LAT set to -25 25 <br>ga-> xlint = 25<br>ga-> ylint = 25<br>ga-> SET XLOPTS values: Color = 1 Thickness = 4 Size = 0.12<br>ga-> SET YLOPTS values: Color = 1 Thickness = 4 Size = 0.12<br>ga-> SET STRSIZ values: hsize = 0.15 vsize = 0.15<br>
ga-> ga-> ga-> ga-> ccolor = rainbow<br>ga-> Number of clevs = 11<div class="im"><br>ga-> Data Request Error: Invalid grid coordinates<br> World coordinates convert to non-integer grid coordinates<br>
Variable = vor.2 Dimension = 2 <br>
Error ocurred at column 1<br>DISPLAY error: Invalid expression <br> Expression = vor.2*1e5<br><br><br></div><div><div></div><div class="h5"><div class="gmail_quote">On Fri, Jan 14, 2011 at 4:59 PM, Jeffrey Duda <span dir="ltr"><<a href="mailto:jdduda@iastate.edu" target="_blank">jdduda@iastate.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Yi-Chih,<br>What's your dimension environment when you try to display the variable?<br>
<br>
Jeff Duda<br><br><div class="gmail_quote"><div><div></div><div>On Fri, Jan 14, 2011 at 3:56 PM, Yi-Chih Huang <span dir="ltr"><<a href="mailto:dscpln@gmail.com" target="_blank">dscpln@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>Hello,<br><br> I got the following error message about reading data in GrADS.
Sometimes those data could be read; but sometime couldn't. I tried to
search by google online; but I didn't get further message. Do you know
anything about the error messge?<br>
<br> Thanks much,<br><br> Yi-Chih<br><br>---------------<br>ga-> Data Request Error: Invalid grid coordinates<br> World coordinates convert to non-integer grid coordinates<br> Variable = vor.2 Dimension = 2<br>
Error ocurred at column 1<br>DISPLAY error: Invalid expression<br> Expression = vor.2*1e5<br>
<br></div></div>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">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><font color="#888888"><br><br clear="all"><br>-- <br>Jeff Duda<br>Iowa State University<br>Meteorology Graduate Student<br>3134 Agronomy Hall<br><a href="http://www.meteor.iastate.edu/%7Ejdduda" target="_blank">www.meteor.iastate.edu/~jdduda</a><br>
</font><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">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></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><br clear="all"><br>-- <br>Jeff Duda<br>Iowa State University<br>Meteorology Graduate Student<br>3134 Agronomy Hall<br><a href="http://www.meteor.iastate.edu/~jdduda">www.meteor.iastate.edu/~jdduda</a><br>