[gradsusr] Execute a grads script without opening grads

Thompson, Matt (GSFC-610.1)[SCIENCE SYSTEMS AND APPLICATIONS INC] matthew.thompson at nasa.gov
Tue Feb 21 11:23:06 EST 2012


On 02/21/2012 11:07 AM, Javier Peña wrote:
> Dear users,
> 
> I would like to execute a grads script without opening grads. I know,
> it's possible to execute a script with the string:  "grads -bpc
> script.gs <http://script.gs>"   but this, open grads in batch mode,
> execute the script but, it doesn't close grads. You have to write "quit"
> to close it.
> 
> Does someone know any command to execute a grads script without opening
> grads? or, a command similar to which I have written but it was able to
> open grads, execute the script and close grads?

Use 'grads -bpcx':

Command line options for GrADS version 2.0.1.oga.1:

    -x          Causes GrADS to automatically quit after executing
supplied command (used with -c)

Matt

-- 
Matt Thompson, PhD     SSAI, Sr Software Test Engr
NASA GSFC, Global Modeling and Assimilation Office
Code 610.1, 8800 Greenbelt Rd, Greenbelt, MD 20771
Phone: 301-614-6712              Fax: 301-614-6246



More information about the gradsusr mailing list