- 积分
- 230
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2015-6-28
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
刚到北京导师布置的第一个任务。。问了师兄师姐都没解决,最后只好求教论坛 资料是国家气象中心的复杂压缩文件解压缩后得到的
用了兰溪的方法用grib2ctl和 gribmap都成功生成了ctl和索引文件,(没有报错,但是索引文件的TXT有很多行不match)但是画图永远出不来,找了很多原因觉得是CTL没有做修改的原因,可是改过几个细节也都不对,也不知如何修改这自动生成的CTL。。真心求教各位师兄师姐...
CTL如下:
dset d:/xzz/2016050100/W_NAFP_C_ECMF_20160501104805_P_C3Y05010000051100001.grib
index d:/xzz/2016050100/W_NAFP_C_ECMF_20160501104805_P_C3Y05010000051100001.grib.idx
undef 9.999E+20
title d:/xzz/2016050100/W_NAFP_C_ECMF_20160501104805_P_C3Y05010000051100001.grib
* produced by grib2ctl v0.9.12.5p39c
dtype grib 255
options yrev
ydef 181 linear -90.000000 1
xdef 360 linear 0.000000 1.000000
tdef 1 linear 00Z01may2016 1mo
zdef 1 linear 1 1
vars 13
no10FGIsfc 0 49,1,0 ** surface 10 metre wind gust index [(-1 to 1)]
no10WSIsfc 0 165,1,0 ** surface 10 metre speed index [(-1 to 1)]
no2TIsfc 0 167,1,0 ** surface 2 metre temperature index [(-1 to 1)]
GH500mb 0 156,100,500 ** 500 mb Height [gpm]
MN2TIsfc 0 202,1,0 ** surface Minimum temperature at 2 metres index [(-1 to 1)]
MX2TIsfc 0 201,1,0 ** surface Maximum temperature at 2 metres index [(-1 to 1)]
SFIsfc 0 144,1,0 ** surface Snowfall index [(-1 to 1)]
T850mb 0 130,100,850 ** 850 mb Temperature [K]
TAG4K850mb 0 24,100,850 ** 850 mb Temperature anomaly greater than +4 K [%]
TAG8K850mb 0 25,100,850 ** 850 mb Temperature anomaly greater than +8 K [%]
TALM4K850mb 0 23,100,850 ** 850 mb Temperature anomaly less than -4 K [%]
TALM8K850mb 0 22,100,850 ** 850 mb Temperature anomaly less than -8 K [%]
TPIsfc 0 228,1,0 ** surface Total precipitation index [(-1 to 1)]
ENDVARS
表示索引过程的TXT:(没贴完整,后面还有很多不match..)
grib1map: opening GRIB file: d:/xzz/2016050100/W_NAFP_C_ECMF_20160501104805_P_C3Y05010000051100001.grib
!!!!! MATCH: 1 65274 255 1 0 22 100 850 109 0 8 btim: 2016050100:00 tau: 96 dtim: 2016050500:00
!!!!! MATCH: 2 130548 255 1 0 23 100 850 65383 0 8 btim: 2016050100:00 tau: 120 dtim: 2016050600:00
!!!!! MATCH: 3 195822 255 1 0 25 100 850 130657 0 8 btim: 2016050100:00 tau: 144 dtim: 2016050700:00
GRIB grid size does not match descriptor: 4 975744 255 1 0 156 100 500 195979 0 12 btim: 2016050100:00 tau: 12 dtim: 2016050112:00
GRIB grid size does not match descriptor: 5 1755666 255 1 0 156 100 500 975901 0 12 btim: 2016050100:00 tau: 114 dtim: 2016050518:00
GRIB grid size does not match descriptor: 6 2535588 255 1 0 156 100 500 1755823 0 12 btim: 2016050100:00 tau: 168 dtim: 2016050800:00
GRIB grid size does not match descriptor: 7 3315510 255 1 0 156 100 500 2535745 0 12 btim: 2016050100:00 tau: 216 dtim: 2016051000:00
GRIB grid size does not match descriptor: 8 4873006 255 1 0 49 1 0 3315641 0 12 btim: 2016050100:00 tau: 48 dtim: 2016050300:00
GRIB grid size does not match descriptor: 9 6430502 255 1 0 144 1 0 4873137 0 12 btim: 2016050100:00 tau: 120 dtim: 2016050600:00
GRIB grid size does not match descriptor: 10 7987998 255 1 0 49 1 0 6430633 0 12 btim: 2016050100:00 tau: 168 dtim: 2016050800:00
GRIB grid size does not match descriptor: 11 9545494 255 1 0 165 1 0 7988129 0 12 btim: 2016050100:00 tau: 24 dtim: 2016050200:00
GRIB grid size does not match descriptor: 12 11102990 255 1 0 165 1 0 9545625 0 12 btim: 2016050100:00 tau: 48 dtim: 2016050300:00
GRIB grid size does not match descriptor: 13 12660486 255 1 0 167 1 0 11103121 0 12 btim: 2016050100:00 tau: 96 dtim: 2016050500:00
GRIB grid size does not match descriptor: 14 14217982 255 1 0 167 1 0 12660617 0 12 btim: 2016050100:00 tau: 96 dtim: 2016050500:00
GRIB grid size does not match descriptor: 15 15775478 255 1 0 165 1 0 14218113 0 12 btim: 2016050100:00 tau: 240 dtim: 2016051100:00
!!!!! MATCH: 16 15840752 255 1 0 23 100 850 15775587 0 8 btim: 2016050100:00 tau: 96 dtim: 2016050500:00
!!!!! MATCH: 17 15906026 255 1 0 24 100 850 15840861 0 8 btim: 2016050100:00 tau: 144 dtim: 2016050700:00
GRIB grid size does not match descriptor: 18 16685948 255 1 0 156 100 500 15906183 0 12 btim: 2016050100:00 tau: 72 dtim: 2016050400:00
GRIB grid size does not match descriptor: 19 17465870 255 1 0 156 100 500 16686105 0 12 btim: 2016050100:00 tau: 192 dtim: 2016050900:00
GRIB grid size does not match descriptor: 20 18245792 255 1 0 156 100 500 17466027 0 12 btim: 2016050100:00 tau: 198 dtim: 2016050906:00
GRIB grid size does not match descriptor: 21 19025714 255 1 0 156 100 500 18245949 0 12 btim: 2016050100:00 tau: 228 dtim: 2016051012:00
无论用不用GS还是直接d 变量,图片都是undefined....
|
|