- 积分
- 24990
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2011-8-10
- 最后登录
- 1970-1-1
![[FLYING_YL] 粉丝数:242 微博数:1601 新浪微博达人勋](source/plugin/sina_login/img/light.png)
|
![](static/image/common//ico_lz.png)
楼主 |
发表于 2014-2-28 15:27:45
|
显示全部楼层
冬日情愫+ 发表于 2014-2-28 10:35
站点数据和格点数据同时使用貌似不能这样写吧。建议你在循环里面打开文件
while(m
非常感谢,我按照你的提示弄好了。
'reinit'
m=1
while(m<25)
'sdfopen D:\hourt\china.nc'
'set grads off'
'set grid off'
'set lon 118 126'
'set lat 38 44'
'set mpdset cnworld'
'set mpdset liaoning liaoning_q cnworld'
'set csmooth on'
'set t 1'
'set lon 118 126'
'set lat 38 44'
'set gxout shaded'
'run D:\hourt\define_colors.gs'
'set clevs 200 300 400 500 600 700 800'
'set ccols 39 37 33 21 23 25 27 29'
'd china.1'
'cbarn'
'close 1'
'open d:\hourt\HOURT.ctl'
'set lon 118 126'
'set lat 38 44'
'set t ' m
'set gxout barb'
'set cthick 5'
'set digsiz 0.04'
'D uuu;vvv'
'close 1'
'printim D:\hourt\wind_height\hour_'m'.emf x1280 y1024 white'
m=m+1
'c'
endwhile
'print'
'disable print'
;
|
|