Thanks very much for your help.<br><br>I have also seen an option to execute a script opening and closing Grads in a only line command in ubuntu.<br><br>This is the following:<br><br>grads -bpcx <a href="http://script.gs">script.gs</a><br>
<br>Kind regards,<br>Javi<br><br><div class="gmail_quote">El 28 de febrero de 2012 09:14, Marsh, Kieren <span dir="ltr"><<a href="mailto:k.marsh@geos-uae.com">k.marsh@geos-uae.com</a>></span> escribió:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-GB">
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif"">Write<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif"">‘quit’<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif"">At the end
of your script instead of<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif"">Return<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif""><u></u> <u></u></span></p>
<pre style="background:white"><span style="font-family:"Tahoma","sans-serif"">Also, I believe putting <u></u><u></u></span></pre><pre style="background:white"><span style="font-family:"Tahoma","sans-serif""><u></u> <u></u></span></pre>
<pre style="background:white"><span style>grads -bpcx <a href="http://script.gs" target="_blank">script.gs</a><u></u><u></u></span></pre><pre style="background:white"><span style><u></u> <u></u></span></pre><pre style="background:white">
<span style>(Note the ‘x’) will also automatically close GrADS once the script has finished.<u></u><u></u></span></pre><pre style="background:white"><span style>I think you always have to open GrADS to run a script.<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></span></pre>
<span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif";color:#1f497d">Kieren
Marsh<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</font></span></div>
</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><br clear="all"><br>-- <br>Javier Peña Álvarez<br>Energías Renovables<br><a href="mailto:javier.p@ereda.com">javier.p@ereda.com</a><br>EREDA<br><br>Tel: +34 91 5014755<br>Fax: +34 91 5014756<br>
Pº. Marqués de Monistrol 7<br>28011 MADRID<br><a href="http://www.ereda.com">www.ereda.com</a><br>