<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt">Jennifer,<br><br>This fix worked great for me when testing lev 400, but I have scripted to make images for all levels and only levels 350 and 400 work. For levels 300, 250, and 200 I am still getting this error:<br><br>"Data Request Warning:&nbsp; Request is completely outside file limits<br>&nbsp; Entire grid contents are set to missing data<br>&nbsp; Grid limits of file:&nbsp;&nbsp;&nbsp;&nbsp; X = 1 288&nbsp; Y = 1 145&nbsp; Z = 1 10&nbsp; T = 1 1&nbsp; E = 1 1<br>&nbsp; Grid limits of request:&nbsp; X = 1 288&nbsp; Y = 1 145&nbsp; Z = 9 9&nbsp; T = 1 1&nbsp; E = 1 1<br>&nbsp; Warning issued for variable = catmaxprs<br>Cannot contour grid - all undefined values"<br><br>it says im out of the range, but it clearly shows I am not. Any ideas here?<br><br>My control file:<br>dset
 /home/matt/gfs_wafs/12z/WAFS_f18.grib2<br>index /home/matt/gfs_wafs/12z/WAFS_f18.grib2.idx<br>undef 9.999E+20<br>title /home/matt/gfs_wafs/12z/WAFS_f18.grib2<br>* produced by g2ctl v0.0.8.4<br>* command line options: -verf /home/matt/gfs_wafs/12z/WAFS_f18.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<br>&nbsp;by 1.250000 lon 0.000000 to 358.750000 by 1.250000 #points=41760:winds(N/S)<br><br>dtype grib2<br>ydef 145 linear -90.000000 1.25<br>xdef 288 linear 0.000000 1.250000<br>tdef 1 linear 06Z22dec2013 1mo<br>* PROFILE hPa<br>zdef 10 levels 80000 70000 60000 50000 40000 35000 30000 25000 20000 15000<br>options pascals<br>vars 9<br>CATaveprs&nbsp;&nbsp; 6,100&nbsp; 0,19,22,0,3 ** (400 350 300 250 200 150) Clear Air Turbulence (CAT) [%]<br>CATmaxprs&nbsp;&nbsp; 6,100&nbsp; 0,19,22,2,3 ** (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,3 ** (700 600 500 400 300) In-Cloud Turbulence [%]<br>CTPmaxprs&nbsp;&nbsp; 6,100&nbsp; 0,19,21,2,3 ** (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,3 ** (800 700 600 500 400 300) Icing [%]<br>ICIPmaxprs&nbsp;&nbsp; 6,100&nbsp; 0,19,20,2,3 ** (800 700 600 500 400 300) Icing [%]<br>ENDVARS<br><br><br>My script:<br>open /home/matt/gfs_wafs/12z/WAFS_f18.grib2.ctl<br><br>*set mpdraw off<br>*set grid off<br>set lon 0 358.75<br>set lev 200<br><br>set cmin 5<br>set cmax 50<br>set rgb 21 255 51 255<br>set rgb 22 255 0
 25<br>set rgb 23 204 0 204<br>set rgb 24 153 0 153<br>set rgb 25 102 0 102<br>set rgb 26 204 0 102<br>set clevs 4 8 12 16 20 24<br>set ccols 0 21 23 24 25 26 22<br>set gxout shade2b<br>d CATmaxprs<br>printim /home/matt/gfs_wafs/images/turb_f18_200.png x3200 y2400<br>quit<br><br><br>Thanks!<br>Matt<br><br><div><span><br></span></div><div style="display: block;" class="yahoo_quoted"> <br> <br> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Monday, December 16, 2013 10:59 AM, Matthew Grzych &lt;mattgrzych@yahoo.com&gt; wrote:<br> </font> </div>  <div class="y_msg_container"><div id="yiv5744104153"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida
 Grande, sans-serif;font-size:10pt;">Jennifer,<br clear="none"><br clear="none">That works for me! Thank you so much for the help as I have been banging my head over this for days.<br clear="none"><br clear="none">I added the additional zdef levels (to make a total of 10) and then added the additional "3" to the grib codes and it works great now.<br clear="none"><br clear="none">Thanks again,<br clear="none">Matt<br clear="none"><div><span><br clear="none"></span></div><div class="yiv5744104153yqt3875200588" id="yiv5744104153yqt51763"><div class="yiv5744104153yahoo_quoted" style="display:block;"> <br clear="none"> <br clear="none"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Monday, December 16, 2013 7:16 AM, Jennifer
 Adams &lt;jma@cola.iges.org&gt; wrote:<br clear="none"> </font> </div>  <div class="yiv5744104153y_msg_container"><div id="yiv5744104153"><div><div>Hi, Matt --&nbsp;</div><div>A few changes need to be made to your descriptor file. There are more than 6 pressure levels, so change your ZDEF statement to:</div><div><br clear="none"></div><div><div><font class="yiv5744104153Apple-style-span" face="Courier"><span class="yiv5744104153Apple-style-span" style="font-size:13px;">zdef 10 levels 80000 70000 60000 50000 40000 35000 30000 25000 20000 15000</span></font></div></div><div><font class="yiv5744104153Apple-style-span" face="Courier"><span class="yiv5744104153Apple-style-span" style="font-size:13px;"><br clear="none"></span></font></div><div>Not all variables are defined at all these levels, but this set of levels is the superset to catch all the records in the file.&nbsp;</div><div><br clear="none"></div><div>Also, you need to add one more grib code to the
 units field in your variable declarations:</div><div><br clear="none"></div><div><div><font class="yiv5744104153Apple-style-span" face="Courier"><span class="yiv5744104153Apple-style-span" style="font-size:13px;">CBHEclm &nbsp; &nbsp; 0,10,0 &nbsp;0,6,25 &nbsp; &nbsp; &nbsp;** entire atmosphere Horizontal Extent of Cumulonimbus (CB) [%]9,</span></font></div><div><font class="yiv5744104153Apple-style-span" face="Courier"><span class="yiv5744104153Apple-style-span" style="font-size:13px;">ICAHTcbb &nbsp; &nbsp;0,11,0 &nbsp;0,3,3 &nbsp; &nbsp; &nbsp; ** cumulonimbus base ICAO Standard Atmosphere Reference Height [m]</span></font></div><div><font class="yiv5744104153Apple-style-span" face="Courier"><span class="yiv5744104153Apple-style-span" style="font-size:13px;">ICAHTcbt &nbsp; &nbsp;0,12,0 &nbsp;0,3,3 &nbsp; &nbsp; &nbsp; ** cumulonimbus top ICAO Standard Atmosphere Reference Height [m]</span></font></div><div><font class="yiv5744104153Apple-style-span"
 face="Courier"><span class="yiv5744104153Apple-style-span" style="font-size:13px;">CATaveprs &nbsp; 10,100 &nbsp;0,19,22,0,3 ** (400 350 300 250 200 150) Clear Air Turbulence (CAT) [%]</span></font></div><div><font class="yiv5744104153Apple-style-span" face="Courier"><span class="yiv5744104153Apple-style-span" style="font-size:13px;">CATmaxprs &nbsp; 10,100 &nbsp;0,19,22,2,3 ** (400 350 300 250 200 150) Clear Air Turbulence (CAT) [%]</span></font></div><div><font class="yiv5744104153Apple-style-span" face="Courier"><span class="yiv5744104153Apple-style-span" style="font-size:13px;">CTPaveprs &nbsp; 10,100 &nbsp;0,19,21,0,3 ** (700 600 500 400 300) In-Cloud Turbulence [%]</span></font></div><div><font class="yiv5744104153Apple-style-span" face="Courier"><span class="yiv5744104153Apple-style-span" style="font-size:13px;">CTPmaxprs &nbsp; 10,100 &nbsp;0,19,21,2,3 ** (700 600 500 400 300) In-Cloud Turbulence [%]</span></font></div><div><font
 class="yiv5744104153Apple-style-span" face="Courier"><span class="yiv5744104153Apple-style-span" style="font-size:13px;">ICIPaveprs &nbsp;10,100 &nbsp;0,19,20,0,3 ** (800 700 600 500 400 300) Icing [%]</span></font></div><div><font class="yiv5744104153Apple-style-span" face="Courier"><span class="yiv5744104153Apple-style-span" style="font-size:13px;">ICIPmaxprs &nbsp;10,100 &nbsp;0,19,20,2,3 ** (800 700 600 500 400 300) Icing [%]</span></font></div></div><div><br clear="none"></div><div>These changes resulted in a "MATCH" for all records in your file, using gribmap (in verbose mode) in GrADS 2.0.2.&nbsp;</div><div>--Jennifer</div><div><br clear="none"></div><div><br clear="none"></div><div><br clear="none"></div><br clear="none"><div><div class="yiv5744104153yqt5887437387" id="yiv5744104153yqt39105"><div>On Dec 14, 2013, at 5:43 PM, Matthew Grzych wrote:</div><br class="yiv5744104153Apple-interchange-newline" clear="none"><blockquote
 type="cite"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt;"><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 clear="none"></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br clear="none"></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><a rel="nofollow" shape="rect" target="_blank"
 href="http://www.ftp.ncep.noaa.gov/data/nccf/com/gfs/prod/gfs.2013121212/WAFS_blended_2013121212f06.grib2">http://www.ftp.ncep.noaa.gov/data/nccf/com/gfs/prod/gfs.2013121212/WAFS_blended_2013121212f06.grib2</a></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br clear="none"></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">Then I generate the control files using g2ctl.pl and index files using gribmap. Here's an example ctl file:</div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande,
 sans-serif;background-color:transparent;font-style:normal;">_______________________________________________________________________________________<br clear="none"></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">dset
 /home/matt/gfs_wafs/12z/WAFS_blended_2013121412f06.grib2<br clear="none">index /home/matt/gfs_wafs/12z/WAFS_blended_2013121412f06.grib2.idx<br clear="none">undef -0.5<br clear="none">title /home/matt/gfs_wafs/12z/WAFS_blended_2013121412f06.grib2<br clear="none">* produced by g2ctl v0.0.8.4<br clear="none">* command line options: /home/matt/gfs_wafs/12z/WAFS_blended_2013121412f06.grib2<br clear="none">* 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 clear="none">dtype grib2<br clear="none">ydef 145 linear -90.000000 1.25<br clear="none">xdef 288 linear 0.000000 1.250000<br clear="none">tdef 1 linear 18Z14dec2013 6hr<br clear="none">* PROFILE hPa<br clear="none">zdef 6 levels 40000 35000 30000 25000 20000 15000<br clear="none">options pascals<br clear="none">vars 9<br
 clear="none">CATaveprs&nbsp;&nbsp; 6,100&nbsp; 0,19,22,0 ** (400 350 300 250 200 150) Clear Air Turbulence (CAT) [%]<br clear="none">CATmaxprs&nbsp;&nbsp; 6,100&nbsp; 0,19,22,2 ** (400 350 300 250 200 150) Clear Air
 Turbulence (CAT) [%]<br clear="none">CBHEclm&nbsp;&nbsp; 0,10,0&nbsp;&nbsp; 0,6,25 ** entire atmosphere Horizontal Extent of Cumulonimbus (CB) [%]<br clear="none">CTPaveprs&nbsp;&nbsp; 6,100&nbsp; 0,19,21,0 ** (700 600 500 400 300) In-Cloud Turbulence [%]<br clear="none">CTPmaxprs&nbsp;&nbsp; 6,100&nbsp; 0,19,21,2 ** (700 600 500 400 300) In-Cloud Turbulence [%]<br clear="none">ICAHTcbb&nbsp;&nbsp; 0,11,0&nbsp;&nbsp; 0,3,3 ** cumulonimbus base ICAO Standard Atmosphere Reference Height [m]<br clear="none">ICAHTcbt&nbsp;&nbsp; 0,12,0&nbsp;&nbsp; 0,3,3 ** cumulonimbus top ICAO Standard Atmosphere Reference Height [m]<br clear="none">ICIPaveprs&nbsp;&nbsp; 6,100&nbsp; 0,19,20,0 ** (800 700 600 500 400 300) Icing [%]<br clear="none">ICIPmaxprs&nbsp;&nbsp; 6,100&nbsp; 0,19,20,2 ** (800 700 600 500 400 300) Icing [%]<br clear="none">ENDVARS</div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
 Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">____________________________________________________________________________________</div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br clear="none"></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">Here's the output from my .gs file:</div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">___________________________________________________________________________________<br clear="none"></div><div style="color:rgb(0, 0, 
 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">Running in Batch mode<br clear="none">open WAFS_blended_2013121412f06.grib2.ctl<br clear="none">Scanning description file:&nbsp; WAFS_blended_2013121412f06.grib2.ctl<br clear="none">Data file /home/matt/gfs_wafs/12z/WAFS_blended_2013121412f06.grib2 is open as file 1<br clear="none">LON set to 0 360<br clear="none">LAT set to -90 90<br clear="none">LEV set to 400 400<br clear="none">Time values set: 2013:12:14:18 2013:12:14:18<br clear="none">E set to 1 1<br clear="none">set LON 0 358.75<br clear="none">LON set to 0 358.75<br clear="none">set gxout shaded<br clear="none">d CATmaxprs<br clear="none">Cannot contour grid - all undefined values<br clear="none">q dims<br clear="none">Default file number is: 1<br clear="none">X is varying&nbsp;&nbsp; Lon = 0 to 358.75&nbsp;&nbsp; X = 1 to 288<br
 clear="none">Y is varying&nbsp;&nbsp; Lat = -90 to 90&nbsp;&nbsp; Y = 1 to 145<br clear="none">Z is fixed&nbsp;&nbsp;&nbsp;&nbsp; Lev = 400&nbsp; Z = 1<br clear="none">T is fixed&nbsp;&nbsp;&nbsp;&nbsp; Time = 18Z14DEC2013&nbsp; T = 1<br clear="none">E is fixed&nbsp;&nbsp;&nbsp;&nbsp; Ens = 1&nbsp; E = 1<br clear="none">quit<br clear="none">EXEC error:&nbsp; error in turb_dev.gs.&nbsp; EXEC
 stopped.<br clear="none">No hardcopy metafile open<br clear="none">GX package terminated<br clear="none"><br clear="none"></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">__________________________________________________________________________________</div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br clear="none"></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">Any ideas?</div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande,
 sans-serif;background-color:transparent;font-style:normal;">Thanks,</div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;">Matt<br clear="none"></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br clear="none"></div><div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;background-color:transparent;font-style:normal;"><br clear="none"><br clear="none"></div></div></div>_______________________________________________<br clear="none">gradsusr mailing list<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:gradsusr@gradsusr.org" target="_blank"
 href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br clear="none">http://gradsusr.org/mailman/listinfo/gradsusr<br clear="none"></blockquote></div></div><br clear="none"><div>
<div style="word-wrap:break-word;font-size:12px;"><span class="yiv5744104153Apple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;orphans:2;white-space:normal;widows:2;word-spacing:0px;"><span class="yiv5744104153Apple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;orphans:2;white-space:normal;widows:2;word-spacing:0px;"></span></span><div>--</div><div>Jennifer M. Adams<br clear="none">Center for Ocean-Land-Atmosphere Studies (COLA)<br clear="none">111 Research Hall, Mail Stop 2B3<br clear="none">George Mason University<br clear="none">4400 University Drive<br clear="none">Fairfax, VA
 22030&nbsp;<br clear="none"><br clear="none"></div><div><br class="yiv5744104153khtml-block-placeholder" clear="none"></div><br class="yiv5744104153Apple-interchange-newline" clear="none"></div><br class="yiv5744104153Apple-interchange-newline" clear="none">
</div>
<br clear="none"></div></div><br clear="none"><br clear="none"></div>  </div> </div>  </div></div> </div></div></div><br><br></div>  </div> </div>  </div> </div></body></html>