- 积分
- 15744
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2015-3-8
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2016-1-18 19:12:58
|
显示全部楼层
这是原nc文件求得某一年春季的uwnd;
这是我写出的grd绘制的;图形没偏移,但是数值好像偏大了,这是为什么
fwrite:'reinit'
'sdfopen h:\twentyc\uwnd.mon.mean.nc'
'set fwrite h:\twentyc\uchun.grd '
'set gxout fwrite'
'set y 1 91'
'set x 1 180'
'set lev 850'
i=0
while(i<=129)
t1=i*12+3
t2=i*12+5
'display ave(uwnd,t='t1',t='t2')'
i=i+1
endwhile
'disable fwrite'
;
ctl:
dset h:\twentyc\uchun.grd
options sequential
title uwnd
undef -9.99e+08
xdef 180 linear 0.0 2.0
ydef 91 linear -90.0 2.0
zdef 1 linear 850 1.0
tdef 130 linear Mar1871 1yr
vars 1
uwnd 1 99 37 zonal wind[m/s]
endvars
|
|