Hi Alireza,<br><br>The GrADS documentation has information about how to do exactly what you are looking for:<br><br><a href="http://www.iges.org/grads/gadoc/aboutgriddeddata#create">http://www.iges.org/grads/gadoc/aboutgriddeddata#create</a><br>
<br>Hope that helps.<br><br>Cheers,<br>Matt<br><br><div class="gmail_quote">On Sun, Aug 1, 2010 at 11:33 AM, AliReza Balalan Fard <span dir="ltr"><<a href="mailto:fard792@gmail.com">fard792@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">hi <br>Dear GrADS colleagues,<br><br>i have a problem to plotting in GrADS<br>i have a output of SWAN (Numerical Marine Model) in text (ASCII) format and i don't know that how can i plotting <u><b>Wave Height</b></u> and <u><b>Wind Speed</b></u> value in GrADS software<br>
this data is for several time step (for example 4*12hr) and contain x and y coordinate and Wave height and wind speed for example<br>my sample output is :<br><br>for T=1<br> x y Wave Height Wind Speed<br>
----- ----- ------------ ----------<br>46.50 36.50 1.59665 0.574434 <br>46.75 36.50 1.79381 0.281388 <br>47.00 36.50 1.76554 0.272627 <br>47.25 36.50 1.68329 0.325482 <br>
47.50 36.50 1.59609 0.391058 <br>47.75 36.50 1.48571 0.513416 <br>48.00 36.50 1.402 0.675989 <br clear="all">.... ..... .... ..... <br>
.... ..... .... ..... <br>
.... ..... .... ..... <br><br>for T=2<br><br>46.50 36.50 1.59665 0.574434 <br>
46.75 36.50 1.79381 0.281388 <br>
47.00 36.50 1.76554 0.272627 <br>
47.25 36.50 1.68329 0.325482 <br>
47.50 36.50 1.59609 0.391058 <br>
47.75 36.50 1.48571 0.513416 <br>
48.00 36.50 1.402 0.675989 <br clear="all">....
..... .... ..... <br>
.... ..... .... ..... <br>
.... ..... .... ..... <br><br>
for T=3<br>
<br>
46.50 36.50 1.59665 0.574434 <br>
46.75 36.50 1.79381 0.281388 <br>
47.00 36.50 1.76554 0.272627 <br>
47.25 36.50 1.68329 0.325482 <br>
47.50 36.50 1.59609 0.391058 <br>
47.75 36.50 1.48571 0.513416 <br>
48.00 36.50 1.402 0.675989 <br clear="all">
....
..... .... ..... <br>
.... ..... .... ..... <br>
.... ..... .... ..... <br><br>i attached a full text file <br><br>how can i change this format to <u><b>.dat</b></u> and <u><b>.ctl</b></u> for GrADS format ?<br>I am looking for a <u><b>fortran script</b></u> (or other languages) to convert my file to open and plot it in GrADS or any way to plotting this ascii file in GrADS<br>
<br>please help me <br>thanks<br><br><br><br>Best regards,<br>+++++++++++++++++++++++++++++++++<br>Marine Meteorological Office<br>Caspian Marine Research and Forecast Center <br>Bandar-e Anzali - Gilan Provice - Iran <br>
<font color="#888888">
Alireza Balalan Fard<br>tel :+981814246018 - fax:+981814242097<br>+++++++++++++++++++++++++++++++++<br>
</font><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>