Dear Bo,<br><br>I was just wondering, do you have an empty line at the end? I mean if your .gs file contains 5 lines, just press enter at the end so you'll have an empty extra line at the end.<br><br>Hope this can help,<br>
<br>Regards,<br>Serge<br><br><div class="gmail_quote">On Sat, Mar 24, 2012 at 4:13 AM, <a href="mailto:bo-dong@huskers.unl.edu">bo-dong@huskers.unl.edu</a> <span dir="ltr"><<a href="mailto:bo-dong@huskers.unl.edu">bo-dong@huskers.unl.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">
<p>Dear All,</p>
<p> </p>
<p>I was trying to create a new nc<a></a> file using the following .gs<a></a> script</p>
<p> </p>
<p>'reinit<a></a>'<br>
'open C:\shp\ohio.ctl<a></a>'<br>
'define maskk<a></a> = mask'<br>
'set sdfwrite<a></a> C:\shp\<a href="http://try.nc" target="_blank">try.nc</a>'<br>
'sdfwrite<a></a> maskk<a></a>'</p>
<p> </p>
<p>However, the last line 'sdfwrite<a></a> maskk<a></a>' seems doesn't work when I run the .gs<a></a> script.</p>
<p>but if I type those command in the grads command line, it worked, so wierd<a></a>.....</p>
<p>is there anything wrong with this .gs<a></a> file? </p>
<p> </p>
<p>thanks,</p>
<p>Bo</p>
</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>Serge<br>