brshipley / megaSDM

Other
22 stars 3 forks source link

Error in function dispersalRate when I used with 30m '.grd' file #6

Closed PetiteTong closed 1 year ago

PetiteTong commented 1 year ago

----------------20221230-----------

Hi Ben, I met a new error today. Still in 30m data. Error in x@ptr$as_points(values, na.rm, opt) : std::bad_alloc Do you have some advices?

Thanks a lot.

Xiaotong

-------------------20221229-------------

Hi Ben, I have deal with the bug in 1km '.grd' file, and I can get a result withour error. But, when I use 30m file in the same way, there are new error, such as :

error in (function(x)) : attempt to apply non-function
called from : (function(x)
x$.self$finalize())(<enviroment>)

I want which step was error, but wen I use debug, I still cannot find it.

Do you have some advices?

Best wishes,

Xiaotong Shang 2022-12-29

---------------------------------------

Hi Ben, Merry Christmas!

I have resolved this bug, thanks a lot!

Your functions are so nice!

Best wishes,

Xiaotong Shang 2022-12-24