- 积分
- 137
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2015-8-29
- 最后登录
- 1970-1-1
|
发表于 2017-10-11 12:22:52
|
显示全部楼层
按照大神的脚本只画了垂直速度,但是觉得剖面地形近地面处会有空白,该- 'reinit'
- 'sdfopen E:\NCEP1\Monthly\omega.mon.mean.nc'
- 'sdfopen E:\NCEP1\Monthly\uwnd.mon.mean.nc'
- 'sdfopen E:\NCEP1\Monthly\vwnd.mon.mean.nc'
- 'sdfopen E:\NCEP1\Monthly\hgt.mon.mean.nc'
- 'open E:\NCEP1\surface_elevation\DiXing\orog0.25.ctl'
- 'set grads off'
- 'set grid off'
- 'set zlog on'
- *'set time may1970 sept1970'
- 'set lev 1000 100'
- 'define w6=ave(omega.1,t=6,t=818,12)'
- 'define u6=ave(uwnd.2,t=6,t=818,12)'
- 'define v6=ave(vwnd.3,t=6,t=818,12)'
- 'define w7=ave(omega.1,t=7,t=818,12)'
- 'define u7=ave(uwnd.2,t=7,t=818,12)'
- 'define v7=ave(vwnd.3,t=7,t=818,12)'
- 'define w8=ave(omega.1,t=8,t=818,12)'
- 'define u8=ave(uwnd.2,t=8,t=818,12)'
- 'define v8=ave(vwnd.3,t=8,t=818,12)'
- 'define w9=ave(omega.1,t=9,t=818,12)'
- 'define u9=ave(uwnd.2,t=9,t=818,12)'
- 'define v9=ave(vwnd.3,t=9,t=818,12)'
- 'define w=(w6+w7+w8+w9)/4'
- 'define v=(v6+v7+v8+v9)/4'
- 'define u=(u6+v7+u8+u9)/4'
- 'define a=ave(omega.1-w,time=jun1965,time=sep1965)'
- 'define b=ave(omega.1-w,time=jun1966,time=sep1966)'
- 'define c=ave(omega.1-w,time=jun1972,time=sep1972)'
- 'define d=ave(omega.1-w,time=jun1974,time=sep1974)'
- 'define e=ave(omega.1-w,time=jun1987,time=sep1987)'
- 'define f=ave(omega.1-w,time=jun2009,time=sep2009)'
- 'define n=(a+b+c+d+e+f)/6'
- lon1=60.0
- lon2=130.0
- lat1=10.0
- lat2=45.0
- 'define alfa=atan2('lat2-lat1','lon2-lon1')'
- 'set x 1'
- 'set y 1'
- 'set lev 1000 100'
- lon=lon1
- 'collect 1 free'
- 'collect 2 free'
- 'collect 3 free'
- 'collect 4 free'
- while(lon<=lon2)
- lat=lat1+(lat2-lat1)*(lon-lon1)/(lon2-lon1)
- 'collect 1 gr2stn(-n*100,'lon','lat')'
- 'collect 3 gr2stn(orog.5(t=1),'lon','lat')'
- lon=lon+1
- endwhile
- 'set lon 60 140'
- 'set lev 1000 100'
- 'set ylevs 1000 925 850 700 600 500 400 300 200 100'
- 'set xlabs 10N,60E|15N,70E|20N,80E|25N,90E|30N,100E|35N,110E|40N,120E|45N,130E'
- 'set gxout shaded'
- 'set csmooth on'
- 'set clab off'
- 'set clevs 0'
- 'set ccols 0 5 0'
- 'd coll2gr(3,-u)'
- 'set gxout stream'
- 'set cint 0.2'
- 'set black -0.1 0.1'
- 'set clab on'
- 'set dfile 1'
- 'd maskout(coll2gr(1,-u),-coll2gr(3,-u))'
- 'draw title W less along (10N,60E) to (45N,130E)'
- 'cbarn 1.0 0'
- 'gxprint E:\NCEP1\9.28\anypoumian5_W_less.png white'
- ;
复制代码
怎么处理呢 |
-
|