Closed lime-n closed 4 years ago
Not sure exactly what's going on here, I suspect there's an issue with your projection not being suitable for your data, e.g. maybe you're using an Australian projection but have data from far outside the boundary of Australia.
I found that when reloading the raster prediction-surface.tif
, after opening up a new R session, a similar error will usually be returned. Not sure if the error has any impact at all, but it does mention discarded datum
, to avoid this you would have to run the covariates analysis and then jump onto the other chapters without restarting the R session.
So far I haven't had it impact the following codes if R is restarted or not, and whether the error appears.
It would be nice to know why the error appears though.
These errors are related to some big changes in the spatial R packages and the open source spatial libraries that underlie them, e.g. PROJ. I don't understand the issues exactly, but I've found these issues can generally be ignored. In any case, they're not related the eBird Best Practices and these issues would be better raised on the spatial R forums or the packages that are raising the errors, raster
etc.
I am trying to get this code to work with CRS projected to EPSG:3577. Because the EPSG:102003 which was previously used for
st_crs()
for the dataset, my raster is of Australia so I presumed shifting the crs to an Australian coordinate system would work, I was mistaken. Any ideas?I get this error