爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 5554|回复: 12

[图形美化] [已解决]想用Grads,grib2资料以风向杆形式绘二维风场,d u;v时出现错误

[复制链接]

新浪微博达人勋

发表于 2015-10-8 17:25:20 | 显示全部楼层 |阅读模式

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

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

x
本帖最后由 lingxiyizhi 于 2015-12-2 13:27 编辑

如题,想用Grads,grib2资料以风向杆形式绘二维风场时,run gs文件后提示如下错误: QQ截图20151008172008.png


附gs文件:
'reinit'
'open D:/test/201301/fnl_20130101_00_00.ctl'
'set grid off'
'set grads off'
'set mpdset cnworld'
'set t 1'
'set lat 32 42'
'set lon 110 120'
'set lev 500'
'set gxout barb'
'd u;v'
;


本人新手,也搜索过论坛里相关的帖子,但是d u;v时始终提示语法错误。跪求各位指导,感激不尽!

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

新浪微博达人勋

发表于 2015-10-8 17:33:42 | 显示全部楼层
你看看你的CTL里面的变量是u 和v么?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2015-10-8 18:20:13 | 显示全部楼层
youyou 发表于 2015-10-8 17:33
你看看你的CTL里面的变量是u 和v么?

ctl里有138个变量,但是我纯菜鸟一个,不知道有没有u和v。我看了一下,与速度有关的如下:
UGRDprs   26,100  0,2,2 ** (1000 975 950 925 900 850 800 750 700 650 600 550 500 450 400 350 300 250 200 150 100 70 50 30 20 10) none U-Component of Wind [m/s]
UGRD_457m  0,102,457   0,2,2 ** 457 m above mean sea level none U-Component of Wind [m/s]
UGRD_914m  0,102,914   0,2,2 ** 914 m above mean sea level none U-Component of Wind [m/s]
UGRD_1524m  0,102,1524   0,2,2 ** 1524 m above mean sea level none U-Component of Wind [m/s]
UGRD10m  0,103,10   0,2,2 ** 10 m above ground none U-Component of Wind [m/s]
UGRDsig995  0,104,0.995   0,2,2 ** 0.995 sigma level none U-Component of Wind [m/s]
UGRD30_0mb 0,108,3000,0   0,2,2 ** 30-0 mb above ground none U-Component of Wind [m/s]
UGRDneg2pv  0,109,-2e-06   0,2,2 ** PV=-2e-06 (Km^2/kg/s) surface none U-Component of Wind [m/s]
UGRD2pv  0,109,2e-06   0,2,2 ** PV=2e-06 (Km^2/kg/s) surface none U-Component of Wind [m/s]
UGRDmwl  0,6,0   0,2,2 ** max wind none U-Component of Wind [m/s]
UGRDtrop  0,7,0   0,2,2 ** tropopause none U-Component of Wind [m/s]
ULWRFsfc  0,1,0   0,5,193,0 ** surface ave Upward Long-Wave Rad. Flux [W/m^2]
ULWRFtoa  0,8,0   0,5,193,0 ** top of atmosphere ave Upward Long-Wave Rad. Flux [W/m^2]
USWRFsfc  0,1,0   0,4,193,0 ** surface ave Upward Short-Wave Rad. Flux [W/m^2]
USWRFtoa  0,8,0   0,4,193,0 ** top of atmosphere ave Upward Short-Wave Rad. Flux [W/m^2]
VGWDsfc  0,1,0   0,3,195,0 ** surface ave Meridional Flux of Gravity Wave Stress [N/m^2]
VFLXsfc  0,1,0   0,2,18,0 ** surface ave Momentum Flux, V-Component [N/m^2]
VGRDprs   26,100  0,2,3 ** (1000 975 950 925 900 850 800 750 700 650 600 550 500 450 400 350 300 250 200 150 100 70 50 30 20 10) none V-Component of Wind [m/s]
VGRD_457m  0,102,457   0,2,3 ** 457 m above mean sea level none V-Component of Wind [m/s]
VGRD_914m  0,102,914   0,2,3 ** 914 m above mean sea level none V-Component of Wind [m/s]
VGRD_1524m  0,102,1524   0,2,3 ** 1524 m above mean sea level none V-Component of Wind [m/s]
VGRD10m  0,103,10   0,2,3 ** 10 m above ground none V-Component of Wind [m/s]
VGRDsig995  0,104,0.995   0,2,3 ** 0.995 sigma level none V-Component of Wind [m/s]
VGRD30_0mb 0,108,3000,0   0,2,3 ** 30-0 mb above ground none V-Component of Wind [m/s]
VGRDneg2pv  0,109,-2e-06   0,2,3 ** PV=-2e-06 (Km^2/kg/s) surface none V-Component of Wind [m/s]
VGRD2pv  0,109,2e-06   0,2,3 ** PV=2e-06 (Km^2/kg/s) surface none V-Component of Wind [m/s]
VGRDmwl  0,6,0   0,2,3 ** max wind none V-Component of Wind [m/s]
VGRDtrop  0,7,0   0,2,3 ** tropopause none V-Component of Wind [m/s]

敢问,我应该把gs改成什么?多谢了
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-10-8 19:48:41 | 显示全部楼层
把u改成UGRDprs
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2015-10-8 20:37:13 | 显示全部楼层

改过了,但是还是提示语法错误
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-10-8 20:53:03 | 显示全部楼层
lingxiyizhi 发表于 2015-10-8 20:37
改过了,但是还是提示语法错误

大小写都要一致哦!
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2015-10-8 21:53:26 | 显示全部楼层
suprince626 发表于 2015-10-8 20:53
大小写都要一致哦!
QQ截图20151008215135.png
嗯,是的,保持大小写一致了。但是还是这个错误。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2015-10-8 22:00:35 | 显示全部楼层
有没有大侠啊?急急急啊!!!
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2015-10-9 11:56:31 | 显示全部楼层
帖子可不能沉了啊。。。各位大侠
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2015-10-9 16:32:47 | 显示全部楼层
没有人吗?自己顶一下。。。坐等大虾
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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