爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 4967|回复: 9

[分享资料] GRADS批处理

[复制链接]

新浪微博达人勋

发表于 2014-3-24 18:56:25 | 显示全部楼层 |阅读模式

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

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

x
求教:grads批处理时,前8个可以,到后面的索引文件都出现这样的错误:是什么原因?grib2map: scanning GRIB2 file: E:/gmf.639.2012050112.grb2 grib2map: scanning GRIB2 file: E:/gmf.639.2012050115.grb2
grib2map: scanning GRIB2 file: E:/gmf.639.2012050118.grb2
grib2map: scanning GRIB2 file: E:/gmf.639.2012050121.grb2
grib2map: scanning GRIB2 file: E:/gmf.639.2012050200.grb2
grib2map: scanning GRIB2 file: E:/gmf.639.2012050203.grb2
grib2map: scanning GRIB2 file: E:/gmf.639.2012050206.grb2
grib2map: scanning GRIB2 file: E:/gmf.639.2012050209.grb2 (这8个正常)
grib2map: scanning GRIB2 file: E:/gmf.639.2012050212.grb2(从这个开始出错)
valid time 2012050300:00 (t=13) is outside grid limitsvalid time 2012050300:00 (t=13) is outside grid limitsvalid time


数据文件名:gmf.639.2012050112.grb2,...,gmf.639.2012050215.grb2(间隔3小时)

描述文件如下:
dset E:/gmf.639.201205%d2%h2.grb2
options template
index E:/gmf.639.2012050112.grb2.idx
undef 9.999E+20
title E:/gmf.639.201205%d2%h2.grb2
*  produced by g2ctl v0.0.3d
* griddef=1:0:(641 x 321):grid_template=0: lat-lon grid:(641 x 321) units 1e-006 input WE:NS output WE:SN res 48 lat 90.000099 to 0.000099 by 0.281250 lon 0.000099 to 180.000099 by 0.281250 #points=205761

dtype grib2
ydef 321 linear 0.000099 0.28125
xdef 641 linear 0.000099 0.281250
tdef 9 linear 12Z01may2012 3hr
*  z has 17 levels -prs
zdef 17 levels 100000 92500 85000 70000 60000 50000 40000 30000 25000 20000 15000 10000 7000 5000 3000 2000 1000
options pascals
vars 23
HGTsfc  0,1,0   0,3,5 ** surface none Geopotential Height [gpm]
HGTprs   17,100  0,3,5 ** (1000 925 850 700 600 500 400 300 250 200 150 100 70 50 30 20 10) none Geopotential Height [gpm]
LANDsfc  0,1,0   2,0,0 ** surface none Land Cover (1=land, 0=sea) [Proportion]
PRESsfc  0,1,0   0,3,0 ** surface none Pressure [Pa]
PRMSLmsl  0,101,0   0,3,1 ** mean sea level none Pressure Reduced to MSL [Pa]
RHprs   17,100  0,1,1 ** (1000 925 850 700 600 500 400 300 250 200 150 100 70 50 30 20 10) none Relative Humidity [%]
RH2m  0,103,2   0,1,1 ** 2 m above ground none Relative Humidity [%]
SPFHprs   17,100  0,1,0 ** (1000 925 850 700 600 500 400 300 250 200 150 100 70 50 30 20 10) none Specific Humidity [kg/kg]
SPFH0_7cm 0,106,0,0.07   0,1,0 ** 0-0.07 m below ground none Specific Humidity [kg/kg]
SPFH7_28cm 0,106,0.07,0.28   0,1,0 ** 0.07-0.28 m below ground none Specific Humidity [kg/kg]
SPFH28_100cm 0,106,0.28,1   0,1,0 ** 0.28-1 m below ground none Specific Humidity [kg/kg]
SPFH100_255cm 0,106,1,2.55   0,1,0 ** 1-2.55 m below ground none Specific Humidity [kg/kg]
TMPsfc  0,1,0   0,0,0 ** surface none Temperature [K]
TMPprs   17,100  0,0,0 ** (1000 925 850 700 600 500 400 300 250 200 150 100 70 50 30 20 10) none Temperature [K]
TMP2m  0,103,2   0,0,0 ** 2 m above ground none Temperature [K]
TMP0_7cm 0,106,0,0.07   0,0,0 ** 0-0.07 m below ground none Temperature [K]
TMP7_28cm 0,106,0.07,0.28   0,0,0 ** 0.07-0.28 m below ground none Temperature [K]
TMP28_100cm 0,106,0.28,1   0,0,0 ** 0.28-1 m below ground none Temperature [K]
TMP100_255cm 0,106,1,2.55   0,0,0 ** 1-2.55 m below ground none Temperature [K]
UGRDprs   17,100  0,2,2 ** (1000 925 850 700 600 500 400 300 250 200 150 100 70 50 30 20 10) 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]
VGRDprs   17,100  0,2,3 ** (1000 925 850 700 600 500 400 300 250 200 150 100 70 50 30 20 10) 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]
ENDVARS



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

新浪微博达人勋

发表于 2014-3-24 19:30:12 | 显示全部楼层
tdef 9 linear 12Z01may2012 3hr
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2014-3-24 19:38:37 | 显示全部楼层
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2014-3-24 20:00:00 | 显示全部楼层
9个时间间隔最后一个是不是set t 10?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2014-3-24 20:00:36 | 显示全部楼层

grads批处理

求教:grads批处理时,前8个可以,到后面的索引文件都出现这样的错误:是什么原因?grib2map: scanning GRIB2 file: E:/gmf.639.2012050112.grb2 grib2map: scanning GRIB2 file: E:/gmf.639.2012050115.grb2
grib2map: scanning GRIB2 file: E:/gmf.639.2012050118.grb2
grib2map: scanning GRIB2 file: E:/gmf.639.2012050121.grb2
grib2map: scanning GRIB2 file: E:/gmf.639.2012050200.grb2
grib2map: scanning GRIB2 file: E:/gmf.639.2012050203.grb2
grib2map: scanning GRIB2 file: E:/gmf.639.2012050206.grb2
grib2map: scanning GRIB2 file: E:/gmf.639.2012050209.grb2 (这8个正常)
grib2map: scanning GRIB2 file: E:/gmf.639.2012050212.grb2(从这个开始出错)
valid time 2012050300:00 (t=13) is outside grid limitsvalid time 2012050300:00 (t=13) is outside grid limitsvalid time


数据文件名:gmf.639.2012050112.grb2,...,gmf.639.2012050215.grb2(间隔3小时)

描述文件前段如下:
dset E:/gmf.639.201205%d2%h2.grb2
options template
index E:/gmf.639.2012050112.grb2.idx
undef 9.999E+20
title E:/gmf.639.201205%d2%h2.grb2
*  produced by g2ctl v0.0.3d
* griddef=1:0:(641 x 321):grid_template=0: lat-lon grid:(641 x 321) units 1e-006 input WE:NS output WE:SN res 48 lat 90.000099 to 0.000099 by 0.281250 lon 0.000099 to 180.000099 by 0.281250 #points=205761

dtype grib2
ydef 321 linear 0.000099 0.28125
xdef 641 linear 0.000099 0.281250
tdef 9 linear 12Z01may2012 3hr

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

新浪微博达人勋

 楼主| 发表于 2014-3-24 20:03:31 | 显示全部楼层
chengwei06am 发表于 2014-3-24 20:00
9个时间间隔最后一个是不是set t 10?

我试过了,还是不行。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2014-3-24 20:16:35 | 显示全部楼层
按2楼改成tdef 10 linear 12Z01may2012 3hr  也不行吗   参考兰溪帖子,不行换个批处理方法http://bbs.06climate.com/forum.php?mod=viewthread&tid=6226
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2014-3-24 21:46:29 | 显示全部楼层
chengwei06am 发表于 2014-3-24 20:16
按2楼改成tdef 10 linear 12Z01may2012 3hr  也不行吗   参考兰溪帖子,不行换个批处理方法http://bbs.06cl ...

我试了另一种方法,还是不行。显示错误:error while dumpling state<probably corrupted stack>
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-8-1 23:07:56 | 显示全部楼层
最后做出来了吗?怎么解决问题的?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2016-9-13 15:03:00 | 显示全部楼层
txxrk 发表于 2016-8-1 23:07
最后做出来了吗?怎么解决问题的?

不好意思,时间太久了,忘记当时怎么处理的了。
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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