Terra not working (GDAL error 4) new Sonoma 14.0 update

135 views Asked by At

I updated Mac to Sonoma 14.0 a couple of days ago and Terra stopped working. I tried installing the dev version of terra install.packages('terra', repos='https://rspatial.r-universe.dev') but had no success.

Edit:

This is the error message after I tried to load a .nc file.

Error: [rast] cannot open this file as a SpatRaster: /Users/elocarinista/Research/Weather_HealthPerception/data/tmax.2018.nc
In addition: Warning message:
`/Users/elocarinista/Research/Weather_HealthPerception/data/tmax.2018.nc' not recognized as a supported file format. (GDAL error 4) 
Called from: error(f, x@cpp$getError())

BTW, Installing the terra package does not throw any errors, only when I load an .nc file.

Thanks for any help

0

There are 0 answers