Skip to content

Background point generation- non-comformable arrays #23

@lfraser1

Description

@lfraser1

Describe the bug
Fails during stage 4 background point generation.

To Reproduce
Steps to reproduce the behavior:
I've submitted my library to Katie for clearer error understanding. In the scenario, I submitted only occurrence points for the Field Data sheet and asked it to generate 1,000 background points using the KDE method with a continuous surface.

Expected behavior
I expected it to generate background points for use in modeling.

Relevant log output

Conda installation: C:\Users\lfraser\AppData\Local\SyncroSim Studio\Conda
Conda environment: C:\Users\lfraser\AppData\Local\SyncroSim Studio\Conda\envs\wisdm-1\wisdm-conda-s3
4 - Background Data Generation => Total time: 00:03:35
[Failure] The external program failed.
Program name was: C:\Users\lfraser\AppData\Local\SyncroSim Studio\Conda\envs\wisdm-1\wisdm-conda-s3\Scripts\Rscript.exe
Arguments were: "C:\Users\lfraser\AppData\Local\SyncroSim Studio\Packages\wisdm\2.1.2\4-background-data-generation.R"
Exit code was: 1
More information:
terra 1.5.21
Attaching package: 'terra'
The following object is masked from 'package:rsyncrosim':
project
Attaching package: 'tidyr'
The following object is masked from 'package:terra':
extract
Attaching package: 'dplyr'
The following objects are masked from 'package:terra':
intersect, src, union
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Attaching package: 'pander'
The following object is masked from 'package:terra':
wrap
Saved
Registered S3 methods overwritten by 'adehabitatMA':
method from
print.SpatialPixelsDataFrame sp
print.SpatialPixels sp
=====|====|====|====|====|====|====|====|====|====

Error in mi * matPts : non-conformable arrays
In addition: Warning message:
In matrix(values(x, mat = FALSE), nrow = nrow(x), byrow = TRUE) :
data length [352712810] is not a sub-multiple or multiple of the number of rows [12187]
Execution halted


SIMULATION COMPLETE: 10/29/2024 : 10:47:57 AM

Total simulation time: 00:04:13

Software versions:

  • SyncroSim: 3.0.9
  • WISDM 2.1.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions