<br><br>
<div class="gmail_quote">On Fri, Nov 6, 2009 at 7:10 AM, hersala <span dir="ltr">&lt;<a href="mailto:hersala@gmail.com">hersala@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Hao:<br>I have solved this difficulty using this grads script that is already posted in:<br><br><a href="http://cookbooks.opengrads.org/index.php?title=Recipe-002:_Saving_GrADS_variable_data_to_a_text_file" target="_blank">http://cookbooks.opengrads.org/index.php?title=Recipe-002:_Saving_GrADS_variable_data_to_a_text_file</a><br>
<br>It works really fine.<br>Best regards<br>Hernán<br><br><br><br><br>
<div class="gmail_quote">2009/11/5 Hao He <span dir="ltr">&lt;<a href="mailto:hhe@atmos.umd.edu" target="_blank">hhe@atmos.umd.edu</a>&gt;</span> 
<div>
<div></div>
<div class="h5"><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi,<br>  I used GrADS to read the GRIB file and wanted to selected some<br>variables, which can be write to an ASCII (.txt or .dat) file. I read the<br>
manual and found I should use &#39;gxout fwrite&#39;. But I still could not<br>figure out how to write the script. Does anyone have an idea?<br><br>Thanks!<br><font color="#888888"><br>Hao<br></font></blockquote></div></div>
</div> hi<br></blockquote>
<div>thank you for your help (<a href="http://fprintf.gs">fprintf.gs</a>)</div>
<div>but it can not save the latitude and longitude in the output file that save variables</div>
<div> such as below matrix;</div></div>
<div>            lat    lat    lat    lat    lat   </div>
<div>lon       var    var   var    var   var</div>
<div>lon        .        .      .      .     .  </div>
<div>lon        .        .      .      .     . </div>
<div> can you cahnge the command in the <a href="http://fprintf.gs">fprintf.gs</a> file to do this?</div>
<div>thanks<br></div>