下午好;
我目前正在使用此处.grib
找到的.grib2
文件格式。我想在 R 中分析这些数据,并通过使用我“应该”能够做到的rgdal包。当我运行时:
readGDAL("test.grib2")
我收到以下错误:
dec_jpeg2000: Unable to open JPEG2000 image within GRIB file.
Is the JPEG2000 driver available?test.grib2 has GDAL driver GRIB
and has 751 rows and 1500 columns
Error in validityMethod(as(object, superClass)) :
Geographical CRS given to non-conformant data: 539.88 -90.12 90.12
这让我相信 JPEG200 驱动程序是我的问题,它没有出现在gdalDrivers()
其中,我很好奇是否有办法手动安装此驱动程序。
在GDAL 站点上注意到JPEG2000 驱动程序依赖于libjasper
,并已下载到源驱动程序文件。如何将这些驱动程序合并到我的 rgdal 包中以供使用?
干杯