- 积分
- 1421
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-3-11
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2017-6-12 14:26:54
|
显示全部楼层
已解决!EC细网格数据为GRIB1和GRIB2混合格式,需要重新解码!引用NCL-TALK原文,希望能给大家提供参考!
This is a known issue with NCL's GRIB reader. It currently cannot handle
these mixed GRIB 1 and 2 files. We have a ticket in place for this and we
do hope to solve it. If you want NCL to read the data in these files now
you will need to separately extract the GRIB1 and GRIB2 records into
separate files. I believe that you could do this either using the ECMWF
grib_api tool, or you could use the NCEP tools wgrib and wgrib2. wgrib.
Using wgrib and wgrib2 is pretty simple:
wgrib2 EL13040712 -grib grib2.grb
wgrib EL13040712 -grib -d all -o grib1.grb
produced files grib1.grb and grib2.grb that work fine with NCL.
ECMWF has something called grib_copy (
http://old.ecmwf.int/publications/manuals/grib_api/grib_copy.html) that is
also supposed to be easy to use.
|
|