<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div style="-webkit-text-size-adjust: auto; ">Hey Jeff,</div><div style="-webkit-text-size-adjust: auto; "><br></div><div style="-webkit-text-size-adjust: auto; ">Good to hear from you too!</div><div style="-webkit-text-size-adjust: auto; "><br></div><div style="-webkit-text-size-adjust: auto; ">Good point on the pressure levels. I changed the zdef line in my ctl file to:</div><div style="-webkit-text-size-adjust: auto; "><br></div><div><span style="-webkit-text-size-adjust: auto;">zdef 10 levels 80000 70000 60000 50000 40000 35000 30000 25000 20000 15000</span></div><div><span style="-webkit-text-size-adjust: auto;"><br></span></div><div><span style="-webkit-text-size-adjust: auto;">Thought for sure this would fix it, but nope! still getting "</span><span style="-webkit-text-size-adjust: auto; ">Cannot contour grid - all undefined values". Ugh.&nbsp;</span></div><div><span style="-webkit-text-size-adjust: auto; "><br></span></div><div><span style="-webkit-text-size-adjust: auto; ">I also changed g2ctl.pl to have "-verf" as suggested by Ryan, which didn't fix this issue. &nbsp;What else is there?&nbsp;</span></div><div><span style="-webkit-text-size-adjust: auto; "><br></span></div><div><span style="-webkit-text-size-adjust: auto; ">Thanks,</span></div><div><span style="-webkit-text-size-adjust: auto; ">Matt</span></div><div><span style="-webkit-text-size-adjust: auto; "><br></span></div><div><span style="-webkit-text-size-adjust: auto; "><br></span></div><div><span style="-webkit-text-size-adjust: auto;">Sent from my iPad</span></div><div style="-webkit-text-size-adjust: auto; "><br>On Dec 14, 2013, at 4:57 PM, Jeff Duda &lt;<a href="mailto:jeffduda319@gmail.com">jeffduda319@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite" style="-webkit-text-size-adjust: auto; "><div><div dir="ltr">Hey, Matt,<div>Great to hear from you!</div><div><br></div><div>I don't have a ton of experience working with GRIB2 files, but I do see in the description of the CAT*, CTP*, and ICIP* variables different pressure levels listed. &nbsp;Is it possible that these arrays are valid on different sets of pressure fields that are not covered in your ZDEF entry? &nbsp;You only have&nbsp;<span style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px">40000 35000 30000 25000 20000 15000 listed, but I wonder if it will work if you add 80000 70000 60000 and 50000 to the ZDEF entry.</span></div>
<div><span style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px"><br></span></div><div><span style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px">Jeff</span></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Dec 14, 2013 at 4:43 PM, Matthew Grzych <span dir="ltr">&lt;<a href="mailto:mattgrzych@yahoo.com" target="_blank">mattgrzych@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:10pt;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif"><div>
I am having no luck getting WAFS GRIB2 files to plot in GrADS and get the "Cannot contour grid - all undefined values" error after many hours of trying seemingly everything. I am downloading the files from:<br></div>
<div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif"><br></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
<a href="http://www.ftp.ncep.noaa.gov/data/nccf/com/gfs/prod/gfs.2013121212/WAFS_blended_2013121212f06.grib2" target="_blank">http://www.ftp.ncep.noaa.gov/data/nccf/com/gfs/prod/gfs.2013121212/WAFS_blended_2013121212f06.grib2</a></div>
<div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif"><br></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
Then I generate the control files using <a href="http://g2ctl.pl" target="_blank">g2ctl.pl</a> and index files using gribmap. Here's an example ctl file:</div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
_______________________________________________________________________________________<br></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
dset
 /home/matt/gfs_wafs/12z/WAFS_blended_2013121412f06.grib2<br>index /home/matt/gfs_wafs/12z/WAFS_blended_2013121412f06.grib2.idx<br>undef -0.5<br>title /home/matt/gfs_wafs/12z/WAFS_blended_2013121412f06.grib2<br>* produced by g2ctl v0.0.8.4<br>
* command line options: /home/matt/gfs_wafs/12z/WAFS_blended_2013121412f06.grib2<br>* griddef=1:0:(288 x 145):grid_template=0:winds(N/S): lat-lon grid:(288 x 145) units 1e-06 input WE:NS output WE:SN res 48 lat 90.000000 to -90.000000 by 1.250000 lon 0.000000 to 358.750000 by 1.250000 #points=41760:winds(N/S)<br>
dtype grib2<br>ydef 145 linear -90.000000 1.25<br>xdef 288 linear 0.000000 1.250000<br>tdef 1 linear 18Z14dec2013 6hr<br>* PROFILE hPa<br>zdef 6 levels 40000 35000 30000 25000 20000 15000<br>options pascals<br>vars 9<br>CATaveprs&nbsp;&nbsp; 6,100&nbsp; 0,19,22,0 ** (400 350 300 250 200 150) Clear Air Turbulence (CAT) [%]<br>
CATmaxprs&nbsp;&nbsp; 6,100&nbsp; 0,19,22,2 ** (400 350 300 250 200 150) Clear Air
 Turbulence (CAT) [%]<br>CBHEclm&nbsp;&nbsp; 0,10,0&nbsp;&nbsp; 0,6,25 ** entire atmosphere Horizontal Extent of Cumulonimbus (CB) [%]<br>CTPaveprs&nbsp;&nbsp; 6,100&nbsp; 0,19,21,0 ** (700 600 500 400 300) In-Cloud Turbulence [%]<br>CTPmaxprs&nbsp;&nbsp; 6,100&nbsp; 0,19,21,2 ** (700 600 500 400 300) In-Cloud Turbulence [%]<br>
ICAHTcbb&nbsp;&nbsp; 0,11,0&nbsp;&nbsp; 0,3,3 ** cumulonimbus base ICAO Standard Atmosphere Reference Height [m]<br>ICAHTcbt&nbsp;&nbsp; 0,12,0&nbsp;&nbsp; 0,3,3 ** cumulonimbus top ICAO Standard Atmosphere Reference Height [m]<br>ICIPaveprs&nbsp;&nbsp; 6,100&nbsp; 0,19,20,0 ** (800 700 600 500 400 300) Icing [%]<br>
ICIPmaxprs&nbsp;&nbsp; 6,100&nbsp; 0,19,20,2 ** (800 700 600 500 400 300) Icing [%]<br>ENDVARS</div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
____________________________________________________________________________________</div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
<br></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">Here's the output from my .gs file:</div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
___________________________________________________________________________________<br></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
Running in Batch mode<br>open WAFS_blended_2013121412f06.grib2.ctl<br>Scanning description file:&nbsp; WAFS_blended_2013121412f06.grib2.ctl<br>Data file /home/matt/gfs_wafs/12z/WAFS_blended_2013121412f06.grib2 is open as file 1<br>
LON set to 0 360<br>LAT set to -90 90<br>LEV set to 400 400<br>Time values set: 2013:12:14:18 2013:12:14:18<br>E set to 1 1<br>set LON 0 358.75<br>LON set to 0 358.75<br>set gxout shaded<br>d CATmaxprs<br>Cannot contour grid - all undefined values<br>
q dims<br>Default file number is: 1<br>X is varying&nbsp;&nbsp; Lon = 0 to 358.75&nbsp;&nbsp; X = 1 to 288<br>Y is varying&nbsp;&nbsp; Lat = -90 to 90&nbsp;&nbsp; Y = 1 to 145<br>Z is fixed&nbsp;&nbsp;&nbsp;&nbsp; Lev = 400&nbsp; Z = 1<br>T is fixed&nbsp;&nbsp;&nbsp;&nbsp; Time = 18Z14DEC2013&nbsp; T = 1<br>E is fixed&nbsp;&nbsp;&nbsp;&nbsp; Ens = 1&nbsp; E = 1<br>
quit<br>EXEC error:&nbsp; error in <a href="http://turb_dev.gs" target="_blank">turb_dev.gs</a>.&nbsp; EXEC
 stopped.<br>No hardcopy metafile open<br>GX package terminated<br><br></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
__________________________________________________________________________________</div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
<br></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">Any ideas?</div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
Thanks,</div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">Matt<br></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif">
<br></div><div style="font-style:normal;font-size:13.3333px;background-color:transparent;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif"><br><br></div></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"><div><br></div>-- <br>Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br>
</div>
</div></blockquote></body></html>