<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi, Antonio -- <div><br><div><div>On Jun 22, 2011, at 11:12 AM, antonio dias wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hi people.<br><br>I'm woking with grib2 file<span class="Apple-converted-space"> </span><em>ICE</em>/TURB/CB<br><br>I'm trying to generate idx file e getting the below error.<br><br>exemplos_grib2/gelo$ g2ctl 20110621_0000f12.grib2 > n2.ctl<br>exemplos_grib2/gelo$ gribmap -i n2.ctl<span class="Apple-converted-space"> </span><br><br><span style="font-weight: bold; ">grib2map: scanning GRIB2 file: 20110621_0000f12.grib2<span class="Apple-converted-space"> </span></span><br style="font-weight: bold; "><span style="font-weight: bold; ">getpdstemplate: PDS Template 4.15 not defined.</span><br style="font-weight: bold; "></div></div></div></span></blockquote>This is a message from the grib2 library, not GrADS. Support for this PDT was added with version 1.2.0 of the library. The release of 2.0.a9 was linked with version 1.1.8. </div><div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><span style="font-weight: bold; ">grib2map error: g2_getfld failed: ierr=11</span><br></div></div></div></span></blockquote>This is GrADS telling you that the library couldn't get the field. </div><div><br></div><div>PDS Template 4.15 is not in the WMO docs, but it is in the NCEP grib2 docs: <font class="Apple-style-span" face="Courier">"</font><b><big><big><font class="Apple-style-span" face="Courier" size="4"><span class="Apple-style-span" style="font-size: 14px;">Average, accumulation, extreme values or other statistically-processed values over a spatial area at a horizontal
level or in a horizontal layer at a point in time"</span></font></big></big></b></div><div><br></div><div>Even with the newer library, I don't see how GrADS can support that PDT -- it sounds like a number not a grid. Maybe wgrib2 can digest your file and return data values, if it is linked with the newer version of the library. </div><div><br></div><div>--Jennifer</div><div><br><div><br></div><br><blockquote type="cite"><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br><br><br>The .ctl file is ok, but the .idx is not generated.<br><br>I'm using grads 2.0.9 on ubuntu 10.04.<br><br>What should I do to solve this?<br><br>Thank you.<br><br><br></div></div>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div></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>