[gradsusr] How to define the diretory in grads script?

LI Qi liqi123sh at qq.com
Tue Apr 12 06:15:54 EDT 2016


e.g., the .ctl file, data, and output figs are all in the same directory


how do I define the dir in the .gs script like


dir = 'E:\data\merge_pcp\2010\jun\'


'open 'dir+'a.ctl'
...
'gxprint 'dir+'\rain24h.png' 


so I can just modify the "dir"



Any hint will be appreciated!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160412/22a568a8/attachment.html 


More information about the gradsusr mailing list