<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>Wesley,</div>
<div><br>
</div>
<div>Thanks very much for the help! I値l give cnvgrib21_gfs a try.</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Sam</div>
<div><br>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>&lt;<a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a>&gt; on behalf of Wesley Ebisuzaki - NOAA Federal &lt;<a href="mailto:wesley.ebisuzaki@noaa.gov">wesley.ebisuzaki@noaa.gov</a>&gt;<br>
<span style="font-weight:bold">Reply-To: </span>GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Friday, November 20, 2015 at 5:03 AM<br>
<span style="font-weight:bold">To: </span>GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>Re: [gradsusr] GFS grb2 to grb1 conversion issue<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">
<div>
<div>Sam,<br>
<br>
</div>
&nbsp;&nbsp; There is a version of cnvgrib called cnvgrib21_gfs that works.<br>
<br>
&nbsp;&nbsp;&nbsp; <a href="http://www.nco.ncep.noaa.gov/pmb/codes/nwprod/util/sorc/cnvgrib21_gfs.fd/">
http://www.nco.ncep.noaa.gov/pmb/codes/nwprod/util/sorc/cnvgrib21_gfs.fd/</a><br>
</div>
<br>
Wesley<br>
<div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Nov 20, 2015 at 7:32 AM, Wesley Ebisuzaki - NOAA Federal
<span dir="ltr">&lt;<a href="mailto:wesley.ebisuzaki@noaa.gov" target="_blank">wesley.ebisuzaki@noaa.gov</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div>
<div>
<div>Sam,<br>
<br>
</div>
&nbsp;&nbsp; I was able to reproduce your problem using the operational<br>
</div>
cnvgrib utility at NCEP.&nbsp; The problem seems fixable but<br>
</div>
<div>get expert advice.<br>
</div>
<div><br>
</div>
<div>From:<a href="http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2/" target="_blank">http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2/</a><br>
<br>
&nbsp; &quot;For questions related to the cnvgrib software, send mail to <a href="mailto:NCEP.NCO.GRIB@noaa.gov" target="_blank">
NCEP.NCO.GRIB@noaa.gov</a>.&quot;<br>
<br>
</div>
<div>Wesley<br>
<br>
</div>
<br>
<div><br>
<br>
<div>
<div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Nov 19, 2015 at 5:37 PM, Sam Wilson <span dir="ltr">
&lt;<a href="mailto:sam@surfline.com" target="_blank">sam@surfline.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>Hi,</div>
<div><br>
</div>
<div>I知 running into an issue with the resulting grib1 file produced from converting a long range (&gt;=264 hr forecast) GFS grib2 file with the cnvgrib utility.</div>
<div><br>
</div>
<div>I致e attached the initial grib2 file I知 working with as an example - this file contains only my variables of interest.</div>
<div><br>
</div>
<div>I want to convert this file to grib1, which I do using the following:</div>
<div><br>
</div>
<div>1.) wgrib2&nbsp;gfslr2015111912hr384.grb2 -grib temp.grb2</div>
<div><br>
</div>
<div>2.) cnvgrib -g21 temp.grb2 gfslr2015111912hr384.grb</div>
<div><br>
</div>
<div>When I run wgrib on the file grib1 file, it gives the following output:</div>
<div><br>
</div>
<div>
<div>1:0:d=15111912:TMP:kpds5=11:kpds6=105:kpds7=2:TR=10:P1=1:P2=128:TimeU=1:2 m above gnd:384hr fcst:NAve=0</div>
<div>2:114114:d=15111912:RH:kpds5=52:kpds6=105:kpds7=2:TR=10:P1=1:P2=128:TimeU=1:2 m above gnd:384hr fcst:NAve=0</div>
<div>3:195648:d=15111912:UGRD:kpds5=33:kpds6=105:kpds7=10:TR=10:P1=1:P2=128:TimeU=1:10 m above gnd:384hr fcst:NAve=0</div>
<div>4:301616:d=15111912:VGRD:kpds5=34:kpds6=105:kpds7=10:TR=10:P1=1:P2=128:TimeU=1:10 m above gnd:384hr fcst:NAve=0</div>
<div>5:407584:d=15111912:APCP:kpds5=61:kpds6=1:kpds7=0:TR=4:P1=116:P2=128:TimeU=1:sfc:<b>116-128hr
</b>acc:NAve=0</div>
<div>6:513552:d=15111912:CSNOW:kpds5=143:kpds6=1:kpds7=0:TR=3:P1=116:P2=128:TimeU=1:sfc:<b>116-128hr</b> ave:NAve=0</div>
<div>7:521780:d=15111912:CICEP:kpds5=142:kpds6=1:kpds7=0:TR=3:P1=116:P2=128:TimeU=1:sfc:<b>116-128hr</b> ave:NAve=0</div>
<div>8:530008:d=15111912:CFRZR:kpds5=141:kpds6=1:kpds7=0:TR=3:P1=116:P2=128:TimeU=1:sfc:<b>116-128hr</b> ave:NAve=0</div>
<div>9:538236:d=15111912:LFTX:kpds5=131:kpds6=1:kpds7=0:TR=10:P1=1:P2=128:TimeU=1:sfc:384hr fcst:NAve=0</div>
<div>10:611624:d=15111912:CAPE:kpds5=157:kpds6=1:kpds7=0:TR=10:P1=1:P2=128:TimeU=1:sfc:384hr fcst:NAve=0</div>
<div>11:717592:d=15111912:PWAT:kpds5=54:kpds6=200:kpds7=0:TR=10:P1=1:P2=128:TimeU=1:atmos col:384hr fcst:NAve=0</div>
<div>12:799126:d=15111912:TCDC:kpds5=71:kpds6=10:kpds7=0:TR=3:P1=116:P2=128:TimeU=1:atmos col:<b>116-128hr</b> ave:NAve=0</div>
<div>13:856224:d=15111912:PRMSL:kpds5=2:kpds6=102:kpds7=0:TR=10:P1=1:P2=128:TimeU=1:MSL:384hr fcst:NAve=0</div>
</div>
<div><br>
</div>
<div>I致e put in bold the the issues I知 seeing - those variables are giving me undefined values when I try to plot them, which I assume is due to the above issue.</div>
<div><br>
</div>
<div>I think #43 at the following link describes this problem, so it seems to be a known issue:</div>
<div><br>
</div>
<div><a href="http://ftp.cpc.ncep.noaa.gov/wd51we/wgrib2/tricks.wgrib2" target="_blank">http://ftp.cpc.ncep.noaa.gov/wd51we/wgrib2/tricks.wgrib2</a></div>
<div><br>
</div>
<div>I tried running the suggestion in #43 on my initial grib2 file, then ran cnvgrib but I get the same bad results with the grib1 file.</div>
<div><br>
</div>
<div>Is their another workaround to this problem I could try?</div>
<div><br>
</div>
<div>The versions of the utilities I知 running are below:</div>
<div><br>
</div>
<div>wgrib2 v0.1.9.4</div>
<div>wgrib&nbsp;v1.8.0.13f</div>
<div>cnvgrib-1.1.4</div>
<div><br>
</div>
<div>Thanks for any help you can provide.</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Sam</div>
<div><br>
</div>
</div>
<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" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</span>
</body>
</html>