I've always used ARWPost to do this (creates Grads-readable file and associated control file) ...<br><br>Please check here:<br><a href="http://www.mmm.ucar.edu/wrf/users/docs/user_guide_V3/users_guide_chap9.htm#_ARWpost_2">http://www.mmm.ucar.edu/wrf/users/docs/user_guide_V3/users_guide_chap9.htm#_ARWpost_2</a><br>
<br>hope this helps,<br>matei<br><br><br><div class="gmail_quote">On Mon, Dec 6, 2010 at 2:37 PM, Song Feng <span dir="ltr"><<a href="mailto:sfeng2@unlnotes.unl.edu">sfeng2@unlnotes.unl.edu</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;">
<font face="Arial" size="3">Hi All:</font>
<br>
<br><font face="Arial" size="3">I'd like to display the WRF output (in NetCDF
format) using GrADS. The projection used is Lambert Conformal. I am trying
to create a 'CTL' file for the output. The following are the PDEF options
for the CTL file:</font>
<br>
<br><font face="Arial" size="3"><i>PDEF isize jsize LCC latref lonref iref
jref <b>Struelat Ntruelat slon</b></i><i> dx dy</i></font>
<br>
<br><font face="Arial" size="3">I can find the information for isize, jsize,
latref, lonref, iref, jref, dx and dy. <b>The problem is how can I find
the information for "Struelat Ntruelat slon"?</b> I am bugging
this for a while. Can anybody give me some clues on how to solve this problems?</font>
<br>
<br>
<br><font face="Arial" size="3">The following are the WRF ncdump output:</font>
<br>
<br><font face="sans-serif" size="2">dimensions:</font>
<br><font face="sans-serif" size="2"> time = UNLIMITED
; // (1095 currently)</font>
<br><font face="sans-serif" size="2"> yc = 109
;</font>
<br><font face="sans-serif" size="2"> xc = 134
;</font>
<br><font face="sans-serif" size="2"> bnds = 2
;</font>
<br><font face="sans-serif" size="2">variables:</font>
<br><font face="sans-serif" size="2"> char Lambert_Conformal
;</font>
<br><font face="sans-serif" size="2">
Lambert_Conformal:grid_mapping_name = "lambert_conformal_conic"
;</font>
<br><font face="sans-serif" size="2">
Lambert_Conformal:standard_parallel = 30., 60. ;</font>
<br><font face="sans-serif" size="2">
Lambert_Conformal:longitude_of_central_meridian = -97. ;</font>
<br><font face="sans-serif" size="2">
Lambert_Conformal:latitude_of_projection_origin = 47.5 ;</font>
<br><font face="sans-serif" size="2">
Lambert_Conformal:false_easting = 3325000. ;</font>
<br><font face="sans-serif" size="2">
Lambert_Conformal:false_northing = 2700000. ;</font>
<br><font face="sans-serif" size="2"> double yc(yc)
;</font>
<br><font face="sans-serif" size="2">
yc:long_name = "y-coordinate in Cartesian system"
;</font>
<br><font face="sans-serif" size="2">
yc:standard_name = "projection_y_coordinate" ;</font>
<br><font face="sans-serif" size="2">
yc:axis = "Y" ;</font>
<br><font face="sans-serif" size="2">
yc:units = "m" ;</font>
<br><font face="sans-serif" size="2"> double xc(xc)
;</font>
<br><font face="sans-serif" size="2">
xc:long_name = "x-coordinate in Cartesian system"
;</font>
<br><font face="sans-serif" size="2">
xc:standard_name = "projection_x_coordinate" ;</font>
<br><font face="sans-serif" size="2">
xc:axis = "X" ;</font>
<br><font face="sans-serif" size="2">
xc:units = "m" ;</font>
<br><font face="sans-serif" size="2"> double lon(yc,
xc) ;</font>
<br><font face="sans-serif" size="2">
lon:long_name = "longitude" ;</font>
<br><font face="sans-serif" size="2">
lon:standard_name = "longitude" ;</font>
<br><font face="sans-serif" size="2">
lon:units = "degrees_east" ;</font>
<br><font face="sans-serif" size="2">
lon:axis = "X" ;</font>
<br><font face="sans-serif" size="2"> double lat(yc,
xc) ;</font>
<br><font face="sans-serif" size="2">
lat:long_name = "latitude" ;</font>
<br><font face="sans-serif" size="2">
lat:standard_name = "latitude" ;</font>
<br><font face="sans-serif" size="2">
lat:units = "degrees_north" ;</font>
<br><font face="sans-serif" size="2">
lat:axis = "Y" ;</font>
<br><font face="sans-serif" size="2"> double time(time)
;</font>
<br><font face="sans-serif" size="2">
time:long_name = "time" ;</font>
<br><font face="sans-serif" size="2">
time:standard_name = "time" ;</font>
<br><font face="sans-serif" size="2">
time:units = "days since 1968-01-01 00:00:0.0"
;</font>
<br><font face="sans-serif" size="2">
time:axis = "T" ;</font>
<br><font face="sans-serif" size="2">
time:calendar = "365_day" ;</font>
<br><font face="sans-serif" size="2">
time:bounds = "time_bnds" ;</font>
<br><font face="sans-serif" size="2"> double time_bnds(time,
bnds) ;</font>
<br><font face="sans-serif" size="2"> float tasmax(time,
yc, xc) ;</font>
<br><font face="sans-serif" size="2">
tasmax:long_name = "Maximum Daily Surface Air Temperature"
;</font>
<br><font face="sans-serif" size="2">
tasmax:standard_name = "air_temperature" ;</font>
<br><font face="sans-serif" size="2">
tasmax:units = "K" ;</font>
<br><font face="sans-serif" size="2">
tasmax:_FillValue = 1.e+20f ;</font>
<br><font face="sans-serif" size="2">
tasmax:missing_value = 1.e+20f ;</font>
<br><font face="sans-serif" size="2">
tasmax:coordinates = "lon lat level" ;</font>
<br><font face="sans-serif" size="2">
tasmax:grid_mapping = "Lambert_Conformal" ;</font>
<br><font face="sans-serif" size="2">
tasmax:cell_methods = "time: maximum (interval: 24 hours)"
;</font>
<br><font face="sans-serif" size="2">
tasmax:original_name = "T2" ;</font>
<br><font face="sans-serif" size="2">
tasmax:original_units = "K" ;</font>
<br><font face="sans-serif" size="2">
tasmax:level_desc = "2 m" ;</font>
<br><font face="sans-serif" size="2"> double level
;</font>
<br><font face="sans-serif" size="2">
level:standard_name = "height" ;</font>
<br><font face="sans-serif" size="2">
level:units = "m" ;</font>
<br><font face="sans-serif" size="2">
level:positive = "up" ;</font>
<br><font face="sans-serif" size="2">
level:axis = "Z" ;</font>
<br>
<br><font face="sans-serif" size="2">// global attributes:</font><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><b>======================================<br>Matei Georgescu, Ph.D.</b><br><i style="color: rgb(255, 102, 0);">School of Mathematical and Statistical Sciences and<br>Center for Environmental Fluid Dynamics</i><br>
<i><span style="color: rgb(255, 102, 0);">Arizona State University</span></i><br><b>Phone</b>:
                (480) 965-3770<br><b>Fax</b>: (480) 965-8119<br><b>E-mail</b>: <a href="mailto:Matei.Georgescu@asu.edu" target="_blank">Matei.Georgescu@asu.edu</a><br><b>==================================</b><b>====</b><br>