1

このgribファイルを読み込もうとしていますが、エラーが発生しました。この問題を解決する方法はありますか

    grib <- readGDAL("C:\\file.grib") 

Error in .local(.Object, ...) : 
  grib is a grib file, but no raster dataset was successfully identified.
4

1 に答える 1

1

Rの問題ではありません。

gdalを使用して、私はこれを持っています:

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をインストールしてみてください。

于 2012-12-13T16:53:29.853 に答える