<div dir="ltr"><div>Hope this shellscript helps you.</div><div><br></div><div><br></div><div>#!/bin/bash<br></div><div>your_files=( f1 f2 f3 f4 f5 f6 f7 .... )</div><div>for fname in "${your_files[@]}"</div><div>
do</div><div>grads -blc "$fname .gs"<br></div><div>done</div><div><br></div><div><br></div><div><br></div><div>Cheers</div><div><br></div><div>Kishore</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, May 22, 2014 at 4:32 PM, Jayakrishnan P.R <span dir="ltr"><<a href="mailto:prjayakrishnan@gmail.com" target="_blank">prjayakrishnan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">May be you need to write a shell scipt like this and execute the shell script in terminal.<br>
<p><span style="font-family:"Courier New""><b>opengrads -bpcx
<a href="http://regrid_olr.gs" target="_blank">regrid_olr.gs</a><br>
opengrads -bpcx <a href="http://regrid_sst.gs" target="_blank">regrid_sst.gs</a><br>
opengrads -bpcx <a href="http://regrid_temp.gs" target="_blank">regrid_temp.gs</a><br>
opengrads -bpcx <a href="http://regrid_wind.gs" target="_blank">regrid_wind.gs</a><br>
<br>
echo olr2007.grd |grads -bpcx <a href="http://olr2.gs" target="_blank">olr2.gs</a><br>
echo sst2007.grd |grads -bpcx <a href="http://sst2.gs" target="_blank">sst2.gs</a><br>
echo temp2007.grd |grads -bpcx <a href="http://temp2.gs" target="_blank">temp2.gs</a><br>
echo wind2007.grd |grads -bpcx <a href="http://wind1.gs" target="_blank">wind1.gs</a><br>
g77 HBUDGET3.FOR<br>
./a.out<span class="HOEnZb"><font color="#888888"><br></font></span></b></span></p><span class="HOEnZb"><font color="#888888"><br><div class="gmail_extra"><br>-- <br><div dir="ltr">Sincerely<br>***********************************************<br>
Jayakrishnan.P.R<br>Research Fellow (Part Time),<div>Department of Atmospheric Sciences</div>
<div>Cochin University of Science and Technology (CUSAT)</div><div>Cochin-682016<br>Mob: 09496026547<br><br>***********************************************</div></div>
</div></font></span></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>