- 积分
- 14719
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2013-10-16
- 最后登录
- 1970-1-1
|
GrADS
系统平台: |
|
问题截图: |
|
问题概况: |
用grads批处理grb文件出错 |
我看过提问的智慧: |
看过 |
自己思考时长(天): |
3 |
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 飘渺居 于 2015-6-29 16:16 编辑
我下载的是GLDAS的2012.6.1-2012.8.31三小时一次(共736个时次)的grb数据。
在grads中运行!grib2ctl file.grb > file.ctl 后报错Undefined parameter table (center 221-221 table 1), using NCEP-opn。但是也能生成ctl文件,用该ctl也能生成相应的idx文件,我不太理解生成的ctl为什么时间为两层,但是画图时只能画2012.05.31日的(即set t 1 时才出图)。后面几个grb文件也是同样只能生成前一时刻的图。而且我把ctl改成批处理后就无法出图了,显示cannot contour grid - all undefined values 。生成的ctl文件及我修改的ctl文件附上,求大神帮忙看看哪里出错了。。
用第一个grb文件生成的ctl如下:
dset D:/data/GLDAS/2012/GLDAS_2012-06-01_00_00.grb
index D:/data/GLDAS/2012/GLDAS_2012-06-01_00_00.grb.idx
undef 9.999E+20
title D:/data/GLDAS/2012/GLDAS_2012-06-01_00_00.grb
* produced by grib2ctl v0.9.12.5p39c
dtype grib 0
ydef 150 linear -59.500000 1
xdef 360 linear -179.500000 1.000000
tdef 2 linear 21Z31may2012 3hr
zdef 1 linear 1 1
vars 28
no4LFTXsfc 0 132,1,0 ** surface Best (4-layer) lifted index [K]
BGRUNsfc 0 234,1,0 ** surface Baseflow-groundwater runoff [kg/m^2]
BVF2sfc 0 138,1,0 ** surface Brunt-Vaisala frequency^2 [1/s^2]
DLWRFsfc 0 205,1,0 ** surface Downward long wave flux [W/m^2]
DSWRFsfc 0 204,1,0 ** surface Downward short wave flux [W/m^2]
EVPsfc 0 57,1,0 ** surface Evaporation [kg/m^2]
GFLUXsfc 0 155,1,0 ** surface Ground heat flux [W/m^2]
LFTXsfc 0 131,1,0 ** surface Surface lifted index [K]
LHTFLsfc 0 121,1,0 ** surface Latent heat flux [W/m^2]
NLWRSsfc 0 112,1,0 ** surface Net long wave (surface) [W/m^2]
NSWRSsfc 0 111,1,0 ** surface Net short wave (surface) [W/m^2]
PRESsfc 0 1,1,0 ** surface Pressure [Pa]
SHTFLsfc 0 122,1,0 ** surface Sensible heat flux [W/m^2]
SNOMsfc 0 99,1,0 ** surface Snow melt [kg/m^2]
SOILM0_1cm 0 86,112,1 ** 0-1 cm underground Soil moisture content [kg/m^2]
SOILM0_2cm 0 86,112,2 ** 0-2 cm underground Soil moisture content [kg/m^2]
SOILM0_3cm 0 86,112,3 ** 0-3 cm underground Soil moisture content [kg/m^2]
SOILM0_4cm 0 86,112,4 ** 0-4 cm underground Soil moisture content [kg/m^2]
SPFHsfc 0 51,1,0 ** surface Specific humidity [kg/kg]
SSRUNsfc 0 235,1,0 ** surface Storm surface runoff [kg/m^2]
TCDCsfc 0 71,1,0 ** surface Total cloud cover [%]
TMPsfc 0 11,1,0 ** surface Temp. [K]
TSOIL0_1cm 0 85,112,1 ** 0-1 cm underground Soil temp. [K]
TSOIL0_2cm 0 85,112,2 ** 0-2 cm underground Soil temp. [K]
TSOIL0_3cm 0 85,112,3 ** 0-3 cm underground Soil temp. [K]
TSOIL0_4cm 0 85,112,4 ** 0-4 cm underground Soil temp. [K]
WEASDsfc 0 65,1,0 ** surface Accum. snow [kg/m^2]
WINDsfc 0 32,1,0 ** surface Wind speed [m/s]
ENDVARS
我修改的批处理的ctl如下:(标红处为改动地方)
dset D:/data/GLDAS/2012/GLDAS_2012-%m2-%d2_%h2_00.grb
options template
index D:/data/GLDAS/GLDAS_2012-3h.idx
undef 9.999E+20
title D:/data/GLDAS_2012-06-01_00_00.grb
* produced by grib2ctl v0.9.12.5p39c
dtype grib 0
ydef 150 linear -59.500000 1
xdef 360 linear -179.500000 1.000000
tdef 737 linear 21Z31may2012 3hr
zdef 1 linear 1 1
vars 28
no4LFTXsfc 0 132,1,0 ** surface Best (4-layer) lifted index [K]
BGRUNsfc 0 234,1,0 ** surface Baseflow-groundwater runoff [kg/m^2]
BVF2sfc 0 138,1,0 ** surface Brunt-Vaisala frequency^2 [1/s^2]
DLWRFsfc 0 205,1,0 ** surface Downward long wave flux [W/m^2]
DSWRFsfc 0 204,1,0 ** surface Downward short wave flux [W/m^2]
EVPsfc 0 57,1,0 ** surface Evaporation [kg/m^2]
GFLUXsfc 0 155,1,0 ** surface Ground heat flux [W/m^2]
LFTXsfc 0 131,1,0 ** surface Surface lifted index [K]
LHTFLsfc 0 121,1,0 ** surface Latent heat flux [W/m^2]
NLWRSsfc 0 112,1,0 ** surface Net long wave (surface) [W/m^2]
NSWRSsfc 0 111,1,0 ** surface Net short wave (surface) [W/m^2]
PRESsfc 0 1,1,0 ** surface Pressure [Pa]
SHTFLsfc 0 122,1,0 ** surface Sensible heat flux [W/m^2]
SNOMsfc 0 99,1,0 ** surface Snow melt [kg/m^2]
SOILM0_1cm 0 86,112,1 ** 0-1 cm underground Soil moisture content [kg/m^2]
SOILM0_2cm 0 86,112,2 ** 0-2 cm underground Soil moisture content [kg/m^2]
SOILM0_3cm 0 86,112,3 ** 0-3 cm underground Soil moisture content [kg/m^2]
SOILM0_4cm 0 86,112,4 ** 0-4 cm underground Soil moisture content [kg/m^2]
SPFHsfc 0 51,1,0 ** surface Specific humidity [kg/kg]
SSRUNsfc 0 235,1,0 ** surface Storm surface runoff [kg/m^2]
TCDCsfc 0 71,1,0 ** surface Total cloud cover [%]
TMPsfc 0 11,1,0 ** surface Temp. [K]
TSOIL0_1cm 0 85,112,1 ** 0-1 cm underground Soil temp. [K]
TSOIL0_2cm 0 85,112,2 ** 0-2 cm underground Soil temp. [K]
TSOIL0_3cm 0 85,112,3 ** 0-3 cm underground Soil temp. [K]
TSOIL0_4cm 0 85,112,4 ** 0-4 cm underground Soil temp. [K]
WEASDsfc 0 65,1,0 ** surface Accum. snow [kg/m^2]
WINDsfc 0 32,1,0 ** surface Wind speed [m/s]
ENDVARS
另外,我下载GLDAS上的数据时发现有grb、grb1和grb2三种格式的,请问有人知道三者的区别吗?谢谢~~
|
|