- 积分
- 3355
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2013-4-8
- 最后登录
- 1970-1-1
|
发表于 2015-9-29 20:01:20
|
显示全部楼层
楼主你好,我按照你的方法用fnl资料画散度任意剖面图,但是出现错误,麻烦帮我看一下!万分感谢!
Error from GR2STN: 3rd argument invalid.
Operation Error: Error from gr2stn function
Error ocurred at column 1
DISPLAY error: Invalid expression
Expression = gr2stn(hdivg(ugrdprs,vgrdprs)*100000,118.0,lat)
Error from GR2STN: 3rd argument invalid.
Operation Error: Error from gr2stn function
Error ocurred at column 1
DISPLAY error: Invalid expression
Expression = gr2stn(hdivg(ugrdprs,vgrdprs)*100000,119,lat)
Error from GR2STN: 3rd argument invalid.
Operation Error: Error from gr2stn function
Error ocurred at column 1
DISPLAY error: Invalid expression
Expression = gr2stn(hdivg(ugrdprs,vgrdprs)*100000,120,lat)
Error from GR2STN: 3rd argument invalid.
Operation Error: Error from gr2stn function
Error ocurred at column 1
DISPLAY error: Invalid expression
Expression = gr2stn(hdivg(ugrdprs,vgrdprs)*100000,121,lat)
Error from COLL2GR: Collection 1 empty
Operation Error: Error from coll2gr function
Error ocurred at column 1
DISPLAY error: Invalid expression
Expression = coll2gr(1,-u)
gs如下:
'reinit'
'open E:/grads/fnl_2015.ctl'
'enable print E:\grads\slice\slice.gmf'
'set mpdset cnhimap'
'set grads off'
'set grid off'
'set zlog on'
lon1=118.0
lon2=121.0
lat1=24.0
lat2=27.0
'define alfa=atan2('lat2-lat1','lon2-lon1')'
'set x 1'
'set y 1'
'set lev 1000 100'
'set t 16'
'set t 6'
'q dim'
tt=sublin(result,5)
tt=subwrd(tt,6)
lon=lon1
'collect 1 free'
while(lon<=lon2)
'collect 1 gr2stn(hdivg(UGRDprs,VGRDprs)*100000,'lon','lat')'
lon=lon+1
endwhile
'set lon 100 130'
'set lev 1000 100'
'set ylevs 1000 925 850 700 600 500 400 300 200 100'
'set xlabs 24N,118E|25N,119E|26N,120E|27N,121E'
'set gxout shaded'
'set csmooth on'
'set clab on'
'd coll2gr(1,-u)'
'draw title 'tt'-slice-div'
'printim E:\grads\slice\'tt'-slice-div.jpg white'
'print'
'disable print'
麻烦帮我看看 万分感谢!
|
|