- 积分
- 146
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2015-4-10
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2016-3-31 09:29:53
|
显示全部楼层
能不能帮我看看啊
我写了GS做纬向平均,但是不对
'reinit'
'open e:\1\u-season.ctl'
'set gxout fwrite'
'set fwrite e:\1\u-z.dat'
mt=1;while(mt<=4)
ml=1;while(ml<=4)
my=1;while(my<=181)
'set y 'my
'd ave(u(z='ml',t='mt'),lon=0,lon=360)'
my=my+1;endwhile
ml=ml+1;endwhile
mt=mt+1;endwhile
'disable fwrite'
原数据的ctl
DSET e:\1\u-season.dat
TITLE uwind 1,4,7,10 season average 4levels
UNDEF -9.99e+33
XDEF 360 LINEAR 0 1
YDEF 181 LINEAR -90 1
ZDEF 4 levels 70 50 30 20
TDEF 4 linear jan2013 1mo
VARS 1
u 4 99 u wind season average
ENDVARS
|
|