[Thread Prev][Thread Next][Index]

Re: [ferret_users] Arguments to GO tools



Changshui Xia,   
Hello!   
I think you should use this command,use nc2one_u/np908_($1)_u.nc. It's a expression of the sh or bash.

======= 2009-03-27, 10:41:20 2009-03-27, 10:41:20 =======   


Dear all,
   I have series of netcdf data in the name "np_1980_u.nc","np_1981_u.nc" 
...."np_2007_u.nc" stored in the directory "nc2one_u" and 
"np_1980_v.nc","np_1981_v.nc" ..."np_2007_v.nc" stored in the directory 
"nc2one_v"

I write a jnl called "plot.jnl"

use "nc2one_u/np_1980_u.nc"
use "nc2one_v/np_1980_v.nc"
......
plot.....
spawn gksm2ps -p portrait -l cps -o abc_1980.eps metafile.plt

If I want to plot the data of 1981 i have to change all the "1980" in the 
jnl
i want to add an arguments to GO tools, the argumentsis the year number such 
as(g plot 1981), how can I use the argment in the jul?
use "nc2one_u/np908_"$1"_u.nc" seems does not work.

Thank you in advance.

Xia 



   

= = = = = = = = = = = = = = = = = = = =   

    
        Song Zhenya   
        songroy@xxxxxxxxxx   
          2009-03-27    

=========================   
The First Institute of Oceanography   
State Oceanic Administration   
P. R. China   

No. 6 Xian-Xia-Ling Road, Qingdao 266061   
Tel: 86-532-88965937   
Fax: 86-532-88965937   
URL: www.fio.org.cn   
========================= 



[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement