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

Davide Sacchetti davide.sacchetti at arpal.gov.it
Tue Apr 12 07:03:23 EDT 2016


very easy:
dir = 'E:\data\merge_pcp\2010\jun\'
'open 'dir'a.ctl'
bye bye
Davide

On Tue, 2016-04-12 at 18:17 +0800, LI Qi wrote:
> 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!
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr





More information about the gradsusr mailing list