Grads scripting language
Jennifer Adams
jma at COLA.IGES.ORG
Tue Jan 31 15:00:59 EST 2006
Tom,
Take a look at http://www.iges.org/grads/gadoc/gsf.html
You have to tweak a few things in your scripts, but this capability
allows you to call your own library of small functions. In the GrADS
script library panels.gfs and panels_demo.gs illustrate how to use
script functions.
Jennifer
On Jan 31, 2006, at 2:51 PM, Tom Pollard wrote:
> On Jan 31, 2006, at 1:27 PM, Dave Allured wrote:
>> There is one important concept for beginners that sometimes is not
>> clear. The Grads command language and the Grads scripting language
>> are
>> two different things with different syntaxes and name spaces. The
>> command language is interactive only. But the Grads scripting
>> language
>> is used to pass Grads commands to the command interpreter as lines of
>> text.
>
> If I can ask a provocative question, are people really happy with the
> scripting language? I started to work on writing some scripts last
> year and found the language to be very limiting in a number of ways.
> The main thing that bothered me was that didn't seem to be possible
> to load one script from another, which prevents you from building up
> libraries of reusable functions. Has anyone considered using Tcl or
> Python as an alternative scripting language? If so, I'd love to help
> work on this, in my (admittedly limited) free time.
>
> Tom
>
>
--
Jennifer Miletta Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
4041 Powder Mill Road, Suite 302
Calverton, MD 20705 USA
jma at cola.iges.org
More information about the gradsusr
mailing list