- 积分
- 1969
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-11-21
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2013-3-31 15:21:53
|
显示全部楼层
做个霸气的木头 发表于 2013-3-31 09:06
warning有不同,要看你的完整代码才能分清楚,还有楼主发错版块了~
完整的代码是四个季节的,如果都贴上来的话比较啰嗦。所以只贴了一个季节。
我现在把整个代码贴上来,再把运行的结果warning贴出来。(time.ctl和sp.p.ave.ctl代码如上贴出)
整个代码:
'reinit'
'open d:/lw/dat/season/sp/sp.p.ave.ctl'
'open d:/lw/dat/season/sum/sum.p.ave.ctl'
'open d:/lw/dat/season/aut/aut.p.ave.ctl'
'open d:/lw/dat/season/win/win.p.ave.ctl'
'open d:/lw/dat/season/regr_by_grads/time.ctl'
'define_colors'
'set grads off'
'set grid off'
'set mpdset hires'
'set mpdset hires'
'set x 1 '
'set y 1 '
'set t 1 60'
'define a=aave(tim.5,lon=72.75,lon=135.75,lat=16.75,lat=55.75)'
*******spring
'set parea 1 5 4.6 8.2'
'set x 1 127'
'set y 1 79'
'set z 1'
'set t 1 '
'define regr1=tregr(a,p.1,t=1,t=60)'
'set gxout shaded'
'set clevs -0.20 -0.16 -0.12 -0.08 -0.04 -0.02 0 0.02 0.04 0.08 0.12 0.16 0.20'
'set ccols 48 47 46 45 44 43 42 22 23 24 25 26 27 28 '
'cnbasemap regr1*10'
*'d regr1*10'
'draw ylab Regre of P in spring'
'printim d:/lw/dat/season/regr_by_grads/tu/regr_p.sp.season.gif white'
*********summer
'set parea 6 10 4.6 8.2'
'set x 1 127'
'set y 1 79'
'set z 1'
'set t 1 '
'define regr2=tregr(a,p.2,t=1,t=60)'
'set gxout shaded'
'set clevs -0.20 -0.16 -0.12 -0.08 -0.04 -0.02 0 0.02 0.04 0.08 0.12 0.16 0.20'
'set ccols 48 47 46 45 44 43 42 22 23 24 25 26 27 28 '
'cnbasemap regr2*10'
'draw ylab Regre of P in summer'
*********autum
'set parea 1 5 0.6 4.2'
'set lon 72.75 135.75'
'set lat 16.75 55.75'
'set lev 1'
'set t 1 '
'define regr3=tregr(a,p.3,t=1,t=60)'
'set gxout shaded'
'set clevs -0.20 -0.16 -0.12 -0.08 -0.04 -0.02 0 0.02 0.04 0.08 0.12 0.16 0.20'
'set ccols 48 47 46 45 44 43 42 22 23 24 25 26 27 28 '
'cnbasemap regr3*10'
'draw ylab Regr of P in autum'
*******winter
'set parea 6 10 0.6 4.2'
'set lon 72.75 135.75'
'set lat 16.75 55.75'
'set lev 1'
'set t 1 '
'define regr4=tregr(a,p.4,t=1,t=60)'
'set gxout shaded'
'set clevs -0.20 -0.16 -0.12 -0.08 -0.04 -0.02 0 0.02 0.04 0.08 0.12 0.16 0.20'
'set ccols 48 47 46 45 44 43 42 22 23 24 25 26 27 28 '
'cnbasemap regr4*10'
'cbarn'
'draw ylab Regr of P in winter'
'printim d:/lw/dat/season/regr_by_grads/tu/regr_p.x.season.gif white'
'reinit'
运行的j结果(warning):
ga->run d:\lw\dat\season\regr_by_grads\regr.p.season_tu.gs
All Grads attributes have been reinitialized
Data Request Warning:Request is completely outside file limits
……(共有55行上面的warning,完了就是下面的)
regr1*10
regr2*10
regr3*10
regr4*10
No hardcopy metafile open
All files closed ; all defined objects released;
All Grads attributes have been reinitialized
ga->
|
|