Grads code to plot discrete data on a map

Charles Seman Charles.Seman at NOAA.GOV
Thu Dec 3 12:40:17 EST 2009


Alex,

Please find attached a script plot_hurricane_center3.gs (and called 
script function "pause.gsf") which is kind of a generic script to plot 
hurricane centers for a user-defined number of models (centers defined 
interactively using minimum sea-level pressure)... the script writes out 
the lon/lat points for each time level to an ASCII text file, and then 
reads them back in and does the plot... there are other scripts 
available, so please let me know if this is not what you need...

Hope this helps,
Chuck

Arlindo da Silva wrote:
> Alex,
>
>   Mike Fiorino may have such example...
>
> On Wed, Dec 2, 2009 at 2:41 PM, Alex Fierro 
> <alexandre.o.fierro at gmail.com <mailto:alexandre.o.fierro at gmail.com>> 
> wrote:
>
>     Hi Arlindo:
>
>     I was wondering if you would have a code that plots a list of
>     pairs of lat lon points on a map-i.e., how to plot discrete pairs
>     of points from a txt file on a map and then link them with a line
>     using grads- (Hurricane tracks)
>     I have code in Matlab to do that but wish to include this feature
>     in my fortran-grads interface as it runs much faster- I also used
>     GMT, but it is not very user friendly.
>
>     Cheers and hope all is well-
>
>     Alex-
>
>     -- 
>     -------------------------------------------------------------
>
>     Alexandre Fierro, PhD
>     Post-Doctoral Fellow-Research Associate/
>     Los Alamos National Laboratory, Los Alamos, NM (LANL)
>     Computational Atmospheric/Fluid Dynamics - EES-16
>     MS D 401, Los Alamos, NM 87545
>     Phone: 505-664-0303
>     E-mail: alexfierro at lanl.gov <mailto:alexfierro at lanl.gov>
>
>     "Yesterday is History, Tomorrow is a Mystery and Today is a Gift;
>     That is why it is called the Present"  
>
>     "There are only 10 types of people in the world:
>     Those who understand binary, and those who don't"  
>
>     "My opinions are my own and not representative of OU, NSSL,
>     AOML, HRD, LANL or any affiliates."
>             ^.^
>           (o  o)
>         /(   V   )\
>       ---m---m----
>
>
>
>
> -- 
> Arlindo da Silva
> dasilva at alum.mit.edu <mailto:dasilva at alum.mit.edu>

-- 

Please note that Charles.Seman at noaa.gov should be considered my NOAA
email address, not cjs at gfdl.noaa.gov.

********************************************************************
 Charles Seman                                Charles.Seman at noaa.gov
 U.S. Department of Commerce / NOAA / OAR
 Geophysical Fluid Dynamics Laboratory         voice: (609) 452-6547
 201 Forrestal Road                              fax: (609) 987-5063
 Princeton, NJ  08540-6649            http://www.gfdl.noaa.gov/~cjs/
********************************************************************

"The contents of this message are mine personally and do not necessarily
reflect any position of the Government or NOAA."

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: plot_hurricane_center3.gs
Url: http://gradsusr.org/pipermail/gradsusr/attachments/20091203/b8e9f54c/attachment.pl 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pause.gsf
Type: application/x-font-type1
Size: 355 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20091203/b8e9f54c/attachment.bin 


More information about the gradsusr mailing list