| 
 
	积分5468贡献 精华在线时间 小时注册时间2012-10-13最后登录1970-1-1 
 | 
 
 
 楼主|
发表于 2013-5-7 10:06:08
|
显示全部楼层 
| dset    f:\1\grid.grd undef  -999.0
 title     sample
 xdef  13 linear 110.0 1
 ydef  7 linear 28.0 1
 zdef  1  linear 1000 1
 tdef  1 linear 01jan1956 1mo
 vars 1
 g 0 99
 endvars
 
 dset f:\1\corsummer3new.grd
 dtype station
 stnmap f:\1\cor.map
 undef -999.0
 title correlation
 tdef 1 linear JUN1951 1mo
 vars 1
 c 0 99 cor data
 endvars
 
 gs文件如下:
 'reinit'
 'open f:\1\grid.ctl'
 'open f:\1\corsummer3.ctl'
 
 'set map 1 1 6';
 'set mpdset hires cnworld'
 'set grid off'
 'set lon 110 122'
 'set lat 28 34'
 'set z 1'
 'set t 1'
 
 'define a=oacres(g,c.2)'
 'define a1=maskout(a,g-0.5)'
 'define aa=smth9(a1)'
 'set gxout shaded'
 'set grads off'
 'd aa'
 'set gxout contour'
 *'cnbasemap aa'
 'set grads off'
 'd aa'
 'cbarn -0.5 -0.3 0 0.3 0.5'
 'printim f:\1\1.png x1000 y800 white'
 *pull dummp
 'c'
 ;
 
 | 
 |