<div dir="ltr"><div>Charles,<br><br></div> It worked for me.<br><div><div><div class="gmail_extra"><br> g2ctl gfs.t12z.mastergrb2f12 >junk.ctl<br></div><div class="gmail_extra"> (I see that you did this)<br>
</div><div class="gmail_extra"> gribmap -i junk.ctl<br></div><div class="gmail_extra"> (do not use -0)<br><br></div><div class="gmail_extra"> grads<br> Landscape mode? ('n' for portrait): (entered return)<br>
</div><div class="gmail_extra"> ga-> open junk.ctl<br> ga-> d hgt200mb<br><br></div><div class="gmail_extra">Hint: use gribmap -v -i junk.ctl to see which fields match the ctl file.<br><br></div><div class="gmail_extra">
Wesley<br></div><div class="gmail_extra"><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 18, 2013 at 4:33 PM, Charles <span dir="ltr"><<a href="mailto:cl012685@gmail.com" target="_blank">cl012685@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello All,<div><br></div><div>I am a fairly new user of GrADS. My setup includes: GrADS 2.0.2 on Fedora 19, g2ctl 0.0.8.8 and wgrib2 v1.9.9.</div>
<div><br></div><div>I am having issues with all GRIB2 files. I have followed instructions and I can successfully create control files and index files, but GrADS returns "all undefined values" no matter what I try to plot. I have been getting around this by converting the files to GRIB1 and using grib2ctl, which I have had no trouble with. However, I would like to eliminate that step. I was wondering if anyone could shed some light on what I am missing?</div>
<div><br></div><div>In case it is an issue with the control file, I have pasted one below from today's 12Z GFS 0.5x0.5 degree from NOMADS.</div><div><br></div><div><div>dset ^gfs.t12z.mastergrb2f12</div><div>index ^gfs.t12z.mastergrb2f12.idx</div>
<div>undef 9.999E+20</div><div>title gfs.t12z.mastergrb2f12</div><div>* produced by g2ctl v0.0.8.8</div><div>* command line options: gfs.t12z.mastergrb2f12</div><div>* griddef=1:0:(720 x 361):grid_template=0:winds(N/S): lat-lon grid:(720 x 361) units 1e-06 input WE:NS output WE:SN res 48 lat 90.000000 to -90.000000 by 0.500000 lon 0.000000 to 359.500000 by 0.500000 #points=259920:winds(N/S)</div>
<div><br></div><div>dtype grib2</div><div>ydef 361 linear -90.000000 0.5</div><div>xdef 720 linear 0.000000 0.500000</div><div>tdef 1 linear 00Z19nov2013 1mo</div><div>* PROFILE hPa</div><div>zdef 2 levels 50000 20000</div>
<div>options pascals</div><div>vars 6</div><div>HGT200mb 0,100,20000 0,3,5 ** 200 mb Geopotential Height [gpm]</div><div>HGT500mb 0,100,50000 0,3,5 ** 500 mb Geopotential Height [gpm]</div><div>UGRD200mb 0,100,20000 0,2,2 ** 200 mb U-Component of Wind [m/s]</div>
<div>UGRD500mb 0,100,50000 0,2,2 ** 500 mb U-Component of Wind [m/s]</div><div>VGRD200mb 0,100,20000 0,2,3 ** 200 mb V-Component of Wind [m/s]</div><div>VGRD500mb 0,100,50000 0,2,3 ** 500 mb V-Component of Wind [m/s]</div>
<div>ENDVARS</div></div><div><br></div><div>I have been researching this issue for quite some time and haven't found a solution yet, so any help is greatly appreciated!</div><span class=""><font color="#888888"><div>
<br></div><div>Charles</div><div>University of Oklahoma</div>
</font></span></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></div></div></div>