Hao,<br><br>I use this line and it writes to a text file.<br><br>var = write('<filename>','<text>')<br><br>Below is an example w/variables mixed in.<br>icao = user input<br>fhght = calculated from model over user selected time<br>
<br>res = write (icao'_MEF.txt','Lowest Freezing Level:' fhght'FT')<br><br>Hope this helps you,<br><br>Shawn Delaney<br><a href="http://expweather.com">expweather.com</a><br><br><div class="gmail_quote">
On Thu, Nov 5, 2009 at 9:03 PM, Hao He <span dir="ltr"><<a href="mailto:hhe@atmos.umd.edu">hhe@atmos.umd.edu</a>></span> wrote:<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 'gxout fwrite'. 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><br>