本文介绍了R可以读取grib文件(不是栅格文件时)并将其转换为ASCII文件吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试读取此grib文件,但出现错误.有没有一种方法可以解决此问题
I am trying to read this grib file but I got an error.is there a way we can solve this problem
grib <- readGDAL("C:\\file.grib") Error in .local(.Object, ...) : grib is a grib file, but no raster dataset was successfully identified.推荐答案
这不是R问题.
使用gdal,我有这个:
using gdal, I have this :
gdalinfo --debug on H14_2011010400.grib GRIB: Undefined parameter table (center 98-0 table 228). GRIB: Undefined parameter table (center 98-0 table 228). GRIB: Undefined parameter table (center 98-0 table 228). GRIB: Undefined parameter table (center 98-0 table 228). GRIB: Problems with ReadGrib1Record called by ReadGrib2Record Inside ReadGrib1Record GRIB1 GDS: Expect PV = 255 != 33 ERROR 4: H14_2011010400.grib is a grib file, but no raster dataset was successfully identified. gdalinfo failed - unable to open 'H14_2011010400.grib'.我认为您的grib文件编码错误,请尝试安装wgrib以获得更多信息.
I think that your grib file is wrongly encoded, tryu to install wgrib to get more info.
更多推荐
R可以读取grib文件(不是栅格文件时)并将其转换为ASCII文件吗?
发布评论