<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Zilore -- <div>wgrib and grib2ctl are not designed for use with GRIB2. Try wgrib2 and g2ctl instead. Alternatively, you can use the output from grib2scan (a utility in the GrADS distribution) that will tell you the grib2 codes that are required for a GrADS descriptor file. If the data are on a thinned grid, you'll definitely need g2ctl to create the pdef file for you. You should be able to read this file with GrADS in its native format. </div><div>--Jennifer</div><div><br></div><div><br><div><div>On Nov 13, 2009, at 4:11 AM, zilore mumba wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><table cellspacing="0" cellpadding="0" border="0" style="position: static; z-index: auto; "><tbody><tr><td valign="top" style="font: inherit;">Dear Grads users,<br>Help sought if possible.<br>I have data in GRIB2 format from ECMWF. Because of the double headers in the data (complex packing), wgrib is not able to decode it propoerly hence not possible to make a ctl with grib2ctl.pl.<br>What I do is to decode the data with the ECMWF GRIB_API decoder and rewrite it in binary for grads with fortran. This works fine. I thought another alternative would be to convert the GRIB2 to NetCDF.<br>I have checked the listserver but did not find anything.<br>Is such a conversion possible?<br>Thanks for assistance<br>Zilore<br><br></td></tr></tbody></table><br> </blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; 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-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; 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-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; 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-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span> </div><br></div></body></html>