<HTML><HEAD></HEAD>
<BODY>
<DIV id=idOWAReplyText91350 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Look at grads scripting in the online manual. You can use a while loop to read your lat lon file using thr read function and then use ordinary grads commands to make your displays.</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Stephen Piper<BR><B>Sent:</B> Thu 1/8/2009 7:32<BR><B>To:</B> GRADSUSR@LIST.CINECA.IT<BR><B>Subject:</B> batch output for list of files and lat-lons<BR></FONT><BR></DIV>
<DIV><PRE style="WORD-WRAP: break-word">Hi,
I want to extract annual average vertical profiles from a monthly
binary file for a list of lat-lon locations.
I have a working .ctl file that works fine if I invoke it
interactively in Mac Unix:
~piper/bin/grads
g>open my.ctl
g>set lat 45
g>set lon
g>set z 1 9
g> set gxout print
g>d ave(bioa,t=1,t=12)
Now how can I do this for a long list of lat-lons for several
different binary files instead of
typing each one in interactively? ie., how can I invoke grads so
that I can give it a prepared
list, and don't have
to interactively enter each file and lat-lon pair?
Thanks,
Steve
</PRE></DIV></BODY></HTML>