爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 9143|回复: 6

[其他] 求教NCL处理EC细网格数据方法

[复制链接]

新浪微博达人勋

发表于 2017-6-12 14:03:57 | 显示全部楼层 |阅读模式

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

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

x
求教群里的大神,EC细网格数据用ncl如何处理?我用ncl_filedump提示如下:

QQ图片20170612140919.png
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 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.
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-6-12 15:02:26 | 显示全部楼层
还没人回答,楼主自己解决了还给出了解决办法,感谢分享
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-6-15 20:56:42 | 显示全部楼层
谢谢,受用了
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-12-25 11:48:53 | 显示全部楼层
你好,楼主,打扰了。我用您的方法做了,wgrib2能解码出grib2的。但wgrib在解码的时候报错。请问你遇到这样的问题吗?在线等,感谢
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-12-25 11:53:41 | 显示全部楼层
你好,非常感谢!有几个问题想咨询一下
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-12-29 11:44:20 | 显示全部楼层
你好,楼主,打扰了。我用您的方法做了,wgrib2能解码出grib2的。但wgrib在解码的时候报错。请问你遇到这样的问题吗?在线等,感谢。我的qq的为1376101387.感谢
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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