Closed Jean-Romain closed 2 years ago
After reproducing with data of mine I get
Error : external pointer is not valid
Which is likely to be very similar to your error. SpatRaster
are not serializable and I think this is what caused the error. However I do not have error with sequential processing because only one worker is implied and no serialization is involved. Are you sure you really disabled plan(multissesion)
. Did you start a fresh session or reset the strategy with plan(sequential)
?
Edit: in another run I also go Error : NULL value passed as symbol address
(with multisession
)
Side note: plan(multisession)
and s/get_lidr_threads()
are doing very different things.
Fixed with a workaround. If user is using a parallel strategy SpatRaster
are converted to RasterLayer
. There is not way to work with SpatRaster
Fixed with a workaround. If user is using a parallel strategy
SpatRaster
are converted toRasterLayer
. There is not way to work withSpatRaster
Hi, I'm currently experiencing the same issue when attempting to normalize height and I don't quite understand this work around. Do you mind explaining in a little more depth?
Thanks!
Discussed in https://github.com/r-lidar/lidR/discussions/579