I am almost sure that this is is possible but I do not have enough experience to do it.<br>Sorry.<br><br><div class="gmail_quote">2009/11/6 hossein lotfi <span dir="ltr">&lt;<a href="mailto:h.meteo.shirazu@gmail.com">h.meteo.shirazu@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br>
<div class="gmail_quote"><div><div></div><div class="h5">On Fri, Nov 6, 2009 at 7:10 AM, hersala <span dir="ltr">&lt;<a href="mailto:hersala@gmail.com" target="_blank">hersala@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">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><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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></div></div> hi<br></blockquote>
<div>thank you for your help (<a href="http://fprintf.gs" target="_blank">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" target="_blank">fprintf.gs</a> file to do this?</div>
<div>thanks<br></div>
</blockquote></div><br>