- 积分
- 11
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2017-3-22
- 最后登录
- 1970-1-1
|
发表于 2017-4-6 16:45:07
|
显示全部楼层
你好。我现在也面临着这个问题。
首先从EC下载到了文件名类似“W_NAFP_C_ECMF_20170405185811_P_C1D04051200041512001.bz2”的文件
然后,用bzip2 -d 把该文件解压为W_NAFP_C_ECMF_20170405185811_P_C1D04051200041512001文件
之后用
grib_set -r -s packingType=grid_simple W_NAFP_C_ECMF_20170405200915_P_C3E04051200042012001-ACHN W_NAFP_C_ECMF_20170405200915_P_C3E04051200042012001-ACHN.grib
将其解压,解压过程中未提示错误。
但是,在ncl_filedump W_NAFP_C_ECMF_20170405200915_P_C3E04051200042012001-ACHN.grib
时返回如下信息:
Copyright (C) 1995-2013 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.1.2
The use of this software is governed by a License Agreement.
See http://www.ncl.ucar.edu/ for more details.
g2_info: can only decode GRIB edition 2.fatal:Could not extend memory for GRIB v2 data.
fatal:Could not open (../test.grib)
Variable: f
Type: file
(0) File Missing Value : -1
请问你知道问题出在哪里了吗? |
|