<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi everyone,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I&#8217;m trying to display WRF data in grads but I&#8217;m hitting problems with the use of gribmap. The data are output directly by WRF in grib format, rather than through any netcdf conversion. Grib2ctl appears to work fine and gives no errors but
 one of my variables appears on the same line as another in the control file initially, so I have to move it.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Whenever I try and run gribmap I receive the message &#8220;gribmap error: GRIB header not found in scanning between records try increasing the value of the &#8211;s argument&#8221; I have tried increasing the value of s but to no avail. The data can be
 read in fine with wgrib. Does anyone know how to fix this issue? &nbsp;<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">My ctl file is shown below:<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">dset ^plevs_12km_06z<o:p></o:p></p>
<p class="MsoNormal">index ^plevs_12km_06z.idx<o:p></o:p></p>
<p class="MsoNormal">undef 9.999E&#43;20<o:p></o:p></p>
<p class="MsoNormal">title plevs_12km_06z<o:p></o:p></p>
<p class="MsoNormal">*&nbsp; produced by grib2ctl v0.9.13<o:p></o:p></p>
<p class="MsoNormal">* command line options: plevs_12km_06z<o:p></o:p></p>
<p class="MsoNormal">dtype grib 0<o:p></o:p></p>
<p class="MsoNormal">pdef 165 174 lccr 43.379000 -16.586000 1 1 60.000000 0.000000 0.000000 12000 12000<o:p></o:p></p>
<p class="MsoNormal">xdef 165 linear -16.586000 0.150092100621267<o:p></o:p></p>
<p class="MsoNormal">ydef 174 linear 43.379000 0.109090909090909<o:p></o:p></p>
<p class="MsoNormal">tdef 1 linear 06Z28jul2016 1mo<o:p></o:p></p>
<p class="MsoNormal">*&nbsp; z has 7 levels, for prs<o:p></o:p></p>
<p class="MsoNormal">zdef 7 levels<o:p></o:p></p>
<p class="MsoNormal">1000 950 900 850 700 500 300<o:p></o:p></p>
<p class="MsoNormal">vars 10<o:p></o:p></p>
<p class="MsoNormal">DPTprs 7 17,100,0 ** (profile) <o:p></o:p></p>
<p class="MsoNormal">ELONsfc&nbsp; 0 177,1,0&nbsp; ** surface <o:p></o:p></p>
<p class="MsoNormal">HGTprs 7 7,100,0 ** (profile) <o:p></o:p></p>
<p class="MsoNormal">MIXRprs 7 53,100,0 ** (profile) <o:p></o:p></p>
<p class="MsoNormal">NLATsfc&nbsp; 0 176,1,0&nbsp; ** surface <o:p></o:p></p>
<p class="MsoNormal">PRESprs 7 1,100,0 ** (profile) <o:p></o:p></p>
<p class="MsoNormal">RHprs 7 52,100,0 ** (profile)<o:p></o:p></p>
<p class="MsoNormal">TMPprs 7 11,100,0 ** (profile) <o:p></o:p></p>
<p class="MsoNormal">UGRDprs 7 33,100,0 ** (profile) <o:p></o:p></p>
<p class="MsoNormal">VGRDprs 7 34,100,0 ** (profile) <o:p></o:p></p>
<p class="MsoNormal">ENDVARS<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Regards<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Chris<o:p></o:p></p>
</div>
</body>
</html>