爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 4521|回复: 4

[图形美化] 【求助】企图用fnl资料画925散度场,并叠加micaps第3类资料的6小时降水量,出...

[复制链接]
发表于 2014-9-1 22:14:35 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
本帖最后由 clare 于 2014-9-1 22:17 编辑

说明:p.s.主题分类选择不了  脚本编辑
我借鉴论坛中好几个画micaps第3类资料的帖子,主要为@luoziwuhuihttp://bbs.06climate.com/forum.php?mod=viewthread&tid=13648
尝试grads画图。
然后想模仿@传说中的谁 http://bbs.06climate.com/forum.php?mod=viewthread&tid=893帖子最后的出图效果。
本人使用了36个时次的micaps3的6小时降水资料;生成的格点场为0.25x0.25;  没有使用超赞的meteoinfo,因为对底图不需要做修饰。
但是一旦叠加散度场就会成酱紫:
如图:
error.png

单独画降水:
or.png

对应的原始数据:
micaps.png        fnl.png

对应的ctl:
fnlctl.png           micapsctl.png

画图使用的gs:


'reinit'
'open ..\fnl.ctl'
'open rain6h.ctl'
'open grid.ctl'
'enable print r6.gmf'
********************************************
i=1
while(i<=28)
'set lat 20 44'
'set lon 100 124'
'set t 'i''
'set mpdset cnworld cnriver'
'set parea 1 10 1 8'
'set xlopts  1 4 0.20'
'set ylopts  1 4 0.20'
'set clopts -1 -1 0.13'
'set xlab off'
'set ylab off'
'set grads off'
'set grid off'
'set csmooth on'
'set gxout shaded'
'set cmin 10'
'set clevs  10 15 20 25 30 35 40 50 60 70 80 90 100 120'
'set rgb 20 255 255 255'
'set rgb 21 205 236 251'
'set rgb 22 150 212 243'
'set rgb 23 106 173 220'
'set rgb 24 72 148 181'
'set rgb 25 113 195 179'
'set rgb 26 73 168 113'
'set rgb 27 116 193 75'
'set rgb 28 206 219 86'
'set rgb 29 249 195 77'
'set rgb 30 246 130 51'
'set rgb 31 232 78 41'
'set rgb 32 215 39 40'
'set rgb 33 181 26 33'
'set rgb 34 146 21 25'

'set ccols 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 '
'set xlpos -20'                                                                           
'set ylpos -20'
'cnbasemap  oacres(g.3,r.2)'
*'cnbasemap  oacres(g.2,r.1,2,50,20,10,5,1)'


'set gxout contour'
'set cthick 5'
'set ccolor rainbow'
'set csmooth on'
'set cint 5'
'set lat 20 44'
'set lon 100 124'
'set lev 925'
'define div= hdivg(UGRDprs,VGRDprs)*1e6'
'd div'



'run axis.gs -type b  -position o  -lfont 5 -lsize 0.15 -lthick 0.6 -interval 4 -sinterval 4 -suffix `3.'
'run axis.gs -type L  -position o  -lfont 5 -lsize 0.15 -lthick 0.6 -interval 4 -sinterval 4 -suffix `3.'  
*'cbarm 0.8 1 9.8  4.8'

'q dims'
rec=sublin(result,5)
recs=subwrd(rec,6)
' draw title Micaps'recs'-6h rain'

'print'
'c'
i=i+1
endwhile
'disable print'
;
错误信息提示:
er.png




密码修改失败请联系微信:mofangbao
发表于 2014-9-10 12:37:46 | 显示全部楼层
可能是格点场分辨率的问题,你的fnl资料是1*1的,格点场也生成1*1的试一下
密码修改失败请联系微信:mofangbao
发表于 2017-2-16 17:32:14 | 显示全部楼层
非常感谢楼主,希望好好学习一下,提高一下技术。
密码修改失败请联系微信:mofangbao
发表于 2017-2-17 08:59:28 | 显示全部楼层
我是来学习的
密码修改失败请联系微信:mofangbao
发表于 2017-2-17 09:16:19 | 显示全部楼层
我是来学习的
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表