- 积分
- 9017
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-1-2
- 最后登录
- 1970-1-1

|

楼主 |
发表于 2012-9-8 22:11:50
|
显示全部楼层
mofangbao 发表于 2012-9-8 20:38
你的gs贴出来
gs:将set fwrite改成enable print可以出图,但这样没有结果
'open f:\air\grid2.ctl'
'open f:\air\t.ctl'
'set fwrite f:\air\czj.grd'
'set gxout fwrite'
'set grads off'
'set grid off'
'set cthick 5'
'set lat 15 60'
'set lon 70 150'
'set mpdset cnworld'
'define a=oacres(g,t.2,1.5)'
'define a1=maskout(a,g-0.5)'
'define aa=smth9(a1)'
'set lat 16 56'
'set lon 75 135'
'set cint 2'
*'d aa*0.1'
'cnbasemap aa*0.1'
'draw title 2012 China Spring Anomaly'
'run china -p'
'disable fwrite'
;
站点转成格点的文件的ctl:
dset f:\air\65anos.grd
dtype station
stnmap f:\air\ano.map
undef -9.99e33
title rain
tdef 62 linear JAN1951 1yr
vars 1
t 0 99 rainfall data
endvars
格点文件的ctl
dset f:\air\grid.grd
undef -9.99e33
title Sample Grid Data
xdef 80 linear 70 1
ydef 45 linear 15 1
zdef 1 linear 1000 1
tdef 1 linear JAN1951 1yr
vars 1
g 0 99 grid data
endvars |
|