-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Hi,
I updated my MacBook to Big Sur and now runGdal not work.
The package sf have some problems with installation under Big Sur. I followed the instructions on this issue (r-spatial/sf#1536) to install the sf and worked for me. I installed MODIS via devtools::install_github("MatMatt/MODIS", ref = "develop").
I also checked if I had GDAL installed with HDF4 support (https://cornelllabofornithology.github.io/ebird-best-practices/covariates.html#covariates-dl). It looks ok.
In terminal:
gdal-config --formats
"derived gtiff hfa mem vrt aaigrid adrg aigrid airsar arg blx bmp bsb cals ceos ceos2 coasp cosar ctg dimap dted e00grid elas envisat ers fit gff gsg gxf hf2 idrisi ignfheightasciigrid ilwis ingr iris iso8211 jaxapalsar jdem kmlsuperoverlay l1b leveller map mrf msgn ngsgeoid nitf northwood pds prf r raw rmf rs2 safe saga sdts sentinel2 sgi sigdem srtmhgt terragen til tsx usgsdem xpm xyz zmap rik ozi grib eeda plmosaic rda wcs wms wmts daas rasterlite mbtiles pdf webp epsilon dods openjpeg jpeg2000 netcdf hdf5 hdf4 gif jpeg png pcraster fits pcidsk postgisraster"
In R:
library(sf)
"Linking to GEOS 3.8.1, GDAL 3.2.0, PROJ 6.3.2"
library(MODIS)
"ok"
MODIS:::checkTools("GDAL")
"Checking availability of GDAL:
OK, GDAL 3.2.0 found!"
However, then I try rum runGdal show the following:
MODIS:::runGdal(...)
"GDAL not installed or configured, read in '?MODISoptions' for help"
MODIS:::checkHdf4Driver()
"HDF4 driver seems to be lacking, please install GDAL with HDF4 support."
Is there any way to fix this?
Best, Vanderlei