爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 8524|回复: 13

[图形美化] GrADS处理grib2资料发现有变量名丢失的情况

[复制链接]

新浪微博达人勋

发表于 2015-3-30 13:22:01 | 显示全部楼层 |阅读模式

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

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

x
本帖最后由 sun_shine_Xia 于 2015-3-30 13:24 编辑

    在用grads处理grib2资料的时候,所有的步骤和结果都是正确的,就是到了最后画图display的时候显示该变量不存在(图1),事实上在ctl里面这个变量名是有的(见下文ctl正文),而我在q ctlinfo的时候发现gards里面显示的变量名真的不在(图2)!求解这是什么原因?PS,现在只发现hgtprs,ugrdprs,vgrdprs存在这个现象

图1,提示不存在该变量

图1,提示不存在该变量
  1. dset E:/2014Typhoon/data/FNL/fnl_201409%d2_%h2_00.grib2
  2. options template
  3. index E:/2014Typhoon/data/FNL/fnl_20140915_00_00.grib2.idx
  4. undef 9.999E+20
  5. title E:/2014Typhoon/data/FNL/fnl_20140915_00_00.grib2
  6. *  produced by g2ctl v0.0.3d
  7. * griddef=1:0:(360 x 181):grid_template=0:winds(N/S): lat-lon grid:(360 x 181) units 1e-06 input WE:NS output WE:SN res 48 lat 90.000000 to -90.000000 by 1.000000 lon 0.000000 to 359.000000 by 1.000000 #points=65160

  8. dtype grib2
  9. ydef 181 linear -90.000000 1
  10. xdef 360 linear 0.000000 1.000000
  11. tdef 21 linear 00Z15Sep2014 6hr
  12. *  z has 26 levels -prs
  13. zdef 26 levels 100000 97500 95000 92500 90000 85000 80000 75000 70000 65000 60000 55000 50000 45000 40000 35000 30000 25000 20000 15000 10000 7000 5000 3000 2000 1000
  14. options pascals
  15. vars 98
  16. no4LFTXsfc  0,1,0   0,7,193 ** surface none Best (4 layer) Lifted Index [K]
  17. no5WAVA500mb  0,100,50000   0,3,197 ** 500 mb none 5-Wave Geopotential Height Anomaly [gpm]
  18. no5WAVH500mb  0,100,50000   0,3,193 ** 500 mb none 5-Wave Geopotential Height [gpm]
  19. ABSVprs   26,100  0,2,10 ** (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 Absolute Vorticity [1/s]
  20. CAPEsfc  0,1,0   0,7,6 ** surface none Convective Available Potential Energy [J/kg]
  21. CAPE180_0mb 0,108,18000,0   0,7,6 ** 180-0 mb above ground none Convective Available Potential Energy [J/kg]
  22. CINsfc  0,1,0   0,7,7 ** surface none Convective Inhibition [J/kg]
  23. CIN180_0mb 0,108,18000,0   0,7,7 ** 180-0 mb above ground none Convective Inhibition [J/kg]
  24. CLWMRprs   21,100  0,1,22 ** (1000 975 950 925 900 850 800 750 700 650 600 550 500 450 400 350 300 250 200 150 100) none Cloud Mixing Ratio [kg/kg]
  25. CWATclm  0,200,0   0,6,6 ** entire atmosphere (considered as a single layer) none Cloud Water [kg/m^2]
  26. GPA1000mb  0,100,100000   0,3,9 ** 1000 mb none Geopotential Height Anomaly [gpm]
  27. GPA500mb  0,100,50000   0,3,9 ** 500 mb none Geopotential Height Anomaly [gpm]
  28. HGTsfc  0,1,0   0,3,5 ** surface none Geopotential Height [gpm]
  29. HGTprs  26,100  0,3,5 ** (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) [gpm]</FONT>
  30. HGTneg2pv  0,109,-2e-06   0,3,5 ** PV=-2e-06 (Km^2/kg/s) surface none Geopotential Height [gpm]
  31. HGT2pv  0,109,2e-06   0,3,5 ** PV=2e-06 (Km^2/kg/s) surface none Geopotential Height [gpm]
  32. HGTtop0C  0,204,0   0,3,5 ** highest tropospheric freezing level none Geopotential Height [gpm]
  33. HGT0C  0,4,0   0,3,5 ** 0C isotherm none Geopotential Height [gpm]
  34. HGTmwl  0,6,0   0,3,5 ** max wind none Geopotential Height [gpm]
  35. HGTtrop  0,7,0   0,3,5 ** tropopause none Geopotential Height [gpm]
  36. HPBLsfc  0,1,0   0,3,196 ** surface none Planetary Boundary Layer Height [m]
  37. ICECsfc  0,1,0   10,2,0 ** surface none Ice Cover [Proportion]
  38. LANDsfc  0,1,0   2,0,0 ** surface none Land Cover (1=land, 0=sea) [Proportion]
  39. LFTXsfc  0,1,0   0,7,192 ** surface none Surface Lifted Index [K]
  40. O3MRprs   26,100  0,14,192 ** (100 70 50 30 20 10) none Ozone Mixing Ratio [kg/kg]
  41. PEVPRsfc  0,1,0   0,1,200 ** surface none Potential Evaporation Rate [W/m^2]
  42. POTsig995  0,104,0.995   0,0,2 ** 0.995 sigma level none Potential Temperature [K]
  43. PRESsfc  0,1,0   0,3,0 ** surface none Pressure [Pa]
  44. PRESmsl  0,101,0   0,3,0 ** mean sea level none Pressure [Pa]
  45. PRESneg2pv  0,109,-2e-06   0,3,0 ** PV=-2e-06 (Km^2/kg/s) surface none Pressure [Pa]
  46. PRES2pv  0,109,2e-06   0,3,0 ** PV=2e-06 (Km^2/kg/s) surface none Pressure [Pa]
  47. PRESmwl  0,6,0   0,3,0 ** max wind none Pressure [Pa]
  48. PREStrop  0,7,0   0,3,0 ** tropopause none Pressure [Pa]
  49. PRMSLmsl  0,101,0   0,3,1 ** mean sea level none Pressure Reduced to MSL [Pa]
  50. PWATclm  0,200,0   0,1,3 ** entire atmosphere (considered as a single layer) none Precipitable Water [kg/m^2]
  51. RHprs   21,100  0,1,1 ** (1000 975 950 925 900 850 800 750 700 650 600 550 500 450 400 350 300 250 200 150 100) none Relative Humidity [%]
  52. RH2m  0,103,2   0,1,1 ** 2 m above ground none Relative Humidity [%]
  53. RHsg330_1000 0,104,0.33,1   0,1,1 ** 0.33-1 sigma layer none Relative Humidity [%]
  54. RHsg440_1000 0,104,0.44,1   0,1,1 ** 0.44-1 sigma layer none Relative Humidity [%]
  55. RHsg720_940 0,104,0.72,0.94   0,1,1 ** 0.72-0.94 sigma layer none Relative Humidity [%]
  56. RHsg440_720 0,104,0.44,0.72   0,1,1 ** 0.44-0.72 sigma layer none Relative Humidity [%]
  57. RHsig995  0,104,0.995   0,1,1 ** 0.995 sigma level none Relative Humidity [%]
  58. RH30_0mb 0,108,3000,0   0,1,1 ** 30-0 mb above ground none Relative Humidity [%]
  59. RHclm  0,200,0   0,1,1 ** entire atmosphere (considered as a single layer) none Relative Humidity [%]
  60. RHtop0C  0,204,0   0,1,1 ** highest tropospheric freezing level none Relative Humidity [%]
  61. RH0C  0,4,0   0,1,1 ** 0C isotherm none Relative Humidity [%]
  62. SOILW0_10cm 0,106,0,0.1   2,0,192 ** 0-0.1 m below ground none Volumetric Soil Moisture Content [Fraction]
  63. SOILW10_40cm 0,106,0.1,0.4   2,0,192 ** 0.1-0.4 m below ground none Volumetric Soil Moisture Content [Fraction]
  64. SOILW40_100cm 0,106,0.4,1   2,0,192 ** 0.4-1 m below ground none Volumetric Soil Moisture Content [Fraction]
  65. SOILW100_200cm 0,106,1,2   2,0,192 ** 1-2 m below ground none Volumetric Soil Moisture Content [Fraction]
  66. SPFH2m  0,103,2   0,1,0 ** 2 m above ground none Specific Humidity [kg/kg]
  67. SPFH30_0mb 0,108,3000,0   0,1,0 ** 30-0 mb above ground none Specific Humidity [kg/kg]
  68. TCDCccll  0,244,0   0,6,1 ** convective cloud layer none Total Cloud Cover [%]
  69. TMPsfc  0,1,0   0,0,0 ** surface none Temperature [K]
  70. TMPprs   26,100  0,0,0 ** (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 Temperature [K]
  71. TMP_457m  0,102,457   0,0,0 ** 457 m above mean sea level none Temperature [K]
  72. TMP_914m  0,102,914   0,0,0 ** 914 m above mean sea level none Temperature [K]
  73. TMP_1524m  0,102,1524   0,0,0 ** 1524 m above mean sea level none Temperature [K]
  74. TMP2m  0,103,2   0,0,0 ** 2 m above ground none Temperature [K]
  75. TMPsig995  0,104,0.995   0,0,0 ** 0.995 sigma level none Temperature [K]
  76. TMP0_10cm 0,106,0,0.1   0,0,0 ** 0-0.1 m below ground none Temperature [K]
  77. TMP10_40cm 0,106,0.1,0.4   0,0,0 ** 0.1-0.4 m below ground none Temperature [K]
  78. TMP40_100cm 0,106,0.4,1   0,0,0 ** 0.4-1 m below ground none Temperature [K]
  79. TMP100_200cm 0,106,1,2   0,0,0 ** 1-2 m below ground none Temperature [K]
  80. TMP30_0mb 0,108,3000,0   0,0,0 ** 30-0 mb above ground none Temperature [K]
  81. TMPneg2pv  0,109,-2e-06   0,0,0 ** PV=-2e-06 (Km^2/kg/s) surface none Temperature [K]
  82. TMP2pv  0,109,2e-06   0,0,0 ** PV=2e-06 (Km^2/kg/s) surface none Temperature [K]
  83. TMPmwl  0,6,0   0,0,0 ** max wind none Temperature [K]
  84. TMPtrop  0,7,0   0,0,0 ** tropopause none Temperature [K]
  85. TOZNEclm  0,200,0   0,14,0 ** entire atmosphere (considered as a single layer) none Total Ozone [Dobson]
  86. 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]</FONT>
  87. UGRD_457m  0,102,457   0,2,2 ** 457 m above mean sea level none U-Component of Wind [m/s]
  88. UGRD_914m  0,102,914   0,2,2 ** 914 m above mean sea level none U-Component of Wind [m/s]
  89. UGRD_1524m  0,102,1524   0,2,2 ** 1524 m above mean sea level none U-Component of Wind [m/s]
  90. UGRD10m  0,103,10   0,2,2 ** 10 m above ground none U-Component of Wind [m/s]
  91. UGRDsig995  0,104,0.995   0,2,2 ** 0.995 sigma level none U-Component of Wind [m/s]
  92. UGRD30_0mb 0,108,3000,0   0,2,2 ** 30-0 mb above ground none U-Component of Wind [m/s]
  93. UGRDneg2pv  0,109,-2e-06   0,2,2 ** PV=-2e-06 (Km^2/kg/s) surface none U-Component of Wind [m/s]
  94. UGRD2pv  0,109,2e-06   0,2,2 ** PV=2e-06 (Km^2/kg/s) surface none U-Component of Wind [m/s]
  95. UGRDmwl  0,6,0   0,2,2 ** max wind none U-Component of Wind [m/s]
  96. UGRDtrop  0,7,0   0,2,2 ** tropopause none U-Component of Wind [m/s]
  97. 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]</FONT>
  98. VGRD_457m  0,102,457   0,2,3 ** 457 m above mean sea level none V-Component of Wind [m/s]
  99. VGRD_914m  0,102,914   0,2,3 ** 914 m above mean sea level none V-Component of Wind [m/s]
  100. VGRD_1524m  0,102,1524   0,2,3 ** 1524 m above mean sea level none V-Component of Wind [m/s]
  101. VGRD10m  0,103,10   0,2,3 ** 10 m above ground none V-Component of Wind [m/s]
  102. VGRDsig995  0,104,0.995   0,2,3 ** 0.995 sigma level none V-Component of Wind [m/s]
  103. VGRD30_0mb 0,108,3000,0   0,2,3 ** 30-0 mb above ground none V-Component of Wind [m/s]
  104. VGRDneg2pv  0,109,-2e-06   0,2,3 ** PV=-2e-06 (Km^2/kg/s) surface none V-Component of Wind [m/s]
  105. VGRD2pv  0,109,2e-06   0,2,3 ** PV=2e-06 (Km^2/kg/s) surface none V-Component of Wind [m/s]
  106. VGRDmwl  0,6,0   0,2,3 ** max wind none V-Component of Wind [m/s]
  107. VGRDtrop  0,7,0   0,2,3 ** tropopause none V-Component of Wind [m/s]
  108. VVELprs   21,100  0,2,8 ** (1000 975 950 925 900 850 800 750 700 650 600 550 500 450 400 350 300 250 200 150 100) none Vertical Velocity (Pressure) [Pa/s]
  109. VVELsig995  0,104,0.995   0,2,8 ** 0.995 sigma level none Vertical Velocity (Pressure) [Pa/s]
  110. VWSHneg2pv  0,109,-2e-06   0,2,192 ** PV=-2e-06 (Km^2/kg/s) surface none Vertical speed sheer [1/s]
  111. VWSH2pv  0,109,2e-06   0,2,192 ** PV=2e-06 (Km^2/kg/s) surface none Vertical speed sheer [1/s]
  112. VWSHtrop  0,7,0   0,2,192 ** tropopause none Vertical speed sheer [1/s]
  113. WEASDsfc  0,1,0   0,1,13 ** surface none Water Equivalent of Accumulated Snow Depth [kg/m^2]
  114. ENDVARS
复制代码



图2,变量名确实丢失

图2,变量名确实丢失


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

新浪微博达人勋

发表于 2015-3-30 14:27:41 | 显示全部楼层
同遇到这个问题,求解答
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-3-30 15:52:46 | 显示全部楼层
刚解决了这个问题,你的电脑是不是64位win7的?我用xp试了一下就正常了,用64位就出现和你一样的问题
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2015-3-30 16:03:07 | 显示全部楼层
suixinxiu 发表于 2015-3-30 15:52
刚解决了这个问题,你的电脑是不是64位win7的?我用xp试了一下就正常了,用64位就出现和你一样的问题

我的32位的。。。主要是去年都还是好的,今年就不行了,你的grads版本是多少啊?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-3-30 16:31:46 | 显示全部楼层
sun_shine_Xia 发表于 2015-3-30 16:03
我的32位的。。。主要是去年都还是好的,今年就不行了,你的grads版本是多少啊?

我也遇到过这样的问题 ,后来我是通过换GRADS的版本来解决的…………。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2015-3-31 09:31:58 | 显示全部楼层
youyou 发表于 2015-3-30 16:31
我也遇到过这样的问题 ,后来我是通过换GRADS的版本来解决的…………。

我的现在是2.1,发现就会是这种情况~难道2.0就可以搞定?以前装2.0的时候没试过grib2
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-3-31 09:51:49 | 显示全部楼层
师弟我刚才试了下,我的是2.0的,你说的3个变量可以画出来~
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-4-2 21:34:05 | 显示全部楼层
这问题我知道,前两天刚遇到,如果你用的是2。1的话  换回2。0吧
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2015-4-3 11:28:40 | 显示全部楼层
现在grads版本问题真头疼,新下的nc资料吧,只能用2.1打开,grib资料又要用老版本了
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2015-4-3 13:30:29 | 显示全部楼层
小二 发表于 2015-4-2 21:34
这问题我知道,前两天刚遇到,如果你用的是2。1的话  换回2。0吧

真的是这个问题~恶心啊
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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