[gradsusr] script failing?

Jeffrey Duda jdduda at iastate.edu
Tue Nov 8 00:21:33 EST 2011


Mason,
Three suggestions:
1a) Remove time from quotes in the while loop statement
1b) time may be a default variable in Grads scripting.  Use a different
symbol to represent that variable.  Lots of times I use 'tt'
2) Remove the semicolon at the end
3) When you use printim, make sure to include the x and y sizes as well as
the output type.  See
http://www.iges.org/grads/gadoc/gradcomdprintim.htmlfor instructions
on that command.

Jeff

On Mon, Nov 7, 2011 at 10:45 PM, Rowell, Mason D.
<Mason.D.Rowell-1 at ou.edu>wrote:

> All,
>
> 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.
>
> Mason
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Jeff Duda
Iowa State University
Meteorology Graduate Student
www.meteor.iastate.edu/~jdduda <http://www.meteor.iastate.edu/%7Ejdduda>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20111107/78ea678a/attachment-0003.html 


More information about the gradsusr mailing list