<div dir="ltr"><div><div><div>Chris,<br></div>I'm not familiar with using the WRF software package to directly take output from the native eta levels to isobaric surfaces without using some sort of post-processing. For the longest time I used either ARWpost (now deprecated) or the Unified Post Processor (still supported) to interpolate raw output to isobaric surfaces. Therefore, I cannot directly explain to you why your error might be occurring. It might help if you showed us your namelist, specifically the entries that control outputting in grib format. Right off the bat, however, i suspect at least part of the problem is the fact that you have only 7 levels of output, and you probably used more than 7 for your nz in your model run, so there could be a mismatch going on.<br><br></div>If we can't figure this out from the namelist, I would suggest asking wrfhelp about it. If that doesn't pan out, I would try the UPP. If that still doesn't work, I have some Fortran code that will write out control files for your raw output.<br><br></div>Jeff Duda<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 28, 2016 at 10:30 AM, Chris Steele <span dir="ltr"><<a href="mailto:Chris.Steele@weatherquest.co.uk" target="_blank">Chris.Steele@weatherquest.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="#0563C1" vlink="#954F72" lang="EN-GB">
<div>
<p class="MsoNormal">Hi everyone,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’m trying to display WRF data in grads but I’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.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Whenever I try and run gribmap I receive the message “gribmap error: GRIB header not found in scanning between records try increasing the value of the –s argument” 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? <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">My ctl file is shown below:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">dset ^plevs_12km_06z<u></u><u></u></p>
<p class="MsoNormal">index ^plevs_12km_06z.idx<u></u><u></u></p>
<p class="MsoNormal">undef 9.999E+20<u></u><u></u></p>
<p class="MsoNormal">title plevs_12km_06z<u></u><u></u></p>
<p class="MsoNormal">* produced by grib2ctl v0.9.13<u></u><u></u></p>
<p class="MsoNormal">* command line options: plevs_12km_06z<u></u><u></u></p>
<p class="MsoNormal">dtype grib 0<u></u><u></u></p>
<p class="MsoNormal">pdef 165 174 lccr 43.379000 -16.586000 1 1 60.000000 0.000000 0.000000 12000 12000<u></u><u></u></p>
<p class="MsoNormal">xdef 165 linear -16.586000 0.150092100621267<u></u><u></u></p>
<p class="MsoNormal">ydef 174 linear 43.379000 0.109090909090909<u></u><u></u></p>
<p class="MsoNormal">tdef 1 linear 06Z28jul2016 1mo<u></u><u></u></p>
<p class="MsoNormal">* z has 7 levels, for prs<u></u><u></u></p>
<p class="MsoNormal">zdef 7 levels<u></u><u></u></p>
<p class="MsoNormal">1000 950 900 850 700 500 300<u></u><u></u></p>
<p class="MsoNormal">vars 10<u></u><u></u></p>
<p class="MsoNormal">DPTprs 7 17,100,0 ** (profile) <u></u><u></u></p>
<p class="MsoNormal">ELONsfc 0 177,1,0 ** surface <u></u><u></u></p>
<p class="MsoNormal">HGTprs 7 7,100,0 ** (profile) <u></u><u></u></p>
<p class="MsoNormal">MIXRprs 7 53,100,0 ** (profile) <u></u><u></u></p>
<p class="MsoNormal">NLATsfc 0 176,1,0 ** surface <u></u><u></u></p>
<p class="MsoNormal">PRESprs 7 1,100,0 ** (profile) <u></u><u></u></p>
<p class="MsoNormal">RHprs 7 52,100,0 ** (profile)<u></u><u></u></p>
<p class="MsoNormal">TMPprs 7 11,100,0 ** (profile) <u></u><u></u></p>
<p class="MsoNormal">UGRDprs 7 33,100,0 ** (profile) <u></u><u></u></p>
<p class="MsoNormal">VGRDprs 7 34,100,0 ** (profile) <u></u><u></u></p>
<p class="MsoNormal">ENDVARS<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Chris<u></u><u></u></p>
</font></span></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" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Jeff Duda<br>Post-doctoral research associate<br>University of Oklahoma School of Meteorology<br></div></div></div>
</div>