爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 5180|回复: 5

[图形美化] 风场矢量图 低空急流图

[复制链接]

新浪微博达人勋

发表于 2015-5-8 17:35:49 | 显示全部楼层 |阅读模式

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

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

x
061400.png 请教大神们,我这张图想突出急流部分,想把12M/S以下的风速箭头去掉要怎么弄啊。这是我的GS文件~~帮帮忙呀。我加了那个'set cmin 12'也没有用呀?

'set gxout contour'
'set display color'
'set lev 850'
'set mpdset hires'
'define u=UGRDprs'
'define v=VGRDprs'
'define fs=mng(u,v)'
'set ccolor 3'
'set cthick 1'
'set arrscl 0.5 8'
'set arrowhead 0.05'
'set mpdset hires'
'set cthick 6'
'set cterp on'
'set xlopts 1 6 0.20'
'set ylopts 1 6 0.15'
'set xlint 10' ;
'set ylint 10'
'set map 1 1 6'
'set mproj proj'
'set grads off'
'set cmin 12'
'd UGRDprs;VGRDprs'






密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-5-8 19:07:37 | 显示全部楼层
使用maskout命令。如果要用set cmin 12的话,display应该是'd UGRDprs;VGRDprs;mag(UGRDprs,VGRDprs)',但是这样的话,风矢量都会变成彩色的
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2015-5-9 12:18:19 | 显示全部楼层
river 发表于 2015-5-8 19:07
使用maskout命令。如果要用set cmin 12的话,display应该是'd UGRDprs;VGRDprs;mag(UGRDprs,VGRDprs)',但 ...

1.png 我想做成这种效果,你看。,绿色是风向标,他只显示了小于12M/S的风向标,  红色阴影是588等值线范围,这个我不需要。只要绿色的那些效果,不知道要怎么修改GS?
1.png
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-5-9 17:18:40 | 显示全部楼层
nicocle 发表于 2015-5-9 12:18
我想做成这种效果,你看。,绿色是风向标,他只显示了小于12M/S的风向标,  红色阴影是588等值线范围,这 ...

你去看看官方用法就好了
maskout

maskout(expr,mask)

Wherever the mask values are less than zero, the values in expr are set to the missing data value.

Works with gridded or station data. Where mask values are positive, the expr values are not modified. Thus the result of maskout is data with a possibly increased number of missing data values. The maskout function, in spite of its apparant simplicity, is extremely useful.

Usage Notes

Examples

See the Examples for the const function for a description of using maskout to calculate the percentage of the globe covered by precipitation.
The maskout function can be used to cause part of the data to be ignored while doing another calculation. For example, if we have a land-sea mask, where sea values are negative, and we want to take some areal average of a quantity only over land:
d aave(maskout(p,mask.2),lon=0,lon=360,lat=0,lat=90)
People frequently have trouble using a mask grid, because it is often put into a seperate file, and given some arbitrary date/time and level. Thus, it is often necessary to locally override the dimension environment while using the mask grid:
d aave(maskout(p,mask.2(t=1)),lon=0,lon=360,lat=0,lat=90)
would probably be how Example 2 would have to be expressed in order to work, with the local override of t=1 specified on the mask data. See the documentation on how GrADS evaluates expressions within the dimension environment for more information.
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-12-4 17:02:38 | 显示全部楼层
上面解释的很详细,在研究一下
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-9-22 18:33:51 | 显示全部楼层
谢谢分享,好好学习
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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