R可以读取grib文件(不是栅格文件时)并将其转换为ASCII文件吗?

编程入门 行业动态 更新时间:2024-10-26 18:28:51
本文介绍了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文件吗?

本文发布于:2023-10-13 09:37:18,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1487586.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件   栅格   转换为   并将其   grib

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!