batch output for list of files and lat-lons

Stephen Piper scpiper at UCSD.EDU
Thu Jan 8 10:32:25 EST 2009


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



More information about the gradsusr mailing list