<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Two comments inline. --Jennifer<div><br><div><div>On Sep 20, 2011, at 12:54 PM, Javier Peña wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Dear Wesley:<br><br>Could you kindly say to me where I can find the gribmap v2? <br></blockquote>There is only one gribmap, it handles both grib 1 and 2.&nbsp;</div><div><br><blockquote type="cite">Now, I am using ubuntu 10.1 and I have downdoad the GRADS version 2.0.a7.1-3 from the software center.<br><br>Thanks for your help.<br><br> kind regards:<br>Javier Peña<br><br><br><div class="gmail_quote">2011/9/20 Wesley Ebisuzaki <span dir="ltr">&lt;<a href="mailto:Wesley.Ebisuzaki@noaa.gov">Wesley.Ebisuzaki@noaa.gov</a>&gt;</span><br><blockquote class="gmail_quote" style="margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex; position: static; z-index: auto; "> Javier,<br> <br> The error message<br> <div class="im"><br> &gt; Open Error: &nbsp;Data file type invalid<br> &gt; &nbsp; --&gt; The invalid description file record is:<br> &gt; &nbsp; --&gt; dtype grb2<br></div></blockquote></div></blockquote>This looks like a simple typo. Try changing "grb2" to "grib2"</div><div><br></div><div><br><blockquote type="cite"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex; position: static; z-index: auto; "><div class="im"> </div>says that you either are using gribmap v1 or gribmap v2 that was compiled<br> without grib2 support. &nbsp;Most likely the former.<br> <br> &nbsp; &nbsp; &nbsp; &nbsp;Wesley Ebisuzaki<br> <div class="im"><br> <br> <br> Javier Peña wrote:<br> &gt; Dear users:<br> &gt;<br> &gt; I'm trying to open a grib2 file with Grads but I've found problems in<br> &gt; my way.<br> &gt;<br> &gt; I have been able to create a descriptor file with the function<br> </div>&gt; <a href="http://g2ctl.pl" target="_blank">g2ctl.pl</a> &lt;<a href="http://g2ctl.pl" target="_blank">http://g2ctl.pl</a>&gt; using the following sentence:<br> &gt;<br> &gt; perl <a href="http://g2ctl.pl" target="_blank">g2ctl.pl</a> &lt;<a href="http://g2ctl.pl" target="_blank">http://g2ctl.pl</a>&gt; -0 pgbhnl.gdas.2006020112.grb2 &gt;<br> <div><div></div><div class="h5">&gt; pgbhnl.gdas.2006020112_grib2.ctl<br> &gt;<br> &gt; but, when I've tried to create the index file with the function<br> &gt; gribmap, I have obtained the following error message:<br> &gt;<br> &gt; gribmap -i pgbhnl.gdas.2006020112_grib2.ctl<br> &gt; Open Error: &nbsp;Data file type invalid<br> &gt; &nbsp; --&gt; The invalid description file record is:<br> &gt; &nbsp; --&gt; dtype grb2<br> &gt; &nbsp; The data file was not opened.<br> &gt;<br> &gt; This is part of the descriptor file obtained:<br> &gt;<br> &gt; dset ^pgbhnl.gdas.2006020112.grb2<br> &gt; index ^pgbhnl.gdas.2006020112.grb2.idx<br> &gt; undef 9.999E+20<br> &gt; title pgbhnl.gdas.2006020112.grb2<br> &gt; * produced by g2ctl v0.0.8.2<br> &gt; * command line options: -0 pgbhnl.gdas.2006020112.grb2<br> &gt; * griddef=1:0:(720 x 361):grid_template=0:winds(N/S): lat-lon<br> &gt; grid:(720 x 361) units 1e-06 input WE:NS output WE:SN res 48 lat<br> &gt; 90.000000 to -90.000000 by 0.500000 lon 0.000000 to 359.500000 by<br> &gt; 0.500000 #points=259920:winds(N/S)<br> &gt;<br> &gt; dtype grib2<br> &gt; ydef 361 linear -90.000000 0.5<br> &gt; xdef 720 linear 0.000000 0.500000<br> &gt; tdef 1 linear 12Z01feb2006 1mo<br> &gt; * PROFILE hPa<br> &gt; zdef 37 levels 100000 97500 95000 92500 90000 87500 85000 82500 80000<br> &gt; 77500 75000 70000 65000 60000 55000 50000 45000 40000 35000 30000<br> &gt; 25000 22500 20000 17500 15000 12500 10000 7000 5000 3000 2000 1000 700<br> &gt; 500 300 200 100<br> &gt; options pascals<br> &gt; vars 95<br> &gt; no4LFTXsfc &nbsp; 0,1,0 &nbsp; 0,7,193 ** surface Best (4 layer) Lifted Index [K]<br> &gt; no5WAVA500mb &nbsp; 0,100,50000 &nbsp; 0,3,197 ** 500 mb 5-Wave Geopotential<br> &gt; Height Anomaly [gpm]<br> &gt; no5WAVH500mb &nbsp; 0,100,50000 &nbsp; 0,3,193 ** 500 mb 5-Wave Geopotential<br> &gt; Height [gpm]<br> &gt;<br> &gt; Does someone know what is the problem? What is wrong in my procedure?<br> &gt; and how can I create the index file?<br> &gt;<br> &gt; Thank you very much in advance for your help.<br> &gt;<br> &gt; Sincerely:<br> &gt; Javier Peña<br> &gt;<br> &gt; --<br> &gt; Javier Peña Álvarez<br> &gt; Energías Renovables<br> </div></div>&gt; <a href="mailto:javier.p@ereda.com">javier.p@ereda.com</a> &lt;mailto:<a href="mailto:javier.p@ereda.com">javier.p@ereda.com</a>&gt;<br> <div class="im">&gt; EREDA<br> &gt;<br> &gt; Tel: &nbsp;<a href="tel:%2B34%2091%205014755" value="+34915014755">+34 91 5014755</a><br> &gt; Fax: <a href="tel:%2B34%2091%205014756" value="+34915014756">+34 91 5014756</a><br> &gt; Pº. Marqués de Monistrol 7<br> &gt; 28011 MADRID<br> </div>&gt; <a href="http://www.ereda.com" target="_blank">www.ereda.com</a> &lt;<a href="http://www.ereda.com" target="_blank">http://www.ereda.com</a>&gt;<br> &gt; ------------------------------------------------------------------------<br> &gt;<br> &gt; _______________________________________________<br> &gt; gradsusr mailing list<br> &gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br> &gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br> &gt;<br> <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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br> </blockquote></div><br><br clear="all"><br>-- <br>Javier Peña Álvarez<br>Energías Renovables<br><a href="mailto:javier.p@ereda.com">javier.p@ereda.com</a><br>EREDA<br><br>Tel:&nbsp; +34 91 5014755<br>Fax: +34 91 5014756<br>Pº. Marqués de Monistrol 7<br> 28011 MADRID<br><a href="http://www.ereda.com">www.ereda.com</a><br> _______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<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>