Brian,<br><br>   Works for me:<br><br>wgrib -GDS fh.0006_tl.tempr | grep &quot;GDS=0000b2002100ffff0049815f9000ea60800000000249f0ffff04e24000000000000200030005000600080009000b000c000e0010001100130014001600170019001a001c001d001e0020002100230024002600270028002a002b002c002d002f003000310032003300340036003700380039003a003b003c003c003d003e003f0040004100410042004300430044004500450046004600470047004700480048004800490049004900490049004900490049&quot; | wgrib fh.0006_tl.tempr -i -grib -o onegrid.grb<br>
<br><a href="http://grib2ctl.pl">grib2ctl.pl</a> -verf onegrid.grb &gt;one.ctl<br>gribmap -i one.ctl <br>grads<br><br>Versions of code:<br>wgrib: v1.8.1.2a <br>/export/wesley/wd51we/bin/<a href="http://grib2ctl.pl">grib2ctl.pl</a> 0.9.12.5p48  <br>
OS: linux<br><br>In the second wgrib, make sure you use a -i and not a -l.  If you are using windows, you<br>may have hit a line-length limitation in their shell.  Make sure your grib2ctl/wgrib are<br>new enough to support thinned lat-lon grids (5/2006).<br>
<br>    Wesley<br><br><br><br><br><div class="gmail_quote">On Fri, Mar 9, 2012 at 2:51 PM, Walsh, Brian J <span dir="ltr">&lt;<a href="mailto:brian.walsh@amec.com">brian.walsh@amec.com</a>&gt;</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">








<div link="blue" vlink="purple" style="word-wrap:break-word" lang="EN-US">
<div>
<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">Thanks.<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">Jennifer/Wesley,<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">I tried to break up a UKMET grib file, as per tricks
 using wgrib (<a href="ftp://ftp.cpc.ncep.noaa.gov/wd51we/wgrib/tricks.wgrib" target="_blank">ftp://ftp.cpc.ncep.noaa.gov/wd51we/wgrib/tricks.wgrib</a>) using #15 (separating grids by GDS).<span> 
</span>So, I did the command:<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">wgrib –GDS fh.0006_tl.precp and I got the result
 below:<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font color="#c00000" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(192,0,0)">1:40:d=12030900:APCP:kpds5=61:kpds6=1:kpds7=0:TR=4:P1=0:P2=6:TimeU=1:sfc:0-6hr
 acc:NAve=2:GDS=0000b2002100ffff00490000000249f080015f9081d4c0ffff04e240000000000049004900490049004900490049004900480048004800470047004700460046004500450044004300430042004100410040003f003e003d003c003c003b003a003900380037003600340033003200310030002f002d002c002b002a0028002700260024002300210020001e001d001c001a0019001700160014001300110010000e000c000b000900080006000500030002<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="#c00000" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(192,0,0)">2:3759:d=12030900:APCP:kpds5=61:kpds6=1:kpds7=0:TR=4:P1=0:P2=6:TimeU=1:sfc:0-6hr
 acc:NAve=2:GDS=0000b2002100ffff0049815f9000ea60800000000249f0ffff04e24000000000000200030005000600080009000b000c000e0010001100130014001600170019001a001c001d001e0020002100230024002600270028002a002b002c002d002f003000310032003300340036003700380039003a003b003c003c003d003e003f0040004100410042004300430044004500450046004600470047004700480048004800490049004900490049004900490049<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="#c00000" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(192,0,0)">3:7478:d=12030900:APCP:kpds5=61:kpds6=1:kpds7=0:TR=4:P1=0:P2=6:TimeU=1:sfc:0-6hr
 acc:NAve=2:GDS=0000b2002100ffff0049815f900249f08000000081d4c0ffff04e24000000000000200030005000600080009000b000c000e0010001100130014001600170019001a001c001d001e0020002100230024002600270028002a002b002c002d002f003000310032003300340036003700380039003a003b003c003c003d003e003f0040004100410042004300430044004500450046004600470047004700480048004800490049004900490049004900490049<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="#c00000" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(192,0,0)">4:11629:d=12030900:APCP:kpds5=61:kpds6=1:kpds7=0:TR=4:P1=0:P2=6:TimeU=1:sfc:0-6hr
 acc:NAve=2:GDS=0000b2002100ffff0049815f9081d4c080000000807530ffff04e24000000000000200030005000600080009000b000c000e0010001100130014001600170019001a001c001d001e0020002100230024002600270028002a002b002c002d002f003000310032003300340036003700380039003a003b003c003c003d003e003f0040004100410042004300430044004500450046004600470047004700480048004800490049004900490049004900490049<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="#c00000" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(192,0,0)">5:15348:d=12030900:APCP:kpds5=61:kpds6=1:kpds7=0:TR=4:P1=0:P2=6:TimeU=1:sfc:0-6hr
 acc:NAve=2:GDS=0000b2002100ffff004900000000ea6080015f900249f0ffff04e240000000000049004900490049004900490049004900480048004800470047004700460046004500450044004300430042004100410040003f003e003d003c003c003b003a003900380037003600340033003200310030002f002d002c002b002a0028002700260024002300210020001e001d001c001a0019001700160014001300110010000e000c000b000900080006000500030002<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="#c00000" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(192,0,0)">6:19067:d=12030900:APCP:kpds5=61:kpds6=1:kpds7=0:TR=4:P1=0:P2=6:TimeU=1:sfc:0-6hr
 acc:NAve=2:GDS=0000b2002100ffff004900000080753080015f9000ea60ffff04e240000000000049004900490049004900490049004900480048004800470047004700460046004500450044004300430042004100410040003f003e003d003c003c003b003a003900380037003600340033003200310030002f002d002c002b002a0028002700260024002300210020001e001d001c001a0019001700160014001300110010000e000c000b000900080006000500030002<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="#c00000" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(192,0,0)">7:23218:d=12030900:APCP:kpds5=61:kpds6=1:kpds7=0:TR=4:P1=0:P2=6:TimeU=1:sfc:0-6hr
 acc:NAve=2:GDS=0000b2002100ffff004900000081d4c080015f90807530ffff04e240000000000049004900490049004900490049004900480048004800470047004700460046004500450044004300430042004100410040003f003e003d003c003c003b003a003900380037003600340033003200310030002f002d002c002b002a0028002700260024002300210020001e001d001c001a0019001700160014001300110010000e000c000b000900080006000500030002<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="#c00000" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(192,0,0)">8:27369:d=12030900:APCP:kpds5=61:kpds6=1:kpds7=0:TR=4:P1=0:P2=6:TimeU=1:sfc:0-6hr
 acc:NAve=2:GDS=0000b2002100ffff0049815f908075308000000000ea60ffff04e24000000000000200030005000600080009000b000c000e0010001100130014001600170019001a001c001d001e0020002100230024002600270028002a002b002c002d002f003000310032003300340036003700380039003a003b003c003c003d003e003f0040004100410042004300430044004500450046004600470047004700480048004800490049004900490049004900490049<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">So, to parse everything but the first entry, I
 did the trick command:<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font color="#c00000" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(192,0,0)">wgrib fh.0006_tl.precp –GDS | grep “GDS=0000b2002100ffff00490000000249f080015f9081d4c0ffff04e240000000000049004900490049004900490049004900480048004800470047004700460046004500450044004300430042004100410040003f003e003d003c003c003b003a003900380037003600340033003200310030002f002d002c002b002a0028002700260024002300210020001e001d001c001a0019001700160014001300110010000e000c000b000900080006000500030002”
 | wgrib fh.0006_tl.precp –I –grib –o UKMET.grib<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">where UKMET.grib is the name of the new grib file<u></u><u></u></span></font></p>

<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">It completes the command, but says “bad input from
 stdin”.<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">The resulting grib file does only contain this
 grid, but when I run grib2ctl on the file, it looks like this:<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">dset ^UKMET.grib<u></u><u></u></span></font></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">index ^UKMET.grib.idx<u></u><u></u></span></font></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">undef 9.999E+20<u></u><u></u></span></font></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">title UKMET.grib<u></u><u></u></span></font></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">*<span> 
</span>produced by grib2ctl v0.9.12.5p32amec<u></u><u></u></span></font></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">dtype grib 40<u></u><u></u></span></font></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">tdef 1 linear 06Z09mar2012 1mo<u></u><u></u></span></font></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">zdef 1 linear 1 1<u></u><u></u></span></font></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">vars 1<u></u><u></u></span></font></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">APCPsfc<span> 
</span>0 61,1, 0<span>  </span>** surface Total precipitation [kg/m^2]<u></u><u></u></span></font></p>
<p class="MsoNormal"><font face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">ENDVARS<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">So, it doesn’t have any X/Y coordinates.<span> 
</span>Any ideas?<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">Thanks<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">Brian<u></u><u></u></span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Arial"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></font></p>
<div>
<div style="border-width:1pt medium medium;border-style:solid none none;border-color:rgb(181,196,223) -moz-use-text-color -moz-use-text-color;padding:3pt 0in 0in">
<p class="MsoNormal"><b><font face="Tahoma"><span style="font-size:10pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;font-weight:bold">From:</span></font></b><font face="Tahoma"><span style="font-size:10pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
 <a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a> [mailto:<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>] <b><span style="font-weight:bold">On Behalf Of
</span></b>Jennifer Adams<br>
<b><span style="font-weight:bold">Sent:</span></b> Thursday, January 19, 2012 7:18 PM<br>
<b><span style="font-weight:bold">To:</span></b> GrADS Users Forum<br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [gradsusr] UKMET<u></u><u></u></span></font></p>
</div>
</div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt"><u></u> <u></u></span></font></p>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">I grabbed a sample file: <u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt"><a href="ftp://tgftp.nws.noaa.gov/SL.us008001/ST.opnl/MT.bmoav_CY.12/RD.20120119/PT.grid_DF.bb/fh.0006_tl.press" target="_blank">ftp://tgftp.nws.noaa.gov/SL.us008001/ST.opnl/MT.bmoav_CY.12/RD.20120119/PT.grid_DF.bb/fh.0006_tl.press</a><u></u><u></u></span></font></p>

</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt"><u></u> <u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">There are 3 different variables (grib codes 6, 7, and 102). Each variable has 8 records, each with a different grid, except
 for variable 102, which has 9. The ninth grid for variable 102 is a latlon grid with 1813 points, all the others are thinned grids with nxny=3447. Grib2ctl creates a pdef file for the thinned grid, presumably based on the grid specs it finds in record #1. I
 ran wgrib -V on this file and then grepped on &#39;grid=&#39; and got this:<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt"><u></u> <u></u></span></font></p>
</div>
<div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">rec 1:00040:date <a href="tel:2012011912" value="+12012011912" target="_blank">2012011912</a> PRES kpds5=1 kpds6=7 kpds7=0 levels=(0,0)
<font color="#ff221b"><span style="color:rgb(255,34,27)">grid=44</span></font> tropopause 6hr fcst:<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">rec 2:05915:date <a href="tel:2012011912" value="+12012011912" target="_blank">2012011912</a> PRES kpds5=1 kpds6=7 kpds7=0 levels=(0,0)
<font color="#ff221b"><span style="color:rgb(255,34,27)">grid=41</span></font> tropopause 6hr fcst:<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">rec 3:11790:date <a href="tel:2012011912" value="+12012011912" target="_blank">2012011912</a> PRES kpds5=1 kpds6=7 kpds7=0 levels=(0,0)
<font color="#ff221b"><span style="color:rgb(255,34,27)">grid=43</span></font> tropopause 6hr fcst:<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">rec 4:17233:date <a href="tel:2012011912" value="+12012011912" target="_blank">2012011912</a> PRES kpds5=1 kpds6=7 kpds7=0 levels=(0,0)
<font color="#ff221b"><span style="color:rgb(255,34,27)">grid=37</span></font> tropopause 6hr fcst:<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">rec 5:23108:date <a href="tel:2012011912" value="+12012011912" target="_blank">2012011912</a> PRES kpds5=1 kpds6=7 kpds7=0 levels=(0,0)
<font color="#ff221b"><span style="color:rgb(255,34,27)">grid=39</span></font> tropopause 6hr fcst:<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">rec 6:28983:date <a href="tel:2012011912" value="+12012011912" target="_blank">2012011912</a> PRES kpds5=1 kpds6=7 kpds7=0 levels=(0,0)
<font color="#ff221b"><span style="color:rgb(255,34,27)">grid=42</span></font> tropopause 6hr fcst:<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">rec 7:34858:date <a href="tel:2012011912" value="+12012011912" target="_blank">2012011912</a> PRES kpds5=1 kpds6=7 kpds7=0 levels=(0,0)
<font color="#ff221b"><span style="color:rgb(255,34,27)">grid=38</span></font> tropopause 6hr fcst:<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">rec 8:40733:date <a href="tel:2012011912" value="+12012011912" target="_blank">2012011912</a> PRES kpds5=1 kpds6=7 kpds7=0 levels=(0,0)
<font color="#ff221b"><span style="color:rgb(255,34,27)">grid=40</span></font> tropopause 6hr fcst:<u></u><u></u></span></font></p>
</div>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt"><u></u> <u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">When checking for matches for PDEF&#39;d grids, gribmap will check the nxny value to make sure it matches what the PDEF entry says,
 but doesn&#39;t go beyond that. The one latlon grid in the file does spawn an error from gribmap, &quot;GRIB grid size does not match descriptor&quot;. Each of the 8 thinned grids will appear identical to gribmap, so they will all match, and the one that the index file
 will point to will be the last record in the file to match, which will not likely correspond to the information used to create the pdef file. Wesley&#39;s suggestion to break up the file and separate out the nine different grids is the only way this data can be
 read with GrADS. <u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">--Jennifer<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt"><u></u> <u></u></span></font></p>
</div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt"><u></u> <u></u></span></font></p>
<div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">On Dec 16, 2011, at 5:06 PM, Wesley Ebisuzaki wrote:<u></u><u></u></span></font></p>
</div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt"><br>
<u></u><br>
<u></u><u></u><u></u></span></font></p>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">Brian,<br>
<br>
Looks like a problem with gribmap in GrADS v2.<br>
<br>
The files have several different grids in them. GrADS should check that <br>
the grid<br>
matches the grid in the ctl file (it does with grib1). It doesn&#39;t so all <br>
the grids match<br>
and you can plot the wrong data. :(<br>
<br>
Options: grib1, delete all but one of the grids.<br>
<br>
<u></u><br>
<u></u><u></u><u></u></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">18.1: lev1=101,0 var=0,3,1 MATCH<u></u><u></u></span></font></p>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">19.1: lev1=101,0 var=0,3,1 MATCH<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">20.1: lev1=101,0 var=0,3,1 MATCH<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">21.1: lev1=101,0 var=0,3,1 MATCH<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">22.1: lev1=101,0 var=0,3,1 MATCH<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">23.1: lev1=101,0 var=0,3,1 MATCH<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">24.1: lev1=101,0 var=0,3,1 MATCH<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">25.1: lev1=101,0 var=0,3,1 MATCH<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">grib2map: Writing out the index file<u></u><u></u></span></font></p>
</blockquote>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">Wesley<br>
<br>
<br>
<br>
Walsh, Brian J wrote:<br>
<u></u><br>
<u></u><u></u><u></u></span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt"><u></u> <u></u></span></font></p>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">Hi,<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt"><u></u> <u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">I’m wondering if anyone has been able to plot the UKMET grib data
<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">available on the TGFTP ftp site
<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">(<a href="ftp://tgftp.nws.noaa.gov/SL.us008001/ST.opnl/MT.bmoav_CY.12/" target="_blank">ftp://tgftp.nws.noaa.gov/SL.us008001/ST.opnl/MT.bmoav_CY.12/</a>)
 using <u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">GrADS. It is a thinned lat-long grid and I am able to convert it to a
<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">GRIB2 file using cnvgrib and run wgrib2 on the files, but it’s not
<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">plotting. Just wanted to see if anyone had success plotting these
<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">files and how it was accomplished.<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt"><u></u> <u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">Thanks<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt"><u></u> <u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">Brian<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt"><u></u> <u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt"><u></u> <u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">The information contained in this e-mail is intended only for the
<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">individual or entity to whom it is addressed.<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">Its contents (including any attachments) may contain confidential
<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">and/or privileged information.<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">If you are not an intended recipient you must not use, disclose,
<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">disseminate, copy or print its contents.<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">If you receive this e-mail in error, please notify the sender by reply
<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">e-mail and delete and destroy the message.<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">------------------------------------------------------------------------<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt"><u></u> <u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">_______________________________________________<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt">gradsusr mailing list<u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt"><a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><u></u><u></u></span></font></p>
</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt"><a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><u></u><u></u></span></font></p>

</blockquote>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt"><u></u> <u></u></span></font></p>
</blockquote>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt"><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><u></u><u></u></span></font></p>
</div>
</div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt"><u></u> <u></u></span></font></p>
<div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="1"><span style="font-size:9pt">--<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="1"><span style="font-size:9pt">Jennifer M. Adams<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="1"><span style="font-size:9pt">IGES/COLA<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="1"><span style="font-size:9pt">4041 Powder Mill Road, Suite 302<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="1"><span style="font-size:9pt">Calverton, MD 20705<u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="1"><span style="font-size:9pt"><a href="mailto:jma@cola.iges.org" target="_blank">jma@cola.iges.org</a><u></u><u></u></span></font></p>
</div>
<div>
<p class="MsoNormal"><font face="Times New Roman" size="1"><span style="font-size:9pt"><u></u> <u></u></span></font></p>
</div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt"><u></u> <u></u></span></font></p>
</div>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12pt"><u></u> <u></u></span></font></p>
</div>
<br>
<hr>
<font color="Gray" face="Arial" size="1">The information contained in this e-mail is intended only for the individual or entity to whom it is addressed.<br>
Its contents (including any attachments) may contain confidential and/or privileged information.<br>
If you are not an intended recipient you must not use, disclose, disseminate, copy or print its contents.<br>
If you receive this e-mail in error, please notify the sender by reply e-mail and delete and destroy the message.<br>
</font>
</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>