爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
楼主: 宣林晓

[分享资料] 关于grads读取grib2格式数据的补充(准备部分)

  [复制链接]

新浪微博达人勋

发表于 2018-4-2 14:48:27 | 显示全部楼层
非常感谢,很有帮助
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-4-2 15:12:00 | 显示全部楼层
river 发表于 2015-9-1 12:43
楼主可不可以每个步骤截个图什么的,到后面说的cmd窗口是什么意思呢?我在windows的cmd窗口输入命令提示per ...

我也想问这个问题,楼主能解释一下吗
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-4-4 21:52:41 | 显示全部楼层
Ariena 发表于 2018-4-2 15:12
我也想问这个问题,楼主能解释一下吗

我不是楼主啊,我也只是提问的。
你安装完 perl 之后要把它添加到环境变量里面,然后才能在cmd下面直接输入perl2exe
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-4-9 16:41:49 | 显示全部楼层
river 发表于 2018-4-4 21:52
我不是楼主啊,我也只是提问的。
你安装完 perl 之后要把它添加到环境变量里面,然后才能在cmd下面直接 ...

好的,已经解决了,非常感谢
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-4-20 15:40:09 | 显示全部楼层
grib2不需要生成指针文件么?为什么都只是介绍grib2生成ctl呢?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-4-20 15:43:36 | 显示全部楼层
dset e:\e\fnl_20100228_06_00.grib2
index e:\e\fnl_20100228_06_00.grib2.idx
undef 9.999E+20
title e:\e\fnl_20100228_06_00.grib2
*  produced by g2ctl v0.0.3d
* griddef=1:0:(360 x 181):grid_template=0: 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

dtype grib2
ydef 181 linear -90.000000 1
xdef 360 linear 0.000000 1.000000
tdef 1 linear 06Z28feb2010 1mo
*  z has 26 levels -prs
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
options pascals
vars 98
no4LFTXsfc  0,1,0   0,7,193 ** surface none Best (4 layer) Lifted Index [K]
no5WAVA500mb  0,100,50000   0,3,197 ** 500 mb none 5-Wave Geopotential Height Anomaly [gpm]
no5WAVH500mb  0,100,50000   0,3,193 ** 500 mb none 5-Wave Geopotential Height [gpm]
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]
CAPEsfc  0,1,0   0,7,6 ** surface none Convective Available Potential Energy [J/kg]
CAPE180_0mb 0,108,18000,0   0,7,6 ** 180-0 mb above ground none Convective Available Potential Energy [J/kg]
CINsfc  0,1,0   0,7,7 ** surface none Convective Inhibition [J/kg]
CIN180_0mb 0,108,18000,0   0,7,7 ** 180-0 mb above ground none Convective Inhibition [J/kg]
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]
CWATclm  0,200,0   0,6,6 ** entire atmosphere (considered as a single layer) none Cloud Water [kg/m^2]
GPA1000mb  0,100,100000   0,3,9 ** 1000 mb none Geopotential Height Anomaly [gpm]
GPA500mb  0,100,50000   0,3,9 ** 500 mb none Geopotential Height Anomaly [gpm]
HGTsfc  0,1,0   0,3,5 ** surface none Geopotential Height [gpm]
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) none Geopotential Height [gpm]
HGTneg2pv  0,109,-2e-06   0,3,5 ** PV=-2e-06 (Km^2/kg/s) surface none Geopotential Height [gpm]
HGT2pv  0,109,2e-06   0,3,5 ** PV=2e-06 (Km^2/kg/s) surface none Geopotential Height [gpm]
HGTtop0C  0,204,0   0,3,5 ** highest tropospheric freezing level none Geopotential Height [gpm]
HGT0C  0,4,0   0,3,5 ** 0C isotherm none Geopotential Height [gpm]
HGTmwl  0,6,0   0,3,5 ** max wind none Geopotential Height [gpm]
HGTtrop  0,7,0   0,3,5 ** tropopause none Geopotential Height [gpm]
HPBLsfc  0,1,0   0,3,196 ** surface none Planetary Boundary Layer Height [m]
ICECsfc  0,1,0   10,2,0 ** surface none Ice Cover [Proportion]
LANDsfc  0,1,0   2,0,0 ** surface none Land Cover (1=land, 0=sea) [Proportion]
LFTXsfc  0,1,0   0,7,192 ** surface none Surface Lifted Index [K]
O3MRprs   26,100  0,14,192 ** (100 70 50 30 20 10) none Ozone Mixing Ratio [kg/kg]
PEVPRsfc  0,1,0   0,1,200 ** surface none Potential Evaporation Rate [W/m^2]
POTsig995  0,104,0.995   0,0,2 ** 0.995 sigma level none Potential Temperature [K]
PRESsfc  0,1,0   0,3,0 ** surface none Pressure [Pa]
PRESmsl  0,101,0   0,3,0 ** mean sea level none Pressure [Pa]
PRESneg2pv  0,109,-2e-06   0,3,0 ** PV=-2e-06 (Km^2/kg/s) surface none Pressure [Pa]
PRES2pv  0,109,2e-06   0,3,0 ** PV=2e-06 (Km^2/kg/s) surface none Pressure [Pa]
PRESmwl  0,6,0   0,3,0 ** max wind none Pressure [Pa]
PREStrop  0,7,0   0,3,0 ** tropopause none Pressure [Pa]
PRMSLmsl  0,101,0   0,3,1 ** mean sea level none Pressure Reduced to MSL [Pa]
PWATclm  0,200,0   0,1,3 ** entire atmosphere (considered as a single layer) none Precipitable Water [kg/m^2]
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 [%]
RH2m  0,103,2   0,1,1 ** 2 m above ground none Relative Humidity [%]
RHsg330_1000 0,104,0.33,1   0,1,1 ** 0.33-1 sigma layer none Relative Humidity [%]
RHsg440_1000 0,104,0.44,1   0,1,1 ** 0.44-1 sigma layer none Relative Humidity [%]
RHsg720_940 0,104,0.72,0.94   0,1,1 ** 0.72-0.94 sigma layer none Relative Humidity [%]
RHsg440_720 0,104,0.44,0.72   0,1,1 ** 0.44-0.72 sigma layer none Relative Humidity [%]
RHsig995  0,104,0.995   0,1,1 ** 0.995 sigma level none Relative Humidity [%]
RH30_0mb 0,108,3000,0   0,1,1 ** 30-0 mb above ground none Relative Humidity [%]
RHclm  0,200,0   0,1,1 ** entire atmosphere (considered as a single layer) none Relative Humidity [%]
RHtop0C  0,204,0   0,1,1 ** highest tropospheric freezing level none Relative Humidity [%]
RH0C  0,4,0   0,1,1 ** 0C isotherm none Relative Humidity [%]
SOILW0_10cm 0,106,0,0.1   2,0,192 ** 0-0.1 m below ground none Volumetric Soil Moisture Content [Fraction]
SOILW10_40cm 0,106,0.1,0.4   2,0,192 ** 0.1-0.4 m below ground none Volumetric Soil Moisture Content [Fraction]
SOILW40_100cm 0,106,0.4,1   2,0,192 ** 0.4-1 m below ground none Volumetric Soil Moisture Content [Fraction]
SOILW100_200cm 0,106,1,2   2,0,192 ** 1-2 m below ground none Volumetric Soil Moisture Content [Fraction]
SPFH2m  0,103,2   0,1,0 ** 2 m above ground none Specific Humidity [kg/kg]
SPFH30_0mb 0,108,3000,0   0,1,0 ** 30-0 mb above ground none Specific Humidity [kg/kg]
TCDCccll  0,244,0   0,6,1 ** convective cloud layer none Total Cloud Cover [%]
TMPsfc  0,1,0   0,0,0 ** surface none Temperature [K]
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]
TMP_1829m  0,102,1829   0,0,0 ** 1829 m above mean sea level none Temperature [K]
TMP_2743m  0,102,2743   0,0,0 ** 2743 m above mean sea level none Temperature [K]
TMP_3658m  0,102,3658   0,0,0 ** 3658 m above mean sea level none Temperature [K]
TMP2m  0,103,2   0,0,0 ** 2 m above ground none Temperature [K]
TMPsig995  0,104,0.995   0,0,0 ** 0.995 sigma level none Temperature [K]
TMP0_10cm 0,106,0,0.1   0,0,0 ** 0-0.1 m below ground none Temperature [K]
TMP10_40cm 0,106,0.1,0.4   0,0,0 ** 0.1-0.4 m below ground none Temperature [K]
TMP40_100cm 0,106,0.4,1   0,0,0 ** 0.4-1 m below ground none Temperature [K]
TMP100_200cm 0,106,1,2   0,0,0 ** 1-2 m below ground none Temperature [K]
TMP30_0mb 0,108,3000,0   0,0,0 ** 30-0 mb above ground none Temperature [K]
TMPneg2pv  0,109,-2e-06   0,0,0 ** PV=-2e-06 (Km^2/kg/s) surface none Temperature [K]
TMP2pv  0,109,2e-06   0,0,0 ** PV=2e-06 (Km^2/kg/s) surface none Temperature [K]
TMPmwl  0,6,0   0,0,0 ** max wind none Temperature [K]
TMPtrop  0,7,0   0,0,0 ** tropopause none Temperature [K]
TOZNEclm  0,200,0   0,14,0 ** entire atmosphere (considered as a single layer) none Total Ozone [Dobson]
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_1829m  0,102,1829   0,2,2 ** 1829 m above mean sea level none U-Component of Wind [m/s]
UGRD_2743m  0,102,2743   0,2,2 ** 2743 m above mean sea level none U-Component of Wind [m/s]
UGRD_3658m  0,102,3658   0,2,2 ** 3658 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]
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_1829m  0,102,1829   0,2,3 ** 1829 m above mean sea level none V-Component of Wind [m/s]
VGRD_2743m  0,102,2743   0,2,3 ** 2743 m above mean sea level none V-Component of Wind [m/s]
VGRD_3658m  0,102,3658   0,2,3 ** 3658 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]
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]
VVELsig995  0,104,0.995   0,2,8 ** 0.995 sigma level none Vertical Velocity (Pressure) [Pa/s]
VWSHneg2pv  0,109,-2e-06   0,2,192 ** PV=-2e-06 (Km^2/kg/s) surface none Vertical speed sheer [1/s]
VWSH2pv  0,109,2e-06   0,2,192 ** PV=2e-06 (Km^2/kg/s) surface none Vertical speed sheer [1/s]
VWSHtrop  0,7,0   0,2,192 ** tropopause none Vertical speed sheer [1/s]
WEASDsfc  0,1,0   0,1,13 ** surface none Water Equivalent of Accumulated Snow Depth [kg/m^2]
ENDVARS
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-4-20 15:44:10 | 显示全部楼层
生成出来ctl,但是无法生成指针文件啊
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-5-1 13:27:55 | 显示全部楼层
楼主实在太具有探索精神了~赞
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-5-12 14:32:18 | 显示全部楼层
我在cmd输入了显示perl2exe' 不是内部或外部命令,也不是可运行的程序或批处理文件。是怎么回事啊
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-9-11 11:01:32 | 显示全部楼层
老师您好,我在生成.ctl文件过程中出现了报错提示:
BEGIN failed--compilation abortes at d:\PROGRA~1\OPENGR~1\Contents\Cygwin\Versions\20A70G~1.3\i686\g2ctl.exe line 260.
请教您,这该怎么解决呢?
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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