- 积分
- 1234
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2013-11-18
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
在做垂直风切变相关的程序,要用到区域平均这个函数,但在调用时总是出错,是怎么回事呢?
下面是程序和grads出错截图。
'reinit'
'open d:\test\20110923\fnl_20110923_00_00.ctl'
'set lon 100 130'
'set lat 5 30'
'set lev 850'
'set t 23'
'set grads off'
'set grid off'
'set gxout contour'
'set csmooth on'
'set cthick 10'
'set ccolor 1'
'set xlopts 1 7 0.17'
'set ylopts 1 7 0.17'
'set map 1 1 6'
'draw map'
'set clopts 0 6 0.17'
'set xlint 2.0'
'set ylint 2.0'
'set lon 100 130'
'set lat 5 30'
'define u1=ugrdprs'
'define v1=vgrdprs'
'open d:\test\20110923\fnl_20110923_00_00.ctl'
'set lon 100 130'
'set lat 5 30'
'set t 23'
'set lev 200'
'set gxout contour'
'set csmooth on'
'set cthick 10'
'set ccolor 1'
'set xlopts 1 8 0.16'
'set ylopts 1 8 0.16'
'set map 1 1 6'
'set xlint 2.0'
'set ylint 2.0'
'set clopts 0 6 0.17'
'define u2=ugrdprs'
'define v2=vgrdprs'
'define a=u2-u1'
'define b=v2-v1'
'define c=mag(a,b)'
'define ac=aave(c,lon=109,lon=120,lat=13,lat=23)'
'd ac'
|
|