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>
Alireza Balalan Fard<br>tel :+981814246018 - fax:+981814242097<br>+++++++++++++++++++++++++++++++++<br>