- 积分
- 696
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-10-15
- 最后登录
- 1970-1-1
![[小九阳雪] 粉丝数:134 微博数:387 新浪微博达人勋](source/plugin/sina_login/img/light.png)
|
发表于 2013-7-10 17:51:20
|
显示全部楼层
楼主,我用你的代码出不来结果呢?觉得没用错哇~
'reinit'
'open F:\Products\5min_3\mref\ref\rad.ctl'
'set grads off'
'set time 17:00Z19MAR2013'
'set x 1'
'set y 1'
'set lev 0.3 20'
lon1 = 109
lon2 = 110
lat1 = 29
lat2 = 25.5
lon = lon1
'collect 1 free'
while (lon <= lon2)
lat = lat1 +(lat2-lat1)*(lon-lon1) / (lon2-lon1)
'collect 1 gr2stn(mdbz,'lon','lat')'
lon=lon+0.01
endwhile
'set map 15 1 9'
*'set parea 1 10.2 1.5 8'
*'set font 0'
'set lon 109 110'
*'set xaxis 'lon1' 'lon2
'set clab on'
'set gxout shaded'
'set ccols 14 9 4 11 5 13 3'
'd coll2gr(1)'
'cbar'
我的数据是雷达数据,Z坐标,0.01°的,ctl定没错,因为我能用它画出某经圈或纬圈的剖面
xdef 1499 linear 103.91 0.01
ydef 1081 linear 21.397 0.01
zdef 29 levels
0.30000
0.50000
0.80000
1.00000
1.20000
1.50000
2.00000
2.50000
3.00000
3.50000
4.00000
4.50000
5.00000
5.50000
6.00000
7.00000
8.00000
9.00000
10.00000
11.00000
12.00000
13.00000
14.00000
15.00000
16.00000
17.00000
18.00000
19.00000
20.00000
tdef 12 linear 13:00Z19MAR2013 30mn
vars 1
mdbz 29 99 qiya
endvars
|
|