<div dir="ltr"><div><div>Dear Jeff,<br>Thank you for your suggestion. But it is not working.<br></div><br>I am getting the following error message:<br><br></div>Can't open the descriptor file<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 5 November 2016 at 00:33, Jeff Duda <span dir="ltr"><<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@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"><div>Don't forget the keyword 'run' in your invocation of grads. <br><br></div>Jeff Duda<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, Nov 4, 2016 at 5:41 AM, lpasmanoranjan <span dir="ltr"><<a href="mailto:lpasmanoranjan@gmail.com" target="_blank">lpasmanoranjan@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div><div>Dear GrADS users,<br></div>I would like to ask you a favour.</div><div><br></div><div>I would like to open 5 number of grads control files one by one after some computation. They are first defined in my shell script as:</div><div><br></div><div>ctl1=temp.ctl</div><div>ctl2=t.ctl</div><div>ctl3=tave.ctl</div><div>ctl4=t2.ctl</div><div>ctl5=t2m.ctl</div><div>grads -blc "<a href="http://temp.gs" target="_blank">temp.gs</a> $ctl1 $ctl2 $ctl3 $ctl4 $ctl5"</div><div><br></div><div>My grads script is:<br></div><div><br></div><div><div>function main(args)</div><div>ctl1=subwrd(args,1)<br></div><div>ctl2=subwrd(args,2)</div><div>ctl3=subwrd(args,3)</div><div>ctl4=subwrd(args,4)</div></div><div>ctl5=subwrd(args,5)</div><div><br></div><div>model1=1</div><div>model2=5</div><div>while(model1<=model2)</div><div><b><font color="#ff0000">'open ctl'model1</font></b></div><div>do some computation here</div><div>close 1</div><div>model1=model1+1</div><div>endwhile</div><div><br></div><div>My problem is in the command <b><font color="#ff0000">'open ctl'model1</font></b></div><div><br></div><div>Is it possible to pass such command in grads script?</div></div></div></div></div></div></div><span class="m_-4030821140801182802HOEnZb"><font color="#888888">
</font></span></div><span class="m_-4030821140801182802HOEnZb"><font color="#888888">
<br><br>-- <br><div dir="ltr"><div>Kind Regards,<br></div>Mano<br></div><br>
</font></span><br></div></div>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div class="m_-4030821140801182802gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Jeff Duda<br>Post-doctoral research associate<br>University of Oklahoma School of Meteorology<br></div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Kind Regards,<br></div>Mano<br></div></div>
</div>