<div dir="ltr"><div><div>Charles,<br><br></div> I suspect that the version of grads is immaterial. GrADS uses libraries to <br>read the grib file and the COLA and Fedora versions are probably using<br></div><div>different versions of the grib library.<br>
</div><div><br></div> Wesley<br><div><div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 19, 2013 at 11:44 AM, 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks for that suggestion, Wesley. I switched to GrADS 2.0.1 and everything seems to be working. Hopefully I will have better luck with the next version of GrADS.<div>
<br></div><div>Thanks again for the help, I really appreciate it.</div>
<div><br></div><div>Charles</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 19, 2013 at 9:44 AM, Wesley Ebisuzaki - NOAA Federal <span dir="ltr"><<a href="mailto:wesley.ebisuzaki@noaa.gov" target="_blank">wesley.ebisuzaki@noaa.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Charles,<br><br></div> I am using GrADS 2.0.1 (Centros version) from the COLA website. <br>
<span><font color="#888888"><br></font></span></div><span><font color="#888888"> Wesley</font></span><div><div><br><div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Nov 19, 2013 at 9:15 AM, 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thank you for the reply, Wesley. It sounds like there might be an issue with my gribmap or GrADS install. If I run gribmap with the verbose option on GRIB1 files, it matches all the variables just fine. However, it returns an error with GRIB2 files.<div>
<br></div><div>gribmap -v -i gfs.t12z.mastergrb2f12.ctl</div><div> gribmap: scanning GRIB2 file: gfs.t12z.mastergrb2f12</div><div> Segmentation fault (core dumped)</div><div><br></div><div>When I don't run verbose option on GRIB2 files, gribmap will create an index file. But based on the above error, those index files are probably not correct. Which would explain my original issue of all values being undefined.</div>
<div><br></div><div>Do you have any suggestions on where I should go from here to solve this gribmap issue?</div><div><br></div><div>Thanks again,</div><div><br></div><div>Charles</div></div><div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Tue, Nov 19, 2013 at 7:36 AM, Wesley Ebisuzaki - NOAA Federal <span dir="ltr"><<a href="mailto:wesley.ebisuzaki@noaa.gov" target="_blank">wesley.ebisuzaki@noaa.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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"><div><div>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>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><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><font color="#888888"><div>
<br></div><div>Charles</div><div>University of Oklahoma</div>
</font></span></div>
<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><br></div></div></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></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></div></div></div></div></div></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></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></div></div>