Generating background points

14 views
Skip to first unread message

Jordan Engelbrecht

unread,
Jul 17, 2024, 11:18:01 AM (10 days ago) Jul 17
to Wallace Ecological Modeling App
Good day, 

I am modelling the historical and future distribution of the African leopard for my Honours degree at Stellenbosch University. I have 1890 location records for this species. I am trying to generate 10 000 background points but sit for hours with no progress. The screen does not go grey as in some instances. 

R shows this output code: 
Listening on http://127.0.0.1:5779 Registered S3 methods overwritten by 'adehabitatMA': method from print.SpatialPixelsDataFrame sp print.SpatialPixels sp

Has anyone experienced the same issue? I
Any advice would be greatly appreciated. 
Thank you 

Jordan Engelbrecht

unread,
Jul 17, 2024, 11:40:47 AM (10 days ago) Jul 17
to Wallace Ecological Modeling App
Update: Managed to generate the background points after a few hours. Then tried to model their distribution and got this error after several minutes: 
Of 12 total cores using 10... Running in parallel using doSNOW... |===============================================================================| 100%Warning: Error in {: task 1 failed - "error in evaluating the argument 'x' in selecting a method for function 'as.data.frame': cannot allocate vector of size 4.5 Gb" 2: shiny::runApp 1: run_wallace
Does anyone know what this means?

Wallace Ecological Modeling App

unread,
Jul 17, 2024, 12:01:39 PM (10 days ago) Jul 17
to Wallace Ecological Modeling App

First, for anyone else having issues with background points generating:
If the screen has not greyed out, and there is no error printed in the R console, then Wallace is still running. It may take a few moments to generate background points, but be sure:
1. You have pressed the grey 'Sample' button.
2. If there is a warning or message in the Wallace log window.
It's possible the warning ("Please, check Log window for more information") was blocked by a pop-up blocker from your browser, but there may be a message in the log window. Something along the lines of "Number of requested background points (n = ...) is higher than the maximum points available on the background extent (n = ...). Please reduce the number of requested points." in which case you just need to reduce the number of requested points. This number will be based on the resolution of your env data.

For your second issue, it seems your computer's memory can't handle the operation you are trying to perform ( over 4.5 Gb). Either you're trying to do something overly complex, you've set the cores too low, or it could be a number of things. It is hard to say without knowing exactly what you're doing. 

Bethany
The Wallace Team
Reply all
Reply to author
Forward
0 new messages