- 积分
- 85
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2017-12-6
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
'reinit'
'open E:\grads\cx\20180608\h\2.ctl'
'set grads off'
'set grid off'
'set vpage 0 11 0 8.5'
'set parea 0.6 10.2 0.5 7.8'
'set map 1 1 10'
'set gxout line'
*------calulation data u----------------
tt=1
while(tt<=3)
'set xlopts 1 6 0.15'
'set ylopts 1 6 0.15'
'set clopts 1 10 0.16'
'set ylevs -3.0 -2.0 -1.5 -1.0 -0.5 0.0 0.5 1.0 1.5'
*'set vrange -0.06 0.04'
'set cthick 8'
'set grads off'
'set gxout shaded'
'set csmooth on'
'set t 'tt
'set x 1 361'
'set y 1 181'
'define hg=HGTsfc'
'define u=UGRDsig995'
'define v=VGRDsig995'
'define r=6371000'
'define p=3.1416/180.0'
*------h---------
'define A=lat*p'
'define g=9.7803*(1+0.0053024*sin(A)*sin(A)-0.000005*sin(2*A)*sin(2*A))'
'define h=hg*9.8/g'
*--------dh----------
'define dhx=cdiff(h,x)'
'define dhy=cdiff(h,y)'
*----dx dy---du zhuanwei hudu------
'define dx=cdiff(lon,x)*p'
'define dy=cdiff(lat,y)*p'
*-----uh=u*dh/dx--------------
'define uh=u*dhx/(cos(lat*p)*dx*r)'
*-----vh=v*dh/dy--------------
'define vh=v*dhy/(dy*r)'
'define w=uh+vh'
'set lon 98 108'
'set lat 20 30'
'set lat 25'
*'set lon 102.6'
*'d uh*10+1'
'd w*100'
'q time'
x=subwrd(result,3)
'draw title w\'x''
*'print'
tt=tt+1
endwhile
'printim E:\grads\pc\20180608\h\2015\4ww_102_'x'.png white x800 y600'
结果与文献中相差100倍,不知是哪里出错,求助各位帮忙,万分感谢
|
|