<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Jeffery,
<div><br>
</div>
<div>I will try 1 through 2. But that documentation does not mention where the output is being saved. Should I just type the full path?</div>
<div><br>
</div>
<div>Mason&nbsp;</div>
<div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF789078" style="direction: ltr; "><font face="Tahoma" size="2" color="#000000"><b>From:</b> gradsusr-bounces@gradsusr.org [gradsusr-bounces@gradsusr.org] on behalf of Jeffrey Duda [jdduda@iastate.edu]<br>
<b>Sent:</b> Monday, November 07, 2011 11:21 PM<br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> Re: [gradsusr] script failing?<br>
</font><br>
</div>
<div></div>
<div>Mason,<br>
Three suggestions:<br>
1a) Remove time from quotes in the while loop statement<br>
1b) time may be a default variable in Grads scripting.&nbsp; Use a different symbol to represent that variable.&nbsp; Lots of times I use 'tt'<br>
2) Remove the semicolon at the end<br>
3) When you use printim, make sure to include the x and y sizes as well as the output type.&nbsp; See
<a href="http://www.iges.org/grads/gadoc/gradcomdprintim.html" target="_blank">http://www.iges.org/grads/gadoc/gradcomdprintim.html</a> for instructions on that command.<br>
<br>
Jeff<br>
<br>
<div class="gmail_quote">On Mon, Nov 7, 2011 at 10:45 PM, Rowell, Mason D. <span dir="ltr">
&lt;<a href="mailto:Mason.D.Rowell-1@ou.edu" target="_blank">Mason.D.Rowell-1@ou.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
All,<br>
<br>
I am new to the scripting. In the attached, I initially got an error at the while loop, so I closed the variable time in single quotes within the condition, I don't get the error but I can't find the output. I don't know if it is just never entering the while
 loop or not because of what I did, but without the single quotes I get an error at that line every time. Also, I see no way of specifying the location of the outfile for printim command unless I am just supposed to write the full path to some place ending
 with the name of the outfile. Any help is appreciated.<br>
<span class="HOEnZb"><font color="#888888"><br>
Mason </font></span><br>
_______________________________________________<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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Jeff Duda<br>
Iowa State University<br>
Meteorology Graduate Student<br>
<a href="http://www.meteor.iastate.edu/%7Ejdduda" target="_blank">www.meteor.iastate.edu/~jdduda</a><br>
</div>
</div>
</div>
</div>
</body>
</html>