[gradsusr] How can i plotting series of value in TEXT (ASCII) file
Matt Alonso
matt.alonso at gmail.com
Sun Aug 1 11:46:54 EDT 2010
Hi Alireza,
The GrADS documentation has information about how to do exactly what you are
looking for:
http://www.iges.org/grads/gadoc/aboutgriddeddata#create
Hope that helps.
Cheers,
Matt
On Sun, Aug 1, 2010 at 11:33 AM, AliReza Balalan Fard <fard792 at gmail.com>wrote:
> hi
> Dear GrADS colleagues,
>
> i have a problem to plotting in GrADS
> i have a output of SWAN (Numerical Marine Model) in text (ASCII) format and
> i don't know that how can i plotting *Wave Height* and *Wind Speed* value
> in GrADS software
> 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
> my sample output is :
>
> for T=1
> x y Wave Height Wind Speed
> ----- ----- ------------ ----------
> 46.50 36.50 1.59665 0.574434
> 46.75 36.50 1.79381 0.281388
> 47.00 36.50 1.76554 0.272627
> 47.25 36.50 1.68329 0.325482
> 47.50 36.50 1.59609 0.391058
> 47.75 36.50 1.48571 0.513416
> 48.00 36.50 1.402 0.675989
> .... ..... .... .....
> .... ..... .... .....
> .... ..... .... .....
>
> for T=2
>
> 46.50 36.50 1.59665 0.574434
> 46.75 36.50 1.79381 0.281388
> 47.00 36.50 1.76554 0.272627
> 47.25 36.50 1.68329 0.325482
> 47.50 36.50 1.59609 0.391058
> 47.75 36.50 1.48571 0.513416
> 48.00 36.50 1.402 0.675989
> .... ..... .... .....
> .... ..... .... .....
> .... ..... .... .....
>
> for T=3
>
> 46.50 36.50 1.59665 0.574434
> 46.75 36.50 1.79381 0.281388
> 47.00 36.50 1.76554 0.272627
> 47.25 36.50 1.68329 0.325482
> 47.50 36.50 1.59609 0.391058
> 47.75 36.50 1.48571 0.513416
> 48.00 36.50 1.402 0.675989
> .... ..... .... .....
> .... ..... .... .....
> .... ..... .... .....
>
> i attached a full text file
>
> how can i change this format to *.dat* and *.ctl* for GrADS format ?
> I am looking for a *fortran script* (or other languages) to convert my
> file to open and plot it in GrADS or any way to plotting this ascii file in
> GrADS
>
> please help me
> thanks
>
>
>
> Best regards,
> +++++++++++++++++++++++++++++++++
> Marine Meteorological Office
> Caspian Marine Research and Forecast Center
> Bandar-e Anzali - Gilan Provice - Iran
> Alireza Balalan Fard
> tel :+981814246018 - fax:+981814242097
> +++++++++++++++++++++++++++++++++
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100801/026f8bb1/attachment-0003.html
More information about the gradsusr
mailing list