SCRIPT
Mateus Teixeira
mtex2k3 at YAHOO.COM.BR
Tue Jun 6 11:24:40 EDT 2006
Dear Cottet,
A grads script (.gs) is a file that contains GrADS commands to be
executed in a sequential way. In its simplest form, it is a list of
GrADS commands used to perform some task. As your programming skills
increase, you may improve it with some controls on the commands, like IF
... ELSE ... ENDIF; WHILE ... ENDWHILE and so on.
A grads script file is a ASCII file in which you put your GrADS command
in a sequence to make what you want. For example, a little script for
obtain a mean could be like:
'reinit'
'open test.ctl'
'display ave(vartest,t=1,t=20)'
'printim graph_result.png white'
'quit'
You may type such a script in any ASCII file edito, like vi, nedit, etc.
More infor you will find at web documentation for GrADS.
Mateus
Cottet, Loic (IFPRI) a écrit :
> Hi everyone,
>
> I tried to understand to write a script but I reckon it is not in Grads
> per se.
> DO I need to write it in another program? How do I write a .gs file?
> I am not advanced in computering, sorry about that and I do not find in
> Script Tutorial where the script has to be typed.
>
> I do not if I can be helped but I would appreciate it and the Institue for
> which I work too,
>
> Thanks a lot,
>
> Loic
>
>
_______________________________________________________
Novo Yahoo! Messenger com voz: Instale agora e faça ligações de graça.
http://br.messenger.yahoo.com/
More information about the gradsusr
mailing list