You'll need wgrib. I would check the help section of wgrib (probably accessed by "wgrib --help" or just "wgrib" without any arguments), but I think the syntax to get text output for a specific variable within the GRIB file is<br>
wgrib -s (gribfile) | grep "(variable name)" | wgrib -i -text (gribfile) -o (output file name)<br><br>Jeff Duda<br><br><div class="gmail_quote">On Tue, Jan 31, 2012 at 1:11 AM, chinh ta huu <span dir="ltr"><<a href="mailto:chinhth2010@gmail.com">chinhth2010@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all users<br> I have one grib file as: <i><a href="http://anl_p.198201.gr" target="_blank">anl_p.198201.gr</a></i><br clear="all">
Does anyone let me know about the way to convert to txt file<br>Thank you<span class="HOEnZb"><font color="#888888"><br><br>-- <br><div>(Mr.) Ta Huu Chinh</div>
<div>National, Weather Forecasting Center, Ha Noi, Viet Nam. </div><div>No: 4th, Dang Thai Than, Hoan Kiem, Ha Noi</div><div>Tel: 84-903-402-181</div><div>Office: 84-43-824-4917</div><div>Email: <a href="mailto:chinhth2010@gmail.com" target="_blank">chinhth2010@gmail.com</a></div>
<div>Website: <a href="http://vn.myblog.yahoo.com/chinhth2005/" target="_blank">http://vn.myblog.yahoo.com/chinhth2005/</a></div><div>Website: <a href="http://bestknowledge-chinhth.blogspot.com/" target="_blank">http://bestknowledge-chinhth.blogspot.com/</a></div>
<div>Website: <a href="http://anhcuoidep.vn" target="_blank">http://anhcuoidep.vn</a></div><br>
</font></span><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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br><br>