Robert Hijmans

Results 221 comments of Robert Hijmans

The arguments do not work because they do not exist (see the manual for `plet`). It would be nice to have them, of course.

Thanks, I do not think these two issues ("SpatVector ignoring z-values" and "crs transformation error") are in any way related

@dimfalk, yes this would have been good for a new issue.

Thanks for bringing this to my attention. "raster" does not use GDAL to read NetCDF files (it uses the ncdf library directly, via the ncdf4 package). "terra" uses GDAL and...

If RAM is not limiting you could create a RasterBrick, load that into memory, and then coerce it into a SpatRaster. If, instead, you would read the SpatRaster values into...

Can you confirm that the below are the relevant steps in your script to get to the error? Here I am using a SpatRaster with no cell values, so the...

I do think the difference you see is due to ties. I do not see a difference when using `ties='lowest'` ``` library(raster) library(terra) r1

Thanks, I overlooked that one, the terra method now also returns NAs (not zeros) for cells where there are no values.

I think I fixed that with this https://github.com/rspatial/terra/commit/9a9c3e7504afafecf9b006cca6a0b01dd881c0ba

Sorry for not responding earlier. I have not had much time lately; and that will continue for a little while.