<div>Hi, Jeff,</div>
<div> </div>
<div>The images you attached are exactly what I want, I tried using "set mproj lambert" for the ARWpost file, but the result is same as before. The version of Grads I am using is also 2.0.a9, I am confused about what the problem is. I will try to reinstall the Grads to see if there is any help, and could you please pass the data you used to draw the sample image to me if it is not very big.</div>
<div> </div>
<div>Thanks a lot.</div>
<div> </div>
<div>Kai<br><br></div>
<div class="gmail_quote">On Tue, Feb 8, 2011 at 1:22 PM, Jeffrey Duda <span dir="ltr"><<a href="mailto:jdduda@iastate.edu">jdduda@iastate.edu</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Kai,<br>That is interesting. Did you try using "set mproj lambert" for the ARWpost file? I also use Lambert conformal conic in my WRF runs and when I run ARWpost on them and view them in Grads I don't get that. I've attached a sample image of what my data looks like in both ways. If setting the projection in Grads isn't giving you what you want then I'm not sure what to say. What version of Grads are you using?<br>
<br>Jeff
<div>
<div></div>
<div class="h5"><br><br>
<div class="gmail_quote">On Tue, Feb 8, 2011 at 12:10 PM, Fu Kai <span dir="ltr"><<a href="mailto:sdfukai@gmail.com" target="_blank">sdfukai@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>Hi, Jeff,</div>
<div> </div>
<div>It is great to get your reply. I have tried the ARWpost program, but the shape of the figure is almost the same, so I think the problem maybe something else.</div>
<div> </div>
<div>The header of ctl file created by ARWpost and the figure plotted by GrADS is below, the wps namelist file is also attached. </div>
<div> </div>
<div>The ctl file header:</div>
<div> </div>
<div>dset ^test.dat<br>options byteswapped<br>undef 1.e30<br>title OUTPUT FROM WRF V3.0.1.1 MODEL<br>pdef 73 60 lcc 34.830 -81.030 37.000 30.500 60.00000 30.00000 -98.00000 30000.000 30000.000<br>xdef 224 linear -94.99892 0.13513513<br>
ydef 166 linear 23.26906 0.13513513<br>zdef 27 linear 1 1<br>tdef 5 linear 12Z24JAN2000 180MN</div>
<div> </div>
<div>Test figure <img title="case1ARWpost.png" alt="case1ARWpost.png"></div>
<div> </div>
<div>namelist.wps:</div>
<div> </div>
<div>&share<br> wrf_core = 'ARW',<br> max_dom = 1,<br> start_date = '2000-01-24_12:00:00',<br> end_date = '2000-01-25_12:00:00',<br> interval_seconds = 21600<br> io_form_geogrid = 2,<br>/</div>
<div>&geogrid<br> parent_id = 1,<br> parent_grid_ratio = 1,<br> i_parent_start = 1,<br> j_parent_start = 1,<br> e_we = 74,<br> e_sn = 61,<br> geog_data_res = '10m',<br>
dx = 30000,<br> dy = 30000,<br> map_proj = 'lambert',<br> ref_lat = 34.83,<br> ref_lon = -81.03,<br> truelat1 = 30.0,<br> truelat2 = 60.0,<br> stand_lon = -98.0,<br> geog_data_path = '/home/kfu/WRF/WPS_GEOG/geog'<br>
/</div>
<div>
<div> </div>
<div>
<div> </div>
<div>Thanks in advance.</div>
<div> </div>
<div>Kai Fu</div><br><br></div></div>
<div>
<div></div>
<div>
<div class="gmail_quote">On Tue, Feb 8, 2011 at 12:20 PM, Jeffrey Duda <span dir="ltr"><<a href="mailto:jdduda@iastate.edu" target="_blank">jdduda@iastate.edu</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">You're seeing that because the model grid itself has certain projection. It has nothing to do with how Grads is interpreting the data. This is a WRF thing. It doesn't look like a Lambert Conformal Conic projection, however, because I think if you do "set mproj lambert", your data should appear to be a rectangle with parallel edges and the map behind it should be altered. Your second figure does not show that, so perhaps you have some other projection. I am also a WRF user, but I use the ARWpost program to convert WRF netCDF files to something Grads can read. Since I don't use the wrf2grads program, there could be something with that program that caused the PDEF line in your control file to be something other than it is in the model. <br>
<br>Jeff Duda<br><br>
<div class="gmail_quote">
<div>
<div></div>
<div>On Tue, Feb 8, 2011 at 10:41 AM, Fu Kai <span dir="ltr"><<a href="mailto:sdfukai@gmail.com" target="_blank">sdfukai@gmail.com</a>></span> wrote:<br></div></div>
<blockquote style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div>
<div class="gmail_quote">
<div>Dear GrADS Users, </div>
<div> </div>
<div>I am beginner to wrf and GrADS, and want to display the output data of wrf using GrADS, I used the wrf2grads program to get the ctl and dat file which are needed by GrADS. When I tried to plot the data, there seems to be a problem, the figure does not coincide with the lat and lon lines (Fig 1). I thought it was because the case uses a lambert projection, while the default projection used by GrADS seems to be Mercator, so I tried to use "set mproj lambert" in GrADS, but only get a small figure (Fig 2) which also seems not properly. Which command should I use to get a right figure.</div>
<div> </div>
<div>Any suggestion would be greatly appreciated. The CTL file and the figure plotted are below. I'm a new GrADS user, so if this is a newbie problem, I apologize in advance.</div>
<div> </div>
<div>CTL file created by wrf2grads program: </div>
<div> </div>
<div>dset ^wrfout_d01_2000-01-24_12:00:00.dat<br>undef 1.e35<br>pdef 73 60 lcc 28.171 -93.649 1.000 1.000 60. 30. -98.000 30000. 30000.<br>xdef 219 linear -94.6 0.13513513<br>ydef 160 linear 23.6 0.13513513<br>
zdef 27 levels<br> 0.02849<br> 0.09096<br> 0.17899<br> 0.29167<br> 0.43435<br> 0.61657<br> 0.83989<br> 1.17945<br> 1.62939<br> 2.10596<br> 2.60960<br> 3.34814<br> 4.30997<br> 5.27340<br>
6.23490<br> 7.19647<br> 8.16307<br> 9.13477<br> 10.11029<br> 11.10285<br> 12.13382<br> 13.21484<br> 14.34895<br> 15.53801<br> 16.78960<br> 18.11523<br> 19.52641<br>tdef 5 linear 12z24jan2000 1mn<br>
vars 8<br>U 27 0 U Compoment of wind<br>V 27 0 V Component of wind<br>W 27 0 W Component of wind<br>THETA 27 0 Theta<br>TC 27 0 Temperature in C<br>P 27 0 Pressure (HPa)<br>
Z 27 0 Height (m)<br>HGT 0 0 Terrain Height<br>endvars</div>
<div> </div>
<div>Fig. 1. </div>
<div><img title="wrfout_d01_2000-01-24_12_00_00.png" alt="wrfout_d01_2000-01-24_12_00_00.png"></div>
<div> </div>
<div>Fig. 2.</div>
<div><img title="wrfout_d01_2000-01-24_12_00_00lambert.png" alt="wrfout_d01_2000-01-24_12_00_00lambert.png"></div>
<div> </div>
<div>Thanks in advance.</div>
<div> </div><font color="#888888">
<div>Kai Fu</div></font></div><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/~jdduda" 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" 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><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" target="_blank">www.meteor.iastate.edu/~jdduda</a><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>